[Bug 14971] New: [FO3.0] uri-collection() - confusion over purpose

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

           Summary: [FO3.0] uri-collection() - confusion over purpose
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Somehow the specification of uri-collection() has become confused. The
specification includes the stated intent that it should be able to return a set
of URIs without dereferencing them, yet the semantics of the function as stated
appear to preclude this option, because it is required that the URIs returned
should all resolve to document nodes when supplied as arguments to the doc()
function.

I discovered this today when using uri-collection() to solve a problem where
the URIs in question actually referred to resources that I then wanted to
retrieve using unparsed-text().

One of the use cases is to allow each URI to be processed individually using
doc() under the scope of a try/catch, so that the application can recover from
individual failures to process a particular URI.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 28 November 2011 22:54:13 UTC