Re: [jira] [Comment Edited] (XERCESJ-1726) Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java

2020-09-06 Thread JOHN Morris
could be a possible fix and perhaps write and share a > patch as well, that would be great and speed the incorporation of fix for > this issue within Xerces-J. > > > Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under > > Java > > ---

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-30 Thread Mukul Gandhi
Hi John, On Sun, Aug 30, 2020 at 7:51 PM John Morris wrote: > Is it the case that none of the XML files in your latest test-cases has as > many as 40 lines of XML constructs? (The significance of the number 40 for > me is that it was the first line at which I observed the erratic behaviour > tha

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-30 Thread John Morris
-users@xerces.apache.org Subject: Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text I just played around, with this kind of XSD validation, but using somewhat simple XSD and XML input documents. Below are mentioned my XSD and XML input documents

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-30 Thread Mukul Gandhi
I just played around, with this kind of XSD validation, but using somewhat simple XSD and XML input documents. Below are mentioned my XSD and XML input documents, XSD document, http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified">

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-29 Thread Mukul Gandhi
Hi John, On Fri, Aug 28, 2020 at 1:47 PM JOHN Morris wrote: > I'm not sure what was happening before to give us those discrepancies > between our respective results though. Did you try comparing the files you > were using for the validations before with the new (but, from my point of > view, the

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-28 Thread JOHN Morris
Hi Mukul, Thanks for the update. I was relieved to get away from the previous level of uncertainty that I was doing something stupid! I'm not sure what was happening before to give us those discrepancies between our respective results though. Did you try comparing the files you were using for

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-27 Thread Mukul Gandhi
Hi John, On Wed, Aug 26, 2020 at 7:47 PM JOHN Morris wrote: 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). I just saw that, you've created a Jira issue XERCESJ-1726 for

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-26 Thread Eduard Drenth
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

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-26 Thread JOHN Morris
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)

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-25 Thread Mukul Gandhi
Hi John, On Sun, Aug 23, 2020 at 7:23 PM JOHN Morris wrote: > 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 docum

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-23 Thread JOHN Morris
Hi Mukul, Thanks. I have followed the steps you suggested in using jave -Djava.endorsed.dirs=... and jaxp.SourceValidator (although I am using java version "1.8.0_261") but the validation results are unaffected. I still get 9 validation violations from test1.xml but none at all from the essentia

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-23 Thread Mukul Gandhi
On Sun, Aug 23, 2020 at 2:13 PM JOHN Morris wrote: > I think that the first steps in achieving convergence between the > validation behaviour that you observe and mine is for me to try switching > to jaxp.SourceValidator and to ensure that I am using the same environment > as you. To that (second

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-23 Thread JOHN Morris
Hi Mukul, Thanks for your further comments. I think that the first steps in achieving convergence between the validation behaviour that you observe and mine is for me to try switching to jaxp.SourceValidator and to ensure that I am using the same environment as you. To that (second) end, I wou

Re: Re: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-22 Thread Mukul Gandhi
On Sat, Aug 22, 2020 at 10:27 PM JOHN Morris wrote: > I note your reference to using jaxp.SourceValidator/ I'm not sure whether > you are claiming that, if you use that, you don't see any of the problems > that I have highlighted(?) > I didn't mean that. Its just that, my personal preference to d

Fwd: Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-19 Thread JOHN Morris
fr-FR.plg_fields_textarea.ini ***** ***** test1.xml fr-FR.plg_quickicon_phpversioncheck.sys.ini fr-FR.plg_search_categories.ini * TEST2.XML fr-FR.plg_quickicon_phpversioncheck.sys.ini

Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java - Plain Text

2020-08-18 Thread JOHN Morris
Hi, I am a relative newcomer to Xerces for XML Validation. I have been trying to replicate the results of a tutorial that I found on the Internet. with particular reference to XSD Schema 1.1 features, Over time, I have tried using Xerces 2.12.1, along with various JDK versions (7, 8, 13). Curr

Possible Bug: Xerces 2.12.1 for XML Validation with XSD 1.1 Schema under Java

2020-08-18 Thread JOHN Morris
Hi,I am a relative newcomer to Xerces for XML Validation.I have been trying to replicate the results of a tutorial that I found on the Internet. with particular reference to XSD Schema 1.1 features, Over time, I have tried using Xerces 2.12.1, along with various JDK versions (7, 8, 13). Currently,