- From: <bugzilla@jessica.w3.org>
- Date: Thu, 19 Dec 2013 10:51:46 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24136 Bug ID: 24136 Summary: [xslt 3.0] (and [2.0]) xsl:copy-of with validation=strict, copy-namespaces=no Product: XPath / XQuery / XSLT Version: Last Call drafts Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: XSLT 3.0 Assignee: mike@saxonica.com Reporter: mike@saxonica.com QA Contact: public-qt-comments@w3.org This applies to both XSLT 3.0 and 2.0. If xsl:copy-of requests validation and also requests namespace stripping (e.g. using copy-namespaces="no" with validation="strict") then it is not clear in the spec whether namespaces are removed before or after validation. I think it's safest to remove namespaces first. If the element/document being copied contains namespace-sensitive content (e.g. QName-valued attributes), this will cause validation to fail because of the absent namespaces, and it's better to have validation fail than to generate output which claims to be valid and is not. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 19 December 2013 10:51:52 UTC