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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27777

            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