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

RE: Reserved names and documentation

  • From: Andrew Layman <andrewl@m...>
  • To: XML Dev <xml-dev@i...>
  • Date: Wed, 6 Jan 1999 14:02:15 -0800

RE: Reserved names and documentation
Jonathan's statement below is an understandable error.  My original mail was
sent replying to a claim that namespaces and validation were incompatible.
I pointed out that the two were perfectly compatible in principle, and that
any limitations one might see are limitations of current DTD expressiveness.
I then went on to mention that one could write an instance validatable
against a current DTD using an unmodified, namespace-oblivious processor,
but that you would have to recognize certain restrictions.  

Lacking that context, one might read the lines quoted from me at the end and
conclude (wrongly) that those restrictions were intrinsic to namespaces.
They are not.  They are merely limits of the current state of DTDs.

Others have pointed out either (a) algorithms for validating by modifying
DTDs or (b) new forms of schema other than DTD that are capable--today--of
supporting both validation and namespaces, with full flexibility.

I hope this clears things up,

Andrew

-----Original Message-----
From: Borden, Jonathan [mailto:jborden@m...]
Sent: Wednesday, January 06, 1999 8:16 AM
To: XML Dev
Subject: RE: Reserved names and documentation


If this is indeed the case, as it appears to be, then namespaces have no
real meaning outside of the xxx: prefix. namespaces become nothing more (or
less :-) than a standard naming mechanism for tags. the namespace referenced
urn is nothing more than an arbitrary statement of who is supposed to own
the "xxx:" namespace prefix.

the only solution (if one is needed) is to reserve use of ':' in element
names and require conforming parsers to place elements in namespaces based
upon [namespace]:[tagname] which would break the behavior of most current
parsers. OTOH this would allow namespace prefix resolution to the specified
urn.

Jonathan Borden
http://jabr.ne.mediaone.net

>
>
> Andrew Layman wrote:
>
> > [I]f one wants to write a validatable document instance using
> > namespaces, one must use exactly the prefixes written in the DTD.
>
> And one must avoid exploiting local namespace scopes and default
> namespaces.
>
> --


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

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.