RE: Inappropriate use of XML Namespaces in XQuery, XPath 2.0 and XSLT 2.0?

I don't think there is an inconsistency.
 
XSLT 1.0 and XPath 1.0 use namespaces to qualify variable names and function
names. We can't change that, so there is little point arguing about whether
or not it was a good idea.
 
Michael Kay
 
 

-----Original Message-----
From: Svgdeveloper@aol.com [mailto:Svgdeveloper@aol.com] 
Sent: 04 August 2003 16:36
To: Michael.Kay@softwareag.com
Cc: xml-names-editor@w3.org; public-qt-comments@w3.org; www-tag@w3.org
Subject: Re: Inappropriate use of XML Namespaces in XQuery, XPath 2.0 and
XSLT 2.0?


In a message dated 04/08/2003 13:53:30 GMT Daylight Time,
Michael.Kay@softwareag.com writes:




This extended use of XML namespaces was first introduced in XSLT 1.0. You
may not like it, but it works, and it's too late to change it.



Which aspect(s) of the inconsistency underlying the problem are you
suggesting are immutable?

Andrew Watt




Michael Kay




-----Original Message-----
From: Svgdeveloper@aol.com [mailto:Svgdeveloper@aol.com] 
Sent: 02 August 2003 09:11
To: xml-names-editor@w3.org; public-qt-comments@w3.org
Subject: Inappropriate use of XML Namespaces in XQuery, XPath 2.0 and XSLT
2.0?


In the various draft XQuery, XPath 2.0 and XSLT 2.0 documents it is
indicated that datatypes and functions are contained in designated XML
namespaces. A similar seeming error made in W3C XML Schema is also carried
forward into the XQuery/XPath/XSLT2 documents.

This seems to me to be in conflict with the Namespaces in XML 1.0
Recommendation which defines an XML namespace as applying to element type
names and attribute names. There is no provision that I can see in the
Namespaces in XML Rec for datatype or function names being part of an "XML
namespace".

Correcting this seeming discrepancy should be straightforward but it seems
to me that it needs to be tidied.

Andrew Watt 

Received on Monday, 4 August 2003 13:31:53 UTC