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

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