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

xmlns::#FIXED [Re: Problems validating the W3C schema DTD's]

  • From: james anderson <James.Anderson@m...>
  • To: "xml-dev Mailing List (E-mail)" <xml-dev@i...>
  • Date: Tue, 18 May 1999 12:39:12 +0200

xmlns validate
the quoted statement regarding DTD's is not universal.
it would be more accurate to describe the restriction as:

"MSXML does not treat namespace prefixes as symbolic intermediaries, but
instead as
ordinary characters in element and attribute names."

there is nothing keeping a parser from inferring xmlns binding scope and
performing prefix expansion. while it is true that this requires that the
document's content models be complete and consistent, this not more
restrictive the presumptions entailed by a #FIXED constraint and permits the
DTD-user much greater latitude.

Andrew Layman wrote:
> The MSXML parser requires that any "xmlns" attribute declared in a DTD must
> be FIXED because, if you want to use the DTD to validate an instance, you
> must use exactly the same prefixes in the instance as were used in the DTD.
> Looking at the same point from another angle, DTDs do not treat namespace
> prefixes as symbolic intermediaries, but instead as ordinary characters in
> element and attribute names.  As such, their binding is fixed by the author
> of the DTD, and any alteration of the binding in a document instance would
> produce an instance no longer described by that DTD.

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 (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...)


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.
First Name
Last Name
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.