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

Re: My report on experiments with unused namespaces

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "David Carlisle" <davidc@nag.co.uk>
  • Date: Wed, 22 Sep 2010 18:43:23 +0100

Re:  My report on experiments with unused namespaces
Original Message From: "David Carlisle"

> It is well formed. (and parsed as such by any xml parser I've tried).

But as said earlier, what does "(and parsed as such by any xml parser I've 
tried)." prove!

I do find that the paragraph about reserved names sits uncomfortably in the 
spec.  Maybe it should just be a note similar to that about colons in names, 
and rather than use the word "reserved" suggest to the reader that they 
might want to avoid such names.  But as it sits in the main body of the text 
and explicitly uses the word "reserved" I take it as a constraint on what a 
valid Name can be and therefore has impact on the well-formedness or 
otherwise of a document.

But I do concede that however it is written, the _intent_ may have been not 
to allow the reserved nature of names starting with "xml" to have any impact 
on the well-formedness of a document.

Even so, I think as a minimum they wanted write "please, please, please 
don't use non-W3C names starting with 'xml', but sadly we don't have the 
authority to stop you doing it in this spec."

At the end of the day though, I would say the pragmatic BCP approach is to 
not use names starting with xml other than those defined by W3C, and then 
only as intended.  But, as Michael Kay said, the W3C does not make laws, so 
you're free to do what you want.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.