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

Default namespaces in QNames

Subject: Default namespaces in QNames
From: Evan Lenz <elenz@xxxxxxxxxxx>
Date: Sun, 11 Feb 2001 09:41:58 -0800 (PST)
 Default namespaces in QNames
Contradiction in the XSLT spec?

>From http://www.w3.org/TR/xslt#qname

"The default namespace is not used for unprefixed names."

Yet...

>From http://www.w3.org/TR/xslt#section-Creating-Elements-with-xsl:element

"If the namespace attribute is not present then the QName is expanded into
an expanded-name using the namespace declarations in effect for the
xsl:element element, including any default namespace declaration."

Also, from http://www.w3.org/1999/11/REC-xslt-19991116-errata/#E7

"If there is a default namespace in scope, then it is used to expand an
unprefixed QName [that's the argument of element-available()]"

So, should the general section on QNames be qualified to account for the
cases where the default namespace *is* used?

Evan Lenz
XYZFind Corp.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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