Re: few Xerces-J XSD 1.1 validation performance measurements

Mukul Gandhi <[email protected]> Fri, 30 Apr 2021 16:25:10 +0530
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <CABuuzNPH-ygZptKjq-u5SbJhy9TJKNsPRAvMCiBWRccHtR+dxQ@mail.gmail.com>
--0000000000001df75d05c12e73d8
Content-Type: text/plain; charset="UTF-8"

On Tue, Apr 27, 2021 at 10:36 PM Eric J. Schwarzenbach <
[email protected]> wrote:

> Thank you. It seems as though this information should be provided on this
> page, as well as on the downloads page. I'd like to post a bug about this
>
Please feel free, to create a bug report about this. I personally, support
the documentation change you've proposed.

> I see your name all over the schema 1.1 issues, Mukul, and I'd like to
> thank you for all the work you've done to get Schema support in xerces-j to
> what it is.
>
Thanks. There are many more people, who've contributed to Xerces-J's XML
Schema 1.1 implementation :)

> "regular" xerces impl is quite happy to validate XML files referencing 1.1
> schemas
>
By "regular" xerces impl, do you mean, the following download entries
visible on Xerces download page?
Xerces2 Java 2.12.1 - tar.gz [PGP] [SHA]
Xerces2 Java 2.12.1 - zip [PGP] [SHA]

> The way I am invoking validation here, is (for convenience) via one of the
> xercesSamples classes. Essentially I'm calling
>
> java -cp
> .:./lib/xml-apis-1.4.01.jar:./lib/xercesImpl-2.12.1.jar:./lib/xercesSamples-2.12.1.jar
> sax.Counter -np -n -v -s "$1"
>
I think that, the Xerces-J sample sax.Counter only supports XML Schema 1.0
validation at the moment. Can you please, try using the Xerces-J
sample jaxp.SourceValidator to run XML Schema 1.1 validation, and let us
know if you experience same issues?



-- 
Regards,
Mukul Gandhi

--0000000000001df75d05c12e73d8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, Apr 27, 2021 at 10:36 PM Eric J. =
Schwarzenbach &lt;<a href=3D"mailto:[email protected]">eric.sch=
[email protected]</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">
 =20
   =20
 =20
  <div>
    <p>Thank you. It seems as though this information should be provided
      on this page, as well as on the downloads page. I&#39;d like to post =
a
      bug about this</p></div></blockquote><div>Please feel free, to create=
 a bug report about this. I personally, support the documentation change yo=
u&#39;ve proposed.</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><=
div><p>I see your name all
      over the schema 1.1 issues, Mukul, and I&#39;d like to thank you for
      all the work you&#39;ve done to get Schema support in xerces-j to wha=
t
      it is.</p></div></blockquote><div>Thanks. There are many more people,=
 who&#39;ve contributed to Xerces-J&#39;s XML Schema 1.1 implementation :)<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <p>&quot;regular&quot; xerces impl is
      quite happy to validate XML files referencing 1.1 schemas</p></div></=
blockquote><div>By &quot;regular&quot; xerces impl, do you mean, the follow=
ing download entries visible on Xerces download page?</div><div>Xerces2 Jav=
a 2.12.1 - tar.gz [PGP] [SHA]<br>Xerces2 Java 2.12.1 - zip [PGP] [SHA]</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
    <p>The way I am invoking validation here, is (for convenience) via
      one of the xercesSamples classes. Essentially I&#39;m calling<br></p>
    <p>java -cp
.:./lib/xml-apis-1.4.01.jar:./lib/xercesImpl-2.12.1.jar:./lib/xercesSamples=
-2.12.1.jar
      sax.Counter -np -n -v -s &quot;$1&quot;</p></blockquote><div>I think =
that, the Xerces-J sample sax.Counter only supports XML Schema 1.0 validati=
on at the moment. Can you please, try using the Xerces-J sample=C2=A0jaxp.S=
ourceValidator to run XML Schema 1.1 validation, and let us know if you exp=
erience same issues?</div><div><br></div><div>=C2=A0</div></div><div><br></=
div>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div=
>Regards,<br>Mukul Gandhi<br></div></div></div></div>

--0000000000001df75d05c12e73d8--