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

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Mar 2014 13:11:50 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25173-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25173

            Bug ID: 25173
           Summary: Test whether a streaming document is available through
                    fn:streaming-document-available()
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

During the telcon of 13 March 2014, during the discussion about xsl:try and
streaming, one suggestion that was made in addition to solving the xsl:try
buffering issue, was to be able to query whether a streaming document is
available or not.

If we decide to introduce such a function, it can never be a stable function,
because streaming documents are not stable upon multiple invocations. However,
we can define such a function such that it must attempt to read up to the start
of the root note and buffer this for a next invocation of the same URI.

Example:

<xsl:stream href="{
    if(streaming-document-available($x))
    then $x
    else $y}">
    ....
</xsl:stream>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 27 March 2014 13:11:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:46 UTC