[Bug 27612] New: document-uri(), base-uri() raises FODC0002/FODC0005

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

            Bug ID: 27612
           Summary: document-uri(), base-uri() raises FODC0002/FODC0005
           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

We have been pointed out by a user that base-uri() or document-uri() may
trigger an error (FODC0002 or FODC0005) when being called on a document that
has been retrieved from a file. The problem happens if the characters of the
file name are valid, but invalid as part of a URI:

   document-uri(doc('[].xml'))

Is this behavior expected, or even desirable?

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

Received on Monday, 15 December 2014 19:57:49 UTC