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

Re: UTF-8+names


utf 8 namespace
On Tue, 2003-10-21 at 09:45, Joern Clausen wrote:
> On Tue, Oct 21, 2003 at 05:17:09PM +1000, Rick Jelliffe wrote:
> > That is one design flaw in only having a single delimiter for named 
> > references:
> 
> I don't think that is a flaw. I repeat my question, which was not
> answered yet: Why are only elements and attributes subject to a
> namespace definition, but not entities? Has this been discussed while
> preparing the Namespaces REC, and was it decided not to go this way for
> any good reason? Pointers to mail archives are welcome.

Namespaces in XML have been designed as an additional layer on top of
XML: a document which is conform to namespaces is not only conform with
XML but you can also implement a namespace aware parser as a layer on
top of a non namespace aware parser.

In other words, the XML (namespace aware) Infoset could have been
defined as an addition to a XML non namespaces aware Infoset if there
had been one: namespaces do only impact the markup of the document and
have no influence on its content.

Namespaces aware entities would have broken this rule (the content would
have been changed by the namespaces) and probably made the adoption of
namespaces more difficult.  

<rant>
Now, people using QNames in elements and attribute do also break this
rule which is why I think that it's such a bad idea.
</rant>

Eric
-- 
Lisez-moi sur XMLfr.
                       http://xmlfr.org/index/person/eric+van+der+vlist/
Upcoming schema tutorial:
 - Philadelphia (7/12/2003)       http://makeashorterlink.com/?V28612FC5
Tutoriel XSLT:
 - Paris (25/11/2003)             http://makeashorterlink.com/?L2C623FC5
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.