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

Re: Does DTD validation work with namespaces?

  • From: Jonathan Borden <jborden@m...>
  • To: Norman Walsh <ndw@n...>, xml-dev@l...
  • Date: Wed, 09 Aug 2000 13:00:02 -0400

aaa notation
Norman Walsh wrote:

[bunch of sensible stuff deleted]

> Extending DTDs to work outside this environment, by means of a PI for
> example that mapped prefixes to URIs in the DTD, would make a parser
> that accepted documents that were not XML 1.0 valid but were XML
> 1.0+Namespaces valid. It'd be an interesting exercise.
The problem is that for the internal subset, no mapping is needed because
the prefix->URI mapping can be obtained from the content context. The
problem exists for external DTDs which could use a PE to 'substitute' the
{file://foo}aaa notation for the xxx:aaa notation, if this notation were
adopted as part of the DTD syntax.


<!ELEMENT root (xxx:aaa)* >
<root xmlns:xxx="file://foo" xmlns:yyy="file://foo" >

would be namespace valid.


<!ELEMENT root ({file://foo}aaa)*>

would allow definition of expanded names even in an external subset.

Jonathan Borden
The Open Healthcare Group


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.