[xml] Possibly incomplete step 4.7 of the RELAXNG simplification process

2018-09-07 Thread Nikolai Weibull via xml
Hi! I think that something is broken in the way libxml2 handles step 4.7 of the RELAXNG simplification process. Say that we have the following RELAXNG grammars. a.rng: http://relaxng.org/ns/structure/1.0";> b.rng: http://relaxng.org/ns/structure/1.0";>

[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 validi

Re: [xml] Possibly incomplete step 4.7 of the RELAXNG simplification process

2018-10-12 Thread Nikolai Weibull via xml
Hi! This has been fixed in merge request #10: https://gitlab.gnome.org/GNOME/libxml2/merge_requests/10 along with some other RELAX NG issues that I found as well. Nikolai Nikolai Weibull, 2018-09-07 20:49: I think that something is broken in the way libxml2 handles step 4.7 of the RELAXNG

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 21:26

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 th

[xml] XInclude and in-scope namespaces

2018-10-22 Thread Nikolai Weibull via xml
Hi! I’m trying to do something like the following: a.xml: http://www.w3.org/2001/XInclude"; href="b.xml" xpointer="xpointer(*/*)"/> b.xml: and then % xmllint --xinclude a.xml This, however, doesn’t render the output I was expecting, namely but rather That is, t

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-11-23 Thread Nikolai Weibull via xml
Hi! Stefan Behnel, 2018-11-23 21:54: I think something changed in the RelaxNG code. Yes, it seems that my patch for data in interleaves was added and this may be the cause of these issues. The regression tests didn’t display them, so this is something different. Could we perhaps get a mi

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-11-23 Thread Nikolai Weibull via xml
Hi! Daniel Veillard via xml, 2018-11-22 18:32: I have just tagged the Release Candidate 1 in git and pushed a signed tarball and signed rpms to the usual place: Could we please get merge request 10 into https://gitlab.gnome.org/GNOME/libxml2/merge_requests/10 this release? It fixes

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-11-24 Thread Nikolai Weibull via xml
Hi! Daniel Veillard, 2018-11-24 14:01: On Sat, Nov 24, 2018 at 12:14:06AM +0100, Nikolai Weibull wrote: Daniel Veillard via xml, 2018-11-22 18:32: > I have just tagged the Release Candidate 1 in git and > pushed a > signed > tarball and signed rpms to the usual place: Could we please

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-11-26 Thread Nikolai Weibull via xml
Hi! Stefan Behnel, 2018-11-25 15:37: Nikolai Weibull schrieb am 24.11.18 um 00:12: Yes, it seems that my patch for data in interleaves was added and this may be the cause of these issues. The regression tests didn’t display them, so this is something different. Could we perhaps get a minim

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-11-30 Thread Nikolai Weibull via xml
(cur->type == XML_RELAXNG_VALUE))) { return (1); } Stefan Behnel, 2018-11-30 08:48: Daniel Veillard schrieb am 29.11.18 um 21:20: On Mon, Nov 26, 2018 at 11:48:37AM +0100, Nikolai Weibull via xml wrote: Stefan Behnel, 2018-11-25 15:37: Nikolai Weibull sc

Re: [xml] Entering freeze for release of libxml2-2.9.9

2018-12-24 Thread Nikolai Weibull via xml
Hi! Stefan Behnel, 2018-12-24 11:43: Nick Wellnhofer schrieb am 19.12.18 um 17:02: On 30/11/2018 11:41, Nikolai Weibull via xml wrote: OK, now I understand why it was working in my copy of the repository and not yours. Something went wrong when you applied the patch, Daniel, as a line was

[xml] Exponential running time in RELAX NG matching of optional attributes

2019-06-27 Thread Nikolai Weibull via xml
Hi! The following RELAX NG schema requires exponential running time when matching attributes (15 attributes is where my computer begins to show the symptoms, this may vary with your set-up): a.rng: http://relaxng.org/ns/structure/1.0";> a a b c