[Bug 4174] Revalidation and non-globally defined elements

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

           Summary: Revalidation and non-globally defined elements
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: john.snelson@oracle.com
         QAContact: public-qt-comments@w3.org


In section 3.2.3 of the XQuery Update specification, revalidation is defined in
terms of the XQuery "validate" expression. I understand why the specification
does this, but it seems like this could be a problem since "validate" can only
validate an element which has a globally defined schema element for it. This
effectively means that with a revalidation mode of "strict", you could not
successfully modify any element that didn't have a globally defined schema
element for it.

Would there be any merit in storing the original type of the element when
upd:setToUntyped() is called, and using that somehow for validation?

Received on Tuesday, 9 January 2007 18:47:29 UTC