[Bug 29913] New: [qt3ts] Adaptive serialization - non-primitive atomic types

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

            Bug ID: 29913
           Summary: [qt3ts] Adaptive serialization - non-primitive atomic
                    types
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The specification for adaptive serialization says:

An atomic value of any other type is serialized using the syntax of a
constructor function: xs:TYPE("VAL") where TYPE is the name of the primitive
type, and VAL is the result of applying the fn:string() function. 

This makes the following tests incorrect:

Serialization-adaptive-37, -41, -42

In each of these cases the expected result uses a non-primitive type
(xs:dateTimeStamp, xs:yearMonthDuration, xs:dayTimeDuration).

May be worth raising as a spec issue, but for the moment, the test seems
clearly to expect something different from what the spec says.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 5 October 2016 13:35:38 UTC