[Bug 26668] New: fn:trace, fn:error

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

            Bug ID: 26668
           Summary: fn:trace, fn:error
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org

Two minor suggestions:

1. fn:trace($value as item()*) as item()*

The trace() function is very helpful for debugging. In many cases, no label is
required, so I believe a one-arity-signature of this function would be
beneficial.

2. fn:error($code as xs:QName?) as none

The one-arity-signatures of this function expects a QName as argument, whereas
in the other signatures the QName can also be empty (xs:QName?). As I can see
no reason for this particular exception, I would propose to align this
signature with the other ones.

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

Received on Tuesday, 26 August 2014 09:06:23 UTC