[Bug 13001] New: [XSLT 2.0] No error code for copying attribute with validation against complex type

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

           Summary: [XSLT 2.0] No error code for copying attribute with
                    validation against complex type
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The specification describes no specific error condition or error code for use
when xsl:copy or xsl:copy-of are used to copy an attribute node when the
instruction has a type attribute whose value refers to a complex type. I
propose to add to 

19.2.1.2 Validation using the [xsl:]type Attribute

after the description of XTSE1530, the new error condition:

[ERR XTTE1535] It is a type error if the value of the type attribute of an
xsl:copy or xsl:copy-of instruction refers to a complex type definition and one
or more of the nodes being copied is an attribute node.

I am also creating tests schema90471-err and schema90472-err to test for this
condition.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 20 June 2011 15:36:33 UTC