[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Namespaces and Validating XML Parsers Question

  • From: Andrew Layman <andrewl@m...>
  • To: xml-dev@i...
  • Date: Mon, 3 Jan 2000 11:19:46 -0800

validating xml parsers
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.