W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

[Bug 25173] Test whether a streaming document is available through fn:streaming-document-available()

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 May 2014 07:25:38 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25173-523-VrqA4lobto@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25173

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
OK in principle, but I think my preference would be

(a) name the function stream-available()

(b) define it along the following lines: the function returns true if and only
if all the following conditions are satisfied:

* The URI is valid, 
* a resource with this URI can be retrieved
* the initial bytes of the resource can be read and decoded as text according
to the rules used by an XML processor
* the resulting sequence of characters starts with a string that matches the
grammar:

prolog (EmptyElemTag | STag )

as defined in the XML Recommendation

* no implementation-dependent errors, such as would cause the xsl:stream
instruction to fail, are detected during the process of opening and parsing the
initial content of the stream

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 16 May 2014 07:25:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC