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

RE: namespaces in XML 1.1 - namespace names become *IRI* refer

  • To: <mbatsis@h...>,"Thomas B. Passin" <tpassin@c...>,<xml-dev@l...>
  • Subject: RE: namespaces in XML 1.1 - namespace names become *IRI* references
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Sat, 28 Sep 2002 18:50:42 -0700
  • Thread-index: AcJnUwCuEnmAqjX+RHqrXGUEBv7zvAAB0Apw
  • Thread-topic: namespaces in XML 1.1 - namespace names become *IRI* references

ncnames

> -----Original Message-----
> From: m batsis [mailto:mbatsis@n...] 
> Sent: Sunday, September 29, 2002 3:49 AM
> To: Thomas B. Passin; xml-dev@l...
> 
> > 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. 


-- 
PITHY WORDS OF WISDOM 
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
rights. 

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.