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

RE: What is a namespace ... really?

  • From: <david@m...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: Sat, 16 Jan 1999 06:42:01 -0500 (EST)

RE: What is a namespace ... really?
Borden, Jonathan writes:

 > > It would cause about the same set of problems as DOCTYPE (perhaps
 > > worse with datatyping and other niceties) -- that's why we need to get
 > > away from it.
 > >
 > Ok, so you are arguing against validation in general. I like
 > how XML works now: it is optional.

Not at all -- I am a big fan of validation, and have even written a
book about XML and SGML DTDs.  

One problem with DOCTYPE is that it forces a one-to-one mapping
between the document and the DTD, and I have never worked on a medium
or large SGML system that didn't need to use different variant DTDs at
different stages of production.  To work around this problem, most
systems use shell scripts either to copy different DTD files into the
same location, or to copy different entity catalogs into the same
location.

The second problem with DOCTYPE is that the internal subset can modify 
the meaning of the external subset, so the public and system
identifers of the DOCTYPE really tell you nothing reliable about what
DTD the document conforms to.

Forcing a one-to-one mapping between namespaces and schemas would
(probably) solve the second problem, but not the first.  Architectural
forms solve both problems, but at the cost (or benefit) of adding an
additional level of indirection to the markup itself.

I've been working with SGML DTDs and SGML systems for eight years now,
and I've seen both the beauty and the shortcomings of ISO 8879.


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

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


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.