|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Identifying XML Document Types (was XML media types revisited)
At 04:24 PM 1/15/99 -0500, Simon St.Laurent wrote: >Schemas may be a good answer (if they kill the internal subset escape >hatch), combining an assertion about document type with a way to check it. >Is there any comparable 'architecture validation' process? Or are they >just assertions? Yes--validation of a document against its architectural DTD (a component of the overall architecture definition) is defined and is, not surprisingly, just like normal SGML/XML validation. Validation against the other (non-SGML/XML) components of the architecture definition is not defined by the architecture standard, so at that point you're where you would be with other schema mechanisms). >The only (obvious, anyway) flaw with these options are the need to load the >document before you know if it's worth processing - but that may be seen as >more a flaw of today's limited filesystems and transfer protocols, I suppose. You only have to scan the document for the declaration, you don't have to process the whole thing. In the architecture PI spec, we explicitly require that the PI occur before the document instance for this very reason. It's really no different from "magic numbers" in graphics files or the XML character set declaration--you have to have a little bootstrapping knowledge. Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 75202. 214.953.0004 www.isogen.com </Address> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








