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

RE: QNames in attribute values


qnames in attribute values
Mike Kay wrote:
> Perhaps we need variant namespace declarations xmlNS="uri" and
> xmlNS:prefix="uri" that declare namespaces that will only be used
> in element
> and attribute names: this would mean these namespaces don't need to be
> copied if they aren't needed, and it would mean the prefixes can safely be
> changed when copying.

How interesting! Essentially, do namespaces all over again, only this time
say, "Don't use these to resolve QNames in attribute values. WE MEAN IT!"

Do the legacy applications win and force us to introduce a new low-level
name-resolving mechanism only for attribute and element names (thereby
putting the burden on XML 2.0 parsers)? Or do we break the applications and
fix them in a new version of their respective vocabularies, once and for all
doing away with [in-scope namespaces]?

<troll $NS="">
If SGML compatibility isn't a constraint for XML 2.0, perhaps it should use
something other than an attribute-like syntax. And they could be made global
instead of scoped to elements...
</troll>

Evan


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.