[Bug 5771] New: [FO] Feature request: get binary data from URI

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

           Summary: [FO] Feature request: get binary data from URI
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Functions and Operators 1.1
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


RFC 2397 defines the 'data' URL scheme, which allows base 64 encoded binary
data to be represented in a URI.  This is commonly used in SVG to include
binary image data.

Might I suggest the addition of a function to retrieve data from a URI as
xs:base64Binary?

Perhaps something along the lines of

fn:binary-data($uri as xs:string?) as xs:base64Binary?
fn:binary-data-available($uri as xs:string?) as xs:boolean?

following the pattern for fn:doc and fn:doc-available.


-- 
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 Thursday, 19 June 2008 09:44:06 UTC