Re: [xml] Problem with data in interleave in RELAX NG validation

2018-11-22 Thread Daniel Veillard via xml
On Sun, Oct 14, 2018 at 09:02:29PM +0200, Nikolai Weibull via xml wrote: > Hi! > > OK, I managed to decode it somewhat. The issue seems to be that we build > groups of what can be matched by the interleave, but that these groups don’t > include data, list, and value elements, only element and

Re: [xml] Problem with data in interleave in RELAX NG validation

2018-11-22 Thread Daniel Veillard via xml
On Sat, Oct 13, 2018 at 12:23:09AM +0200, Nikolai Weibull via xml wrote: > Hi! > > This remains unfixed. I have absolutely no idea what’s going on in the > interleave validation code. Daniel, could you please put together some > minor documentation on how the interleave validation code works?

Re: [xml] Problem with data in interleave in RELAX NG validation

2018-10-15 Thread Ross Reedstrom via xml
Nikolai - Glad to see someone attacking these. I've got some RNG schema that we've had to use jing to validate, since libxml2 was giving similiar issues to what you're seeing, and I was even more daunted by the code than you seem to be. If you could get this branch somewhere I can pull it down,

Re: [xml] Problem with data in interleave in RELAX NG validation

2018-10-14 Thread Nikolai Weibull via xml
Hi! OK, I managed to decode it somewhat. The issue seems to be that we build groups of what can be matched by the interleave, but that these groups don’t include data, list, and value elements, only element and text elements. This patch extends xmlRelaxNGGetElements so that it can return

Re: [xml] Problem with data in interleave in RELAX NG validation

2018-10-12 Thread Nikolai Weibull via xml
Hi! This remains unfixed. I have absolutely no idea what’s going on in the interleave validation code. Daniel, could you please put together some minor documentation on how the interleave validation code works? It’s very complicated. Thank you, Nikolai Nikolai Weibull, 2018-09-09

[xml] Problem with data in interleave in RELAX NG validation

2018-09-09 Thread Nikolai Weibull via xml
Hi! Given the following input RELAX NG grammar: http://relaxng.org/ns/structure/1.0; datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes;> and the following input document a.xml: c xmllint reports: a.xml:1: element a: Relax-NG