OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] QNames in attribute values

[ Lists Home | Date Index | Thread Index ]

Evan Lenz wrote:

> XML Schemas, Canonical XML, and other specs rely on the prefixes and scope
> of namespace declarations as significant information to be passed to the
> application, rather than just a lexical mechanism to resolve element and
> attribute names. 

Canonical XML only preserves namespace prefixes because *other specs*
depend on them, and so it can't afford to throw them away.  Earlier
versions regenerated the prefixes, but that meant that a Canonical
version of an XSLT stylesheet wouldn't function correctly.

RELAX NG swings both ways: it has an inheritable "ns" attribute,
but can also use QNames.

-- 
John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
To say that Bilbo's breath was taken away is no description at all.  There
are no words left to express his staggerment, since Men changed the language
that they learned of elves in the days when all the world was wonderful.
        --_The Hobbit_




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS