[Bug 2705] [XSLT] misleading sentence in section 11.1.2

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

           Summary: [XSLT]  misleading sentence in section 11.1.2
           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


Second note in section 11.1.2 (Attribute Nodes for Literal Result Elements) 
reads:

"The same is true of the schema-defined attributes xsi:type, xsi:nil, 
xsi:noNamespaceSchemaLocation, and xsi:schemaLocation. If the stylesheet is 
processed by a schema processor, these attributes will be recognized and 
interpreted by the schema processor, but they have no special meaning to the 
XSLT processor. The attributes are copied to the result tree in the same way 
as any other attribute. If the result tree is validated, the copied attributes 
will again be recognized and interpreted by the schema processor."

The sentence "... but they have no special meaning to the XSLT processor" 
should be rephrased because those attributes do have a meaning when validation 
is requested by an XSLT processor.  The second note in section 19.2.1.1 
(Validation using the [xsl:]validation Attribute) reads: 

"If an element that is being validated has an xsi:type attribute, then the 
value of the xsi:type attribute will be taken into account when performing the 
validation...."

Received on Wednesday, 11 January 2006 18:56:08 UTC