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

Re: Errors in Kendall Clark's xml.com article on QNames


kendall clark xml.com
Henry S. Thompson wrote:

>>Allowing QNames creates a dependency between the applications and the
>>markup which should not exist. It makes it more difficult to build
>>applications relying on a "virtual XML" which is never serialized as
>>XML.
>>
> 
> Intriguing -- I would say exactly the opposite, i.e. that QNames provide a
> uniform way to ensure that "virtual XML" (what I think of as the
> type-enriched infoset) has (namespace name,local name) pairs in it
> wherever you want them.

Yes, you can see them like this but they do so it by accessing stuff 
whithin the "markup layer" and you can't separate the markup from the 
data easily any longer after you've done so.

Canonical XML is a good example of problems which happen when you do so. 
I viewed Canonical XML as a way to define a normalize form of the markup 
used in a document. Anyway, because of QNames may be used in the content 
namespace prefixes cannot be rewriten any longer.

For me, an ideal markup language should isolate the "data" layer from 
the "markup layer" and QNames in elements or attributes is the only 
point that breaks this rule! IMO, this is a much too expensive price to 
pay for a uniform way to ensure to support extened names.

Eric

> ht
> 



-- 
Rendez-vous a Paris pour mes formations XML/XSLT.
                                           http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


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.