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

Namespaces and validation

  • From: Peter Jones <peterj@w...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Mon, 24 Aug 1998 15:19:04 +0100

Namespaces and validation
You'll have to excuse my inexperience with things XML (I've only been at
this a few weeks) but...

When I mailed the list earlier questioning the presence of a qualified
name in the <!DOCTYPE decl of the namespaces spec my concerns were with
the issue of validation.
It seems obvious to me that in order to preserve the general utility of
a DTD for various differing implementations that a DTD should not
contain anything anywhere near as specific as a qualified name. 
Qualified names are created with the use of namespace attributes for
elements. I think in principle the use of namespaces in document
instances is a good idea, as it prevents name collisions in compound
documents. O.k. so far, so banal.
But why don't the namespaces for an element simply give the URI of the
DTD where the element is defined for validation purposes? One document
instance, many bits of DTDs. DTDs are then recycleable.
The best way to achieve this is to remove the DOCTYPE decl from the DTD
and simply have the various elements in the document instance refer to
their respective definitions in DTDs. These namespace attributes can
then be used for validation or ignored as required.

Any thoughts folks?

Peter Jones
WebDev Technical Editor
Wrox Press
mailto:peterj@w...
***************
Wrox Press UK Ltd.
http://www.wrox.co.uk
Tel 44 121 706 6826
Fax 44 121 706 2967





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.