Posted By:
Adnan_Umar
Posted On:
Friday, June 20, 2003 07:50 AM
I need someone to comment on this statment, as in, is the statement correct or incorrect (if so, then why...) and answer the questions...... "All validation of an XML document agaisnt a DTD or XML Schema occurs at the time of parsing. Parsing is done using a SAX Parser which has the primary responsibility for validation. In the case of DOM, parsing is still done with a SAX Parser, and a DOM tree is populated. Validation is optional." ...... Question 1 : Once a DOM tree is created, is it possible to validate the entire tree or a section of it against a DTD or XML Schema?...... Question 2: Are there any tools available that would validate a section of a DOM Tree (without converting to XML Document) against a XML
More>>
I need someone to comment on this statment, as in, is the statement correct or incorrect (if so, then why...) and answer the questions......
"All validation of an XML document agaisnt a DTD or XML Schema occurs at the time of parsing. Parsing is done using a SAX Parser which has the primary responsibility for validation. In the case of DOM, parsing is still done with a SAX Parser, and a DOM tree is populated. Validation is optional." ......
Question 1 : Once a DOM tree is created, is it possible to validate the entire tree or a section of it against a DTD or XML Schema?......
Question 2: Are there any tools available that would validate a section of a DOM Tree (without converting to XML Document) against a XML Schema or DTD?......
Thanks!
<<Less