Divya Alice George
Usenet Archive
- Joined
- Oct 10, 2003
- Messages
- 1
- Reaction score
- 0
Dear Sir,
My problem is that i am required to validate a given schema against the standard DTDs provided by w3.org- namely xmlschema.dtd and datatypes.dtd. Presently, I load the given schema into an ActiveXObject and use the function validate. The function validate does some sort of validation of the given schema aginst the standard dtds mentioned above and throws error in case the validation fails. But there are many cases which this function validate does not check for .. like for example, the function does not check whether the value of the maxOccurs attribute is always greater than or equal to the minOccurs attribute. Similarly there are many issues that the function validate does not address. I would like to know whether there is any available function which checks for all the cases and decides if the schema conforms to the standard dtds provided by w3.org. or are we supposed to create our own functions to check for these extra cases not addressed by function validate. I would greatly appreciate it if you could mail me the answer to this query. Thankyou. regards, Divya Alice George
My problem is that i am required to validate a given schema against the standard DTDs provided by w3.org- namely xmlschema.dtd and datatypes.dtd. Presently, I load the given schema into an ActiveXObject and use the function validate. The function validate does some sort of validation of the given schema aginst the standard dtds mentioned above and throws error in case the validation fails. But there are many cases which this function validate does not check for .. like for example, the function does not check whether the value of the maxOccurs attribute is always greater than or equal to the minOccurs attribute. Similarly there are many issues that the function validate does not address. I would like to know whether there is any available function which checks for all the cases and decides if the schema conforms to the standard dtds provided by w3.org. or are we supposed to create our own functions to check for these extra cases not addressed by function validate. I would greatly appreciate it if you could mail me the answer to this query. Thankyou. regards, Divya Alice George