[Bug 8815] [XSLT 2.0] Validation applied to nodes other than elements and attributes

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


Henry Zongaro <zongaro@ca.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zongaro@ca.ibm.com




--- Comment #1 from Henry Zongaro <zongaro@ca.ibm.com>  2010-01-25 21:07:30 ---
I almost submitted this same bug report a few months ago, until I noticed that
sections 11.9.1[1] and 11.9.2[2] state that the 'validation' and 'type'
attributes are ignored when copying anything other than a document, element or
attribute node.

In the paragraph following the second note in section 11.9.1, we have "The
optional attributes type and validation may be used on the xsl:copy
instruction.... These attributes are ignored when copying an item that is not
an element, attribute or document node."

In the paragraph following the bulleted list in section 11.9.2, we have "The
optional attributes type and validation may be used on the xsl:copy-of 
instruction.... These attributes are applied individually to each element,
attribute, and document node that is selected by the expression in the select
attribute. These attributes are ignored when copying an item that is not an
element, attribute or document node."

[1] http://www.w3.org/TR/xslt20/#shallow-copy
[2] http://www.w3.org/TR/xslt20/#copy-of


-- 
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, 25 January 2010 21:07:32 UTC