[Bug 3301] [FO] Editorial: Error Function: Examples: can return QName, not only anyURI

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3301

           Summary: [FO] Editorial: Error Function: Examples: can return
                    QName, not only anyURI
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
               URL: http://www.w3.org/TR/xpath-functions/#func-error
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: fgeorges.spam@gmail.com
         QAContact: public-qt-comments@w3.org


Hi

  In FO §3.1, there is the following example (first example):

    fn:error() returns http://www.w3.org/2005/xqt-errors#FOER0000
    to the external processing environment

  But §3 says:

    While this function never returns a value, an error is
    returned to the external processing environment as an
    xs:anyURI or an xs:QName.

  So I expect instead something like:

    fn:error() returns http://www.w3.org/2005/xqt-errors#FOER0000
    (or the corresponding xs:QName) to the external processing
    environment

  The second example has the same issue.

  Regards,

--drkm

Received on Wednesday, 24 May 2006 10:07:44 UTC