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: Thu, 22 May 2014 11:28:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25173-523-4pFpwV3nNm@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25173

--- Comment #4 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
I just checked the XML grammar to be sure I understand it correctly:

Prolog:       xml decl and/or dtd and/or SI/comment/whitespace
STag:         start tag of element
EmptyElemTag: empty element tag

so I think this is the same as matching has-children(root()), except explained
in XML grammar and without the potential confusion about consuming the input to
process the xpath instruction.

I am unsure about your last paragraph, what implementation dependent errors
could raise that allow to read to STag but would still throw?

> * The URI is valid, 

while I think this is preferable, do note that it is a deviation from the
semantics of fn:doc-available(), which throws here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 22 May 2014 11:28:18 UTC

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