Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Q: XSD validation Q: XSD validationTo: NULL Date: 3/1/2005 8:17:00 PM I am switching from DTD validation to Schema due to its richness. It was my understanding that a Schema could be used to also specify criterias of elements/attributtes such that e.g. only positive integers are accepted. XSD: <xsd:element name="RowSpec"> <xsd:complexType> <xsd:attribute name="Iterations" type="xsd:positiveInteger"/> ... XML: <RowSpec Iterations="-1"> However, it seems my toolkit (Oracle DOM parser) is not complaining over the negative value above. Did I misunderstand something, are W3X types not part of the default validation process? Regards, Casper | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
