[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    Re: [xsl] XSLT 3.0 processor accepting non well-formed XML inputs
From:       "Martin Honnen martin.honnen () gmx ! de" <xsl-list-service () lists ! mulberrytech ! com>
Date:       2019-03-04 8:15:04
Message-ID: 20190304031431.70956 () lists ! mulberrytech ! com
[Download RAW message or body]

Am 04.03.2019 um 06:35 schrieb Mukul Gandhi gandhi.mukul@gmail.com:
> Hi Martin,
>
> On Sun, Mar 3, 2019 at 4:44 PM Martin Honnen martin.honnen@gmx.de 
> <mailto:martin.honnen@gmx.de> <xsl-list-service@lists.mulberrytech.com 
> <mailto:xsl-list-service@lists.mulberrytech.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/651070
or by email: xsl-list-unsub@lists.mulberrytech.com
--~--
[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 04.03.2019 um 06:35 schrieb Mukul
      Gandhi <a class="moz-txt-link-abbreviated" \
href="mailto:gandhi.mukul@gmail.com">gandhi.mukul@gmail.com</a>:<br>  </div>
    <blockquote type="cite"
      cite="mid:20190304003525.32303@lists.mulberrytech.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hi Martin,</div>
              <div><br>
              </div>
              <div dir="ltr">On Sun, Mar 3, 2019 at 4:44 PM Martin
                Honnen <a href="mailto:martin.honnen@gmx.de"
                  moz-do-not-send="true">martin.honnen@gmx.de</a> &lt;<a
                  href="mailto:xsl-list-service@lists.mulberrytech.com"
                  moz-do-not-send="true">xsl-list-service@lists.mulberrytech.com</a>&gt;
  wrote:<br>
              </div>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF">
                    <div
                      class="gmail-m_-6681126051987837461moz-cite-prefix">In
                      the W3C test suite for XSLT 3 (<a
                        class="gmail-m_-6681126051987837461moz-txt-link-freetext"
href="https://dvcs.w3.org/hg/xslt30-test/file/tip/tests/strm/si-iterate"
                        target="_blank" \
moz-do-not-send="true">https://dvcs.w3.org/hg/xslt30-test/file/tip/tests/strm/si-iterate</a>,
  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.</div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>I ran this test case with, Saxon EE 9.7.x that
                  comes with oXygen 19.1, and no issues occur.</div>
                <div><br>
                </div>
                <div>I get the output,</div>
                <div><br>
                </div>
                <div>&lt;?xml version="1.0"
                  encoding="UTF-8"?&gt;&lt;out&gt;&lt;p&gt;foo bar
                  foobar&lt;/p&gt;&lt;p&gt;foobar baz
                  foo&lt;/p&gt;&lt;/out&gt;<br>
                </div>
                <div><br>
                </div>
                <div>Saxon's help says following about -t option,<br>
                </div>
                <div>
                  <div>Value: on|off</div>
                  <div>Meaning: Display version and timing information,
                    and names of output files</div>
                </div>
                <div><br>
                </div>
                <div>It seems to me, the above cited test case has no
                  correlation with Saxon's -t option.</div>
                <div><br>
                </div>
                <div>PS: I've been using Saxon EE 9.9 trial version
                  earlier, that I had to discontinue as the trial
                  expired. </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>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.<br>
    </p>
  </body>
</html>
<div><!-- begin bl.html.trailer -->
<div style="border-top:1px solid black; background-color: #dddddd;
color: #888888; font-size: smaller; padding: 5px; text-align: center;
font-family: arial,verdana,arial,sans-serif; margin-top:1em; clear:
both; margin: auto">
<a href="http://www.mulberrytech.com/xsl/xsl-list">
XSL-List info and archive</a>
<div style="text-align:center;">
<a style="color: blue;"
  href="http://lists.mulberrytech.com/unsub/xsl-list/651070"
> EasyUnsubscribe</a>
(<a style="color: blue;"
href="mailto:xsl-list-unsub@lists.mulberrytech.com?subject=remove"
> by email</a>)
</div>
</div>
<!-- end bl.html.trailer --></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic