xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 3.0 processor accepting non well-formed XML inputs

2019-03-04 02:14:38
Am 04.03.2019 um 06:35 schrieb Mukul Gandhi 
gandhi(_dot_)mukul(_at_)gmail(_dot_)com:
Hi Martin,

On Sun, Mar 3, 2019 at 4:44 PM Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de <mailto:martin(_dot_)honnen(_at_)gmx(_dot_)de> <xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com <mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> wrote:

    In the W3C test suite for XSLT 3
    (https://dvcs.w3.org/hg/xslt30-test/file/tip/tests/strm/si-iterate,
    if you can get through to it which has been a challenge at least
    for me today) there is at least one test case (si-iterate-094.xsl)
    where xsl:iteral/xsl:break is used and where Saxon (tested here
    with 9.8 EE) outputs a message saying "early exit" (if run with
    "-t" option) to indicate it abandoned parsing before reading
    through to the end of the file.


I ran this test case with, Saxon EE 9.7.x that comes with oXygen 19.1, and no issues occur.

I get the output,

<?xml version="1.0" encoding="UTF-8"?><out><p>foo bar foobar</p><p>foobar baz foo</p></out>

Saxon's help says following about -t option,
Value: on|off
Meaning: Display version and timing information, and names of output files

It seems to me, the above cited test case has no correlation with Saxon's -t option.

PS: I've been using Saxon EE 9.9 trial version earlier, that I had to discontinue as the trial expired.




For me the -t option with Saxon EE and streaming is an important option as it turns on messages showing whether certain input documents are processed using streaming or a tree is built and it also shows the "early exit" message in the case the parser abandons parsing.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>