[Bug 1409] New: [DM] are lax attributes of type xdt:untypedAtomic?


           Summary: [DM] are lax attributes of type xdt:untypedAtomic?
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Data Model
        AssignedTo: Norman.Walsh@Sun.COM
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org

"- The [validity] property exists and is not "valid", or the [validition 
attempted] property exists and is not "full", the schema type of an element is 
xs:anyType and the type of an attribute is xdt:untypedAtomic."

Wasn't that changed in Brisbane to be xs:anySimpleType for attributes? 

The Brisbane minutes are not a 100% clear. The advantage of xdt:untypedAtomic 
is that since that is the atomized dynamic type in this case anyway, it gives 
a better static type inference since we can statically assume such attributes 
(eg. in lax validation contexts) to be always untyped. The advantage of 
xs:anySimpleType is that it is aligned with schema.

Received on Friday, 13 May 2005 20:13:36 UTC