[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: Richard Tobin <richard@c...>, xml-dev@l...
  • Date: Mon, 07 Aug 2000 22:01:59 -0400

RE: Does DTD validation work with namespaces?
Richard Tobin wrote:
>
> Jonathan Borden wrote:
>
> >Actually XML names already redefine:
>
> >doctypedecl
> >elementdecl
> >[...]
>
> No it doesn't.

	Call it what you will, but XML 1.0 has productions for doctypedecl and XML
Namespaces has an, albeit slightly, different poduction for doctypedecl, to
me that is a redefinition: one adds additional restrictions, in specific the
substitution of QName for Name, but nonetheless a redefinition.

> To conform to the namespaces spec a document must meet
> certain extra constraints on these productions, but all
> namespace-compliant documents are XML 1.0 documents and their XML 1.0
> meaning is unchanged.  On the other hand a change like:
>
> > extending the syntax of EntityDecl
> > to allow the specification of an implicit prefix for an included
> > DTD
>
> would change the XML 1.0 meaning of documents.  In particular, it
> would make documents valid that were otherwise invalid.

	I'd need to see this proposed change to EntityDecl, but in principle one
would *want* certain documents which are 'invalid' under XML 1.0 to be valid
under XML1.0+Names IFF the reason they are invalid is that the namespace is
the same but the prefix has changed.

	On the other hand if you really mean to say that documents that are
currently not well formed would become well formed, that is a different
issue. On the other other hand, unless DTDs can be made to place nice with
Namespaces they are history as far as most people are concerned. So on one
hand we are playing with the 'purity' of XML 1.0, but on the other hand we
are orphaning a large chunk of XML 1.0. If a Schema spec as simple as DTDs
were on the table, it would be an easy choice.

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org



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.