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

Re: Re: URIs, concrete (was Re: Un-ask the


Re:  Re: URIs

Greetings,

On Fri, 2 Aug 2002, David Carlisle wrote:

>
> > removed non-XSLT-namespace _attributes_ it wouldn't be much use, but
> > that whole business works because XSLT processors are more-or-less
> > required to use Simon's best-practice recommendation, and take
> > unprefixed attributes in XSLT elements to be also in that namespace.
>
> But only if you use your own private definition of what it means to be
> in a namespace. XSLT processors can not assume that the version
> attribute in
> <xsl:stylesheet version=...
> is in the XSLT namespace because
> if the attribute was in the XSLT namespaec it would be equivalent to
> <xsl:stylesheet xsl:version=...
> and that's an error.

True, version and xsl:version are rather odd.

But in all the XSLT which I write, and all the XSLT exemplified in the
XSLT spec, XSLT attributes are written without any prefix.  Unless I'm
misreading the Namespace spec (in which case, someone _please_ correct
me), that means those attributes aren't in any namespace, and
specifically not in the XSLT namespace.

This isn't a private definition of what it means to be in a namespace.
I'm specifically _not_ saying that they are actually in the XSLT
namespace, because they appear not to be; I am saying that XSLT processors
do recognise those attributes, even though one reading of the XSLT spec
suggests they might not have to.  It's a practical demonstration of the
fact that some applications are already working as Simon is suggesting.

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...


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.