W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2003

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

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 4 Aug 2003 19:31:46 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD02A@daemsg02.software-ag.de>
To: Svgdeveloper@aol.com, Michael.Kay@softwareag.com
Cc: xml-names-editor@w3.org, public-qt-comments@w3.org, www-tag@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:13 UTC