[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Namespaces and Validating XML Parsers Question
The namespaces specification does not provide any particular means to associate a namespace with any defining or collateral documents (e.g. schemas). It only provides a means to map qualified name prefixes to URIs, thereby allowing names to be unique. The specification leaves it up to other facilities to actually associate those unique names with related documents. One such facility is the XML Schemas specification, which contains a mechanism by which an author can associate a schema with a namespace. -----Original Message----- From: Bruce D. Nilo [mailto:bruce@n...] Sent: Thursday, December 30, 1999 7:00 PM To: xml-dev@i... Subject: Namespaces and Validating XML Parsers Question Apologies if this is a well understood question. I am recently slogging through the XML specs and tools and have not really found anything that sheds light on this question. I hope the answer is a simple one. I believe I understand the rationale and syntax of namespaces for XML application instances. However I can find nowhere any explanation as to how a validating parser knows how to associate an element or attribute that is in a specific namespace with the elements and attributes of either an external or internal DTD reference. Am I missing something here, or is the specification punting entirely on the issue? It seems to me that either the application instance must associate a namespace declaration with a specific DTD or the DTD itself must declare its name. If this is not the case the XML parser has a difficult job determining how to interpret the names in a namespace with those of a number of referenced DTDs which have name collisions. - Bruce 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/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...) 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/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe 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
|