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

[Bug 5170] [FO] 17.1 Casting to xs:NOTATION???

From: <bugzilla@wiggum.w3.org>
Date: Tue, 09 Oct 2007 20:51:42 +0000
To: public-qt-comments@w3.org
Message-Id: <E1IfM3K-0006jY-LK@wiggum.w3.org>


           Summary: [FO] 17.1 Casting to xs:NOTATION???
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: hrennau@yahoo.de
         QAContact: public-qt-comments@w3.org

The table in [17.1] states that casting
- from xs:string to xs:NOTATION
- from xs:NOTATION to xs:NOTATION
is possible (marked as M).

The text however (as well as [XQuery]3.12.3) states clearly that any cast to
xs:NOTATION is principally impossible - only subtypes of xs:NOTATION are
acceptable as target types. Does the "M" mean that cast to a subtype of
xs:NOTATION is possible? But that would be inconsistent arguing, compare the
exclusion of xs:anyAtomicType from the table.

I suggest to replace the "M" entries with "N" entries.

With kind regards -
Hans-Juergen Rennau
Received on Tuesday, 9 October 2007 20:51:55 UTC

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