InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
I Have Written A Schema And I Want To Use Xerces To Validate It. How Do I Do This? |
|
Answer» The best way to solve this PROBLEM is to write a simple, valid instance document and use one of the sample PROGRAMS that ACCOMPANIES Xerces (such as sax.SAXCount or dom.DOMCount) to validate the instance document. While validating the instance document, Xerces will simultaneously validate the corresponding schema. We HOPE to introduce FUNCTIONALITY to permit schemas to be validated independently of instance documents in Xerces2. The best way to solve this problem is to write a simple, valid instance document and use one of the sample programs that accompanies Xerces (such as sax.SAXCount or dom.DOMCount) to validate the instance document. While validating the instance document, Xerces will simultaneously validate the corresponding schema. We hope to introduce functionality to permit schemas to be validated independently of instance documents in Xerces2. |
|