[Bug 4413] [XDM] Typed value of complex types with simple content

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

           Summary: [XDM] Typed value of complex types with simple content
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Data Model
        AssignedTo: Norman.Walsh@Sun.COM
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


As far as I can see, the data model spec doesn't adequately cover the
determination of the typed value for an element whose schema type is a complex
type with simple content.

Section 3.3.1.2 says: "The process begins with T, the schema type of the node
itself, as represented in the PSVI. For each primitive or ordinary simple type
T, the W3C XML Schema specification defines a function M mapping the lexical
representation of a value onto the value itself."

This doesn't seem to cover the case where T is a complex type with simple
content. In such cases I think T needs to be the {content type} of the schema
type of the node.

Received on Friday, 23 March 2007 15:00:26 UTC