W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 Jun 2008 09:43:32 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-5771-523@http.www.w3.org/Bugs/Public/>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:52 GMT