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

Re: [xX][mM][lL] is reserved

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@i...
  • Date: Tue, 05 May 1998 11:44:25 -0700

xx mm ll in java
At 10:15 AM 5/5/98 -0700, Chris Lovett wrote:
>Currently MSXML disallows "xml" from being used as a "namespace", for
>example: "xml:foo" since this seems to be the way the XML spec is heading
>with "xml:space" and "xml:lang".  So is the above paragraph just a little
>too restrictive and should it include the colon ?  

Yes, this should be disallowed as a namespace prefix... the latest 
namespace draft supports this point of view.

>If not then the following
>very common XML example is illegal:
>	<XML>
>		This is a test.
>	</XML>


>Tim Bray's web site (http://www.xml.com/axml/axml.html) says explicitly that
>"xmlu" is an illegal name, but James Clark's expat seems to allow this ?? 

Well, end-users certainly shouldn't invent such names in their documents.
On the other hand, it's not clear that a processor should reject it, 

>Can the XML spec gurus clarify this paragraph ? Thanks.

Well, actually, the spec is a bit mushy on this; for PI targets, it
excludes "^xml*" right in the grammar, but for other names, it just
says such names are "reserved," whatever that means.

My interpretation has been that "reserved" meant, in practical terms,
reserved precisely for things like xlink and namespaces and so on; 
but the spec doesn't do a good job of making this clear.  I think,
Chris, you ought to get Charles or Jean to raise this formally in the
WG. -Tim

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


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.