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] namespaces in XML 1.1 - namespace names become *IRI* refer

[ Lists Home | Date Index | Thread Index ]

> -----Original Message-----
> From: m batsis [mailto:mbatsis@netsmart.gr] 
> Sent: Sunday, September 29, 2002 3:49 AM
> To: Thomas B. Passin; xml-dev@lists.xml.org
> > Ah, I see. For some reason I was thinking that the value of 
> namespace 
> > declaration attributes also had to be an NCNAME.  I don't 
> know where I 
> > got that idea but now I see it was wrong (maybe because 
> IDREFs have to 
> > be NCNAMES).
> I was thinking about that too, when noticing that xsl's 
> exclude-result-prefixes attribute has the same type (NCNames). 
> Why isn't there an anyURIs (derived by list from anyURI)?

A.) Because there was no xs:anyURI type when the XSLT 1.0 recommendation
was written 

and more importantly 

B.) Prefixes are NCNames not namespace names. 

On the other hand, if you are asking why XSLT decided to use prefixes
instead of namespaces (thus the attribute would have been called
exclude-result-namespaces) I assume they did this for brevity so users
don't have to create unweildy lists of namespaces. 

Don't think of it as being outnumbered and surrounded, think of it as a
really low risk of ammunition wastage.         

This posting is provided "AS IS" with no warranties, and confers no


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

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