W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2008

[Bug 6226] New: Basic processors should not signal an error for validation = lax

From: <bugzilla@wiggum.w3.org>
Date: Thu, 13 Nov 2008 17:21:57 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6226-523@http.www.w3.org/Bugs/Public/>


           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 ...

<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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:25 UTC