Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Extending the XHTML transitional XSD

From: Helio Miranda <heliomx@-----.--->
To: NULL
Date: 9/14/2006 9:31:00 PM

Hi,

This post was very useful. I've been having a look-alike trouble that
maybe you could help. I've extended some XHTML tags to add an form
validation functionality in the client side (implemented with javascript
). I’ve created a set of attributes that indicates what kind of
validation check is needed for the form field before it was submitted to
the server. Like this:

<input type="text" v:type="email" />
<input type="text" v:type="name" />

Then a javascript function processes all the tags and validates the form
accordingly to the v:type attribute. 

Everything was fine. All the modern desktop browsers supported the
extension, but that’s not enough for the project I’ve been working on.
The code must be validated by some XHTML validators around the web. The
code validation is required for "quality of the product" reasons. These
validators were complaining about the invalid/unspecified attribute used
in the <input /> tag.

So I’ve created a Schema for the "v" namespace. The problem is: I've
tried to extend the XHTML specification and turn the code into a valid
XML document (the input tag must be expecting a possible v:type
attribute occurrence) . I found it was a hard task to conclude.

So, can you give me suggestions of a painless way for doing it? And what
validation engines support such schema extension?

Thanks!


*** Sent via Developersdex http://www.developersdex.com ***


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent