[Bug 29221] New: [XSLT30] fn:unparsed-entity-uri and fn:unparsed-entity-public-id mention a second error code but do no define one

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29221

            Bug ID: 29221
           Summary: [XSLT30] fn:unparsed-entity-uri and
                    fn:unparsed-entity-public-id mention a second error
                    code but do no define one
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The first para under Rules for this pair of functions reads:

>Calling the single-argument form of this function has the same effect as 
>calling the two-argument form with the context item as the second argument, 
>except that a different error code is used in error situations.

However, this "different error code" is not defined. Moreover, the only error
code (XTDE1370 and XTDE1380 resp.) are written in such a way that they can only
apply to the one-argument version of the functions.

I propose to either 

(a) update the error texts and first paragraph to reflect the new two-argument
signatures, or 

(b) to add the mentioned extra errors, something along those lines:

Error for unparsed-entity-uri:

<proposal>
[ERR XTDE1371] It is a dynamic error if the two-argument form of the
unparsed-entity-uri function is called with the root of the tree of the node
given in the second argument is not a document node.
</proposal>

Error for unparsed-entity-public-id:

<proposal>
[ERR XTDE1381] It is a dynamic error if the two-argument form of the
unparsed-entity-public-id function is called with the root of the tree of the
node given in the second argument is not a document node.
</proposal>

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

Received on Wednesday, 21 October 2015 16:43:31 UTC