[Bug 2700] [XSLT] need to clarify type value after stripping type annotations

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

           Summary: [XSLT]  need to clarify type value after stripping type
                    annotations
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: joannet@ca.ibm.com
         QAContact: public-qt-comments@w3.org


According to section 6.2.4 (Construction from a PSVI) [Data Model], a type-
name and a typed-value are set during construction.  Other properties, such as 
is-id, are set after type-name is available.  If an element is typed 
xs:integer* for example, the typed-value would contain a sequence of 
integers.  According to section 4.3 (Stripping Type Annotations from a Source 
Tree) [XSLT 2.0], if a stylesheet specifies input-type-annotations="strip", 
all type-names are removed and replaced with xs:untyped.  This section does 
not mention how the typed-value would be affected after removing the type-
name, or during which phase is the typed-value determined (whether before or 
after the type-name has been stripped).  In this example, would the typed-
value be a sequence of integers or a string? If type-name was xs:ID before it 
was stripped, would is-id return true or false?

Received on Wednesday, 11 January 2006 18:51:48 UTC