[Bug 24142] New: [xslt 3.0] xs:copy with on-empty and validation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 24142] New: [xslt 3.0] xs:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

            Bug ID: 24142
           Summary: [xslt 3.0] xs:copy with on-empty and validation
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

At the end of 11.9.1.1 we say:

If the on-empty expression is evaluated and returns an empty sequence, then the
validation and type attributes are ignored. However, if the result of the
on-empty expression is a node, then it is subjected to validation as determined
by these attributes, along with [xsl:]default-validation where relevant.

However, validation is defined only for document, element, and attribute nodes.
We should change this to:

If the on-empty expression is evaluated and returns an empty sequence, or if it
returns a text, comment, processing-instruction, or namespace node, then the
validation and type attributes are ignored. However, if the result of the
on-empty expression is a document, element, or attribute node, then it is
subjected to validation as determined by these attributes, along with
[xsl:]default-validation where relevant.

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 24142] [xslt 3.0] xsl:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

--- Comment #1 from Michael Kay <[hidden email]> ---
Note also, we do not say explicitly what the focus is for evaluation of
xsl:copy/@on-empty. It should be the same focus as for evaluation of the
xsl:copy/@select attribute.

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 24142] [xslt 3.0] xsl:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

Abel Braaksma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Abel Braaksma <[hidden email]> ---
Note that on-empty was meant to be present on more instructions...

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 24142] [xslt 3.0] xsl:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

--- Comment #3 from Abel Braaksma <[hidden email]> ---
Reported here (so as not to hijack this thread): Bug#24378 [1]

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=24378

(sorry, I don't know how to inline links to other bugs, I know it is possible,
but I tried several syntaxes to no avail)

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 24142] [xslt 3.0] xsl:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michael Kay <[hidden email]> ---
The WG accepted the changes in comments 0 and 1 and the changes have been
applied to the editor's draft (R).

--
You are receiving this mail because:
You are the QA Contact for the bug.

Reply | Threaded
Open this post in threaded view
|

[Bug 24142] [xslt 3.0] xsl:copy with on-empty and validation

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24142

--- Comment #5 from Michael Kay <[hidden email]> ---
The decision on this bug was obsoleted by the decision on bug 24378, which made
xsl:copy/@on-empty applicable only to element nodes.

--
You are receiving this mail because:
You are the QA Contact for the bug.