[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

Norman Gray wrote:

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

Possibly -- but the problems would be with result elements,
*not* with elements in the XSLT namespace.

The XSLT specification would break, since there would then be
no way to add non-namespaced attributes to namespaced elements
as is currently required.  So the XSLT REC would have to be amended 
to account for the new XMLNS rules, replacing unqualified attributes 
with qualified ones in the XSLT namespace.

New [XSLT] plus old [XMLNS] would break stylesheets, and old [XSLT]
plus new [XMLNS] would be impossible, but as long as implementations
change to support the new versions of both at the same time,
existing stylesheets would remain legal  (except for pathological
cases like "<my:foo my:bar='1' bar='2'/>").

The *output* of those stylesheets, however, would change:
previously unqualified attributes on namespaced elements
would acquire a namespace name.  Of course once the vocabulary
of the result document has *also* been updated to reflect
the new [XMLNS] rules, all is well again.

I suspect that most namespace-aware vocabularies could be adapted
to the new XMLNS rules, with minimal impact on existing documents
and processors.  But it would have to happen all at the same time;
the old rules are incompatible with the new ones.


--Joe English

  jenglish@f...

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.