W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2005

[Bug 1824] Functions return xs:NCName, but xs:NCName is not support in XSLT 2.0 Basic

From: <bugzilla@wiggum.w3.org>
Date: Tue, 06 Sep 2005 14:35:32 +0000
To: public-qt-comments@w3.org
Message-Id: <E1ECeXs-0003Yi-J5@wiggum.w3.org>


------- Additional Comments From mike@saxonica.com  2005-09-06 14:35 -------
You're always free to implement things as you like if no-one can tell the
difference. The way we describe things in the spec is only distantly related to
the way we expect real implementations to work. In this particular area - the
question of how much a processor knows about the type hierarchy - there's a lot
of abstraction going on in the spec to cater for a wide variety of
implementation architectures. For example, we have to cater for the possibility
that the XPath function library and the XSLT processor are separate components
developed by different organisations, in which case the function library really
will return an NCName, and the XSLT processor has to recognize it as such. Of
course if the library is embedded in your XSLT processor and will never be used
by anyone else, then you can short-circuit things by returning a string directly.

Michael Kay
Received on Tuesday, 6 September 2005 14:35:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:08 UTC