[Bug 26679] New: [xslt 3.0] Errors in xsl:expose and xsl:accept

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

[Bug 26679] New: [xslt 3.0] Errors in xsl:expose and xsl:accept

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

            Bug ID: 26679
           Summary: [xslt 3.0] Errors in xsl:expose and xsl:accept
           Product: XPath / XQuery / XSLT
           Version: Working 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]

xsl:expose has

[ERR XTSE3020] It is a static error if an xsl:expose element matches no
components in the containing package, unless the tokens in the names attribute
are all wildcards.

and xsl:accept similarly has

[ERR XTSE3030] It is a static error if an xsl:accept element matches no
components in the used package, unless the tokens in its names attribute are
all wildcards.

The means that if the attribute names="a b c" is used, it's OK provided at
least one of a, b, or c exists in the relevant package. This seems to make
little sense. I think the rule should be that any token that isn't a wildcard
is required to match the name of a component in the relevant package. The rules
should be rewritten thus:

[ERR XTSE3020] It is a static error if a token in the names attribute of
xsl:expose, other than a wildcard, matches no component in the containing
package.

and xsl:accept similarly has

[ERR XTSE3030] It is a static error if a token in the names attribute of
xsl:accept, other than a wildcard, matches no component in the used package.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26679] [xslt 3.0] Errors in xsl:expose and xsl:accept

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

Michael Kay <[hidden email]> changed:

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

--- Comment #1 from Michael Kay <[hidden email]> ---
The WG accepted the proposed change, and it has been applied to the spec.

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