- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 13 Nov 2008 17:21:57 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6226
Summary: Basic processors should not signal an error for
validation = lax
Product: XPath / XQuery / XSLT
Version: Recommendation
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: XSLT 2.0
AssignedTo: mike@saxonica.com
ReportedBy: andrew.j.welch@gmail.com
QAContact: public-qt-comments@w3.org
The spec currently says:
[ERR XTSE1660] A basic XSLT processor must signal a static error if the
stylesheet includes an [xsl:]type attribute, or an [xsl:]validation or
default-validation attribute with a value other than strip.
It would be useful if it was "lax" as well as "strip".
This would allow transforms to work on both basic and schema-aware processors
with minimal impact on the stylesheet:
<xsl:import-schema ...
use-when="system-property('xsl:is-schema-aware')='yes'"/>
<xsl:document validation="lax"> (or collection(.... ?validation=lax) )
<xsl:result-document validation="lax">
Currently the basic processor complains about validation="lax" even though it
could safely ignore it. To work around this, you have wrap your input/output
in both is-schema-aware = yes and no and its just extra hassle.
--
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 Thursday, 13 November 2008 17:22:07 UTC