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

> > 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.

Indeed, indeed.  All the examples use attributes in no namespace.  If
you create a stylesheet with attributes in the XSLT namespace, it will
not work.  There are _no_ attributes in the XSLT namespace, it seems.

But you wouldn't guess that from the XSLT spec up to the end of
section 2.1, which does talk of XSLT-namespace attributes with, as it
were, malice aforethought.

This is all very dull.  I mention this as a curiosity -- it does
appear as if the first couple of sections of the spec are slightly
out-of-sync with the namespaced interpretation of the rest, in a way
which isn't terribly important, because everyone knows what the XSLT
spec actually intends.

The original point was to suggest a case where it would make a difference
if one were to change the namespace spec so that no-prefix attributes
inherited the namespace of their enclosing element.  If this change were
made, XSLT stylesheets would probably break.  That's all.

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.