OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Can a DTD itself be validated

[ Lists Home | Date Index | Thread Index ]

>  Can a DTD/schema be validated.

Validation is basically the checking of an XML document against a DTD to
make sure that the document conforms to all of the rules laid out in the
DTD. Because a DTD is not represented as an XML document, it cannot be
validated. Schema languages do represent document structure using XML
documents, and there are DTDs out there so that some schemas can have their
structure checked using a DTD. The W3C Schema language has a non-normative
DTD for schemas at http://www.w3.org/TR/xmlschema-1/#nonnormative-schemaDTD,
and I did one for Relax NG that you can find at http://www.snee.com/xml/.

Bob DuCharme            www.snee.com/bob         <bob@  
snee.com>  see http://www.snee.com/bob/xsltquickly for
info on book "XSLT Quickly" from Manning Publications.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS