On Fri, 27 Apr 2001 [EMAIL PROTECTED] wrote: > Someone should probably add this question to the general faq some day... > While Xerces is validating an instance document, it will also check the > corresponding schema to make sure it's valid; Xerces doesn't use > datatypes.xsd et al to do this because it can do it more efficiently > in-house, as it were. > > So if you want to validate your schema, the easiest thing to do is to write > up a trivial valid instance document and run it through the parser. > > Now you are right, of course, that any valid schema is an instance of the > schemas you cited, and Xerces should be able to handle it.
Though not every document which is an instance of those schemas is a valid schema. There is more to checking whether a schema is valid than simply checking it against the schema for schemas. Ian -- Ian Roberts, Software Engineer DecisionSoft Ltd. Telephone: +44-1865-203192 http://www.decisionsoft.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
