[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 urui

> (1) It is a deduction from the Namespaces spec that attributes without any
> prefix are in no namespace.

yes surely that is clear.

> It is implicitly _not_ an error to have no-namespace attributes
> which _are_ the attributes defined in the spec.  I can't _find_ anything
> which specifies any processing for these elements

I don't understand this comment at all. the definition of the processing
of (say) the xsl:template element is almost all taken up with telling
you how to process the non-namespaced attributes match, name etc.

> it does suggest that the XSLT authors rather
> expected that no-prefix attributes would be in the element's
> namespace;

I doubt it. If they did it is rather strange that they defined Xpath they
way they did. If you ask Xpath for the namespace of the match attribute
in <xsl:template match=... you will get the value "" not the URUI of the
XST namespace.

> (c) that, unless I've
> missed something, and the logic above is wrong, XSLT processors are
> acting _as_if_ unprefixed attributes are in the namespace of the
> containing element

No. If an XSLT processor acted as if match was in the xslt namespace
in
<xsl:template match=...
then
a)
<xsl:template xsl:match=...
would work as it would be equivalent.
and
b)
namespapace-uri(document('')/*/xsl:template/@*)
would return "http://www.w3.org/1999/XSL/Transform"" not ""


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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.