|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 2.1 Must Allow Matching on Default Namespace Witho
| http://www.w3.org/TR/2001/WD-xslt20req-20010214
|
| 2.1 Must Allow Matching on Default Namespace Without Explicit Prefix
Evan,
This requirement comes from scores and scores of XSL-List
questions about users who start with a document like:
<foo xmlns="urn:something">
<bar>baz</baz>
</foo>
and then try to do:
<xsl:stylesheet xmlns:xsl="..." xmlns="urn:something">
<!--
| A naive XSLT user expects this to match
| their <foo>/<bar> combination from the doc above
+-->
<xsl:template match="/foo/bar">
:
<!-- OOPS. But it doesn't match -->
:
</xsl:template>
</xsl:stylesheet>
To someone like yourself who is an XSL veteran, it may
never be a mistake that you make, or the workaround is
so burnt into your brain that you don't think twice about it,
but the WG perceived this issue as a major "learnability" hurdle.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








