W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2007

[Bug 4901] [F&O] Casting between QName and NOTATION

From: <bugzilla@wiggum.w3.org>
Date: Tue, 31 Jul 2007 19:24:28 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1IFxKW-0007jz-RW@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4901

           Summary: [F&O] Casting between QName and NOTATION
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Future enhancement request, extracted from bug #4874

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 Tuesday, 31 July 2007 19:24:41 UTC

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