- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 16 Nov 2007 09:25:43 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5270
Summary: Casting between NOTATION and QName
Product: XPath / XQuery / XSLFO / XSLT
Version: Working drafts
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Functions and Operators 1.1
AssignedTo: mike@saxonica.com
ReportedBy: mike@saxonica.com
QAContact: public-qt-comments@w3.org
The following comment was raised as part of the discussion on bug #4874, and is
raised here as an enhancement request so that it is not lost when 4874 is
closed.
For the future: it seems unsatisfactory that the only way of constructing a
NOTATION is from a literal string, and that there is no way of processing a
NOTATION other than converting it to a string. This makes it impossible for the
user to determine, for example, what namespace a NOTATION is in, or to ensure
that this namespace is declared when an attribute of type NOTATION is written
to the result tree. I suggest that we should allow casting between QName and
NOTATION in both directions, with the obvious semantics, making operations
defined on QNames available for constructing and deconstructing NOTATIONs.
Received on Friday, 16 November 2007 09:25:50 UTC