Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text
Eduard Drenth <[email protected]> Wed, 26 Aug 2020 14:30:15 +0000
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <[email protected]> |
--=-h0sK8EcS2hZBJCU/ssyB Content-Type: multipart/alternative; boundary="=-6qVKyvFtM6+EML9likUi" --=-6qVKyvFtM6+EML9likUi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Issues: https://issues.apache.org/jira/projects/XERCESJ/issues First create an account, then create an issue -----Original Message----- From: JOHN Morris <[email protected]> Reply-To: [email protected] To: [email protected], [email protected] Subject: Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text Date: Wed, 26 Aug 2020 15:17:07 +0100 Hi Mukul, Thanks for your reply. As a beginner, I wonder how I would go about "creating a Xerces-J jira issue" on my problem. Also, I wonder whether I could get you to send me the exact outputs from your jaxp.SourceValidator runs on the two files test1.xml (9 errors) and test2.xml (18 errors). Is there a command-line option for jaxp.SourceValidator which would produce additional lines in the output for the original XML from each line in the input file, whether valid or not? Best regards,John. > On 26 August 2020 at 05:19 Mukul Gandhi <[email protected]> wrote:=20 >=20 > Hi John, On Sun, Aug 23, 2020 at 7:23 PM JOHN Morris < > [email protected]> wrote:=20 > > Where can we go from here? I can only think of asking you to double > > check that both of your test runs are not on the same XML data > > somehow. > I've just double checked, and I get XSD validation errors on both of > your XML input documents when validated by the XSD document that > you've provided. I get the count of XSD validation errors as 9 and > 18, respectively for the XML input documents test1.xml and test2.xml > when both of these XML input documents are validated by the XSD > document test.xsd. It seems strange to me that, you don't get any XSD > validation errors with Xerces-J for the XML input document > test2.xml.=20 > > ... or do you have any other further suggested steps in order to > > achieve consistency from our two sets of results? > May be if someone else, could also cross check my findings, that > would be further helpful to this discussion. If you're still > grappling with this issue, I could also suggest that you can create a > Xerces-J jira issue for this and attach your XML and XSD documents to > the jira issue. That shall help anyone else, to use your test case > XML and XSD documents and do an analysis.=20 >=20 > --=20 >=20 > Regards, Mukul Gandhi ---------------------------------------------------------------------To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --=20 Eduard Drenth, Software Architekt [email protected] Doelestrjitte 8 8911 DX Ljouwert +31 58 234 30 47 +31 62 094 34 28 (priv=C3=A9) skype: eduarddrenth https://github.com/eduarddrenth frisian.eu gpg: https://pgp.surfnet.nl/pks/lookup?search=3Deduarddrenth Op freed bin ik th=C3=BAs/wurkje ik minder --=-6qVKyvFtM6+EML9likUi Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"><head></head><body style=3D"text-align:left; direction:lt= r;"><div>Issues: <a href=3D"https://issues.apache.org/jira/projects/XE= RCESJ/issues">https://issues.apache.org/jira/projects/XERCESJ/issues</a></d= iv><div><br></div><div>First create an account, then create an issue</div><= div><br></div><div>-----Original Message-----</div><div><b>From</b>: JOHN M= orris <<a href=3D"mailto:JOHN%20Morris%20%[email protected]= LID%3e">[email protected]</a>></div><div><b>Reply-To</b>: = <a href=3D"mailto:[email protected]">[email protected]</a><= /div><div><b>To</b>: <a href=3D"mailto:[email protected]">[email protected]= </a>, <a href=3D"mailto:[email protected]">[email protected]= g</a></div><div><b>Subject</b>: Re: Re: Possible Bug: Xerces 2.12.1 for XML= Validation with XSD 1.1 Schema under Java - Plain Text</div><div><b>Date</= b>: Wed, 26 Aug 2020 15:17:07 +0100</div><div><br></div><pre>Hi Mukul,</pre= ><pre><br></pre><pre>Thanks for your reply.</pre><pre><br></pre><pre>As a b= eginner, I wonder how I would go about "creating a Xerces-J jira issue" on = my problem.</pre><pre><br></pre><pre>Also, I wonder whether I could get you= to send me the exact outputs from your jaxp.SourceValidator runs on the tw= o files test1.xml (9 errors) and test2.xml (18 errors).</pre><pre><br></pre= ><pre>Is there a command-line option for jaxp.SourceValidator which would p= roduce additional lines in the output for the original XML from each line i= n the input file, whether valid or not?</pre><pre><br></pre><pre>Best regar= ds,</pre><pre>John.</pre><pre><br></pre><blockquote type=3D"cite" style=3D"= margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On = 26 August 2020 at 05:19 Mukul Gandhi <</pre><a href=3D"mailto:mukulg@apa= che.org"><pre>[email protected]</pre></a><pre>> wrote: </pre><pre><br></= pre><pre><br></pre><pre>Hi John,</pre><pre> </pre><pre>On Sun, Aug 23,= 2020 at 7:23 PM JOHN Morris <</pre><a href=3D"mailto:j.morris13@ntlworl= d.com.invalid"><pre>[email protected]</pre></a><pre>> wrot= e: </pre><pre><br></pre><blockquote type=3D"cite" style=3D"margin:0 0 0 .8e= x; border-left:2px #729fcf solid;padding-left:1ex"><pre>Where can we go fro= m here? I can only think of asking you to double check that both of your te= st runs are not on the same XML data somehow.</pre></blockquote><pre> = </pre><pre>I've just double checked, and I get XSD validation errors on bot= h of your XML input documents when validated by the XSD document that you'v= e provided.</pre><pre> </pre><pre>I get the count of XSD validation er= rors as 9 and 18, respectively for the XML input documents test1.xml and te= st2.xml when both of these XML input documents are validated by the XSD doc= ument test.xsd.</pre><pre> </pre><pre>It seems strange to me that, you= don't get any XSD validation errors with Xerces-J for the XML input docume= nt test2.xml.</pre><pre> </pre><blockquote type=3D"cite" style=3D"marg= in:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>... or = do you have any other further suggested steps in order to achieve consisten= cy from our two sets of results?</pre></blockquote><pre> </pre><pre>Ma= y be if someone else, could also cross check my findings, that would be fur= ther helpful to this discussion.</pre><pre> </pre><pre>If you're still= grappling with this issue, I could also suggest that you can create a Xerc= es-J jira issue for this and attach your XML and XSD documents to the jira = issue. That shall help anyone else, to use your test case XML and XSD docum= ents and do an analysis. </pre><pre><br></pre><pre><br></pre><pre>-- <= /pre><pre><br></pre><pre><br></pre><pre>Regards, </pre><pre>Mukul Gandhi</p= re></blockquote><pre><br></pre><pre>---------------------------------------= ------------------------------</pre><pre>To unsubscribe, e-mail: </pre><a h= ref=3D"mailto:[email protected]"><pre>j-users-unsubscri= [email protected]</pre></a><pre><br></pre><pre>For additional commands, = e-mail: </pre><a href=3D"mailto:[email protected]"><pre>j-user= [email protected]</pre></a><pre><br></pre><pre><br></pre><div><span>= <pre>-- <br></pre><div style=3D"width: 71ch;">Eduard Drenth, Software Archi= tekt</div><div style=3D"width: 71ch;"><br></div><div style=3D"width: 71ch;"= ><a href=3D"mailto:[email protected]">[email protected]</a>= </div><div style=3D"width: 71ch;"><br></div><div style=3D"width: 71ch;">Doe= lestrjitte 8</div><div style=3D"width: 71ch;">8911 DX Ljouwert</div><= div style=3D"width: 71ch;">+31 58 234 30 47</div><div style=3D"width: 71ch;= ">+31 62 094 34 28 (priv=C3=A9)</div><div style=3D"width: 71ch;"><br></div>= <div style=3D"width: 71ch;">skype: eduarddrenth</div><div style=3D"width: 7= 1ch;"><a href=3D"https://github.com/eduarddrenth">https://github.com/eduard= drenth</a></div><div style=3D"width: 71ch;">frisian.eu</div><div style=3D"w= idth: 71ch;">gpg: <a href=3D"https://pgp.surfnet.nl/pks/lookup?search= =3Deduarddrenth">https://pgp.surfnet.nl/pks/lookup?search=3Deduarddrenth</a= ><br><br></div><div style=3D"width: 71ch;"><br></div><div style=3D"width: 7= 1ch;">Op freed bin ik th=C3=BAs/wurkje ik minder</div><div style=3D"width: = 71ch;"><br></div><div style=3D"width: 71ch;"><br></div><div style=3D"width:= 71ch;"><br></div></span></div></body></html> --=-6qVKyvFtM6+EML9likUi-- --=-h0sK8EcS2hZBJCU/ssyB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEJgukPkdqI5csS0v3Bl74Kh4CzEMFAl9Gce4ACgkQBl74Kh4C zEOM0wgAmlwAUuD+t1FfvpGyMFFuY+dYpdMxxcHHxKGPcW6H+YAL9IZ86E3Tnmvt DJquRaQLveEO9BL3YwoWLscYsp3WOcXBqQ701jEG3D51r53SOwxvBVKXLg+k7AY7 lLXzkea1YzVC9bjZ/YJBp2wcruTIE1K2PHQwoBb763oPMobbO2FWXIGNtVB0K64V SAcd6qxjkPe5d3to3x1ErOIMDA+EFxLDIDUbKAjGpZCJyYqBTXM60SDYMAVaW+/q AOerRNALRnsba0ZTie5Bv6NUwm6EPDZjfuIjsaLImXY9ZCvoz6dgyNdxJckLqWYI yNdtZa0144dsuljPZTTtTEDCm21vNQ== =xYtW -----END PGP SIGNATURE----- --=-h0sK8EcS2hZBJCU/ssyB--