W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2015

[Bug 27777] New: [F+O 3.1] Incorrect example

From: <bugzilla@jessica.w3.org>
Date: Wed, 07 Jan 2015 10:14:57 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27777-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 27777
           Summary: [F+O 3.1] Incorrect example
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

In 19.3.6 is the example:

For example, given a user-defined type my:coordinates defined as a list of
xs:integer with the facet <xs:length value="3"/>, the expression
my:coordinates("2 -1") will return a sequence of two xs:integer values (2, -1),
while the expression my:coordinates("1 2 3") will result in a dynamic error
because the length of the list does not conform to the length facet. 

The intended xs:length value should surely be 2 rather than 3.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 7 January 2015 10:14:58 UTC

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