Re: [xml] [PATCH] Fix attribute decoding during XML schema validation

2016-06-02 Thread Alex Henrie
2016-06-02 7:32 GMT-06:00 Shlomi Fish : > any news? any luck? You have not replied to my message for many days. I sent a patch, but we have to wait for Daniel to review it. -Alex ___ xml mailing list, project page

Re: [xml] [PATCH] Fix attribute decoding during XML schema validation

2016-05-27 Thread Alex Henrie
2016-05-27 1:59 GMT-06:00 Shlomi Fish : > thanks for your patch, but shouldn't a regression test be added to the code > (to > protect against future breakages?) That would be a good idea, but I have never been able to run the tests successfully, so I am not sure how to

[xml] [PATCH] Fix attribute decoding during XML schema validation

2016-05-26 Thread Alex Henrie
For https://bugzilla.gnome.org/show_bug.cgi?id=766834 vctxt->parserCtxt is always NULL in xmlSchemaSAXHandleStartElementNs, so this function can't call xmlStringLenDecodeEntities to decode the entities. --- xmlschemas.c | 30 +- 1 file changed, 25 insertions(+), 5

Re: [xml] Several commits

2016-04-12 Thread Alex Henrie
2016-04-11 12:18 GMT-06:00 Patrick Monnerat : > Hi Daniel, > I've sent you (to this list) several patches about 1 year ago, but they > have not been applied to the git repo. I'm having the same problem. I sent a patch for bug 709171 in January and it has not been

[xml] [PATCH resend2] Fix XSD validation of URIs with ampersands

2016-04-04 Thread Alex Henrie
For https://bugzilla.gnome.org/show_bug.cgi?id=709171 This makes xmlSchemaSAXHandleStartElementNs pass attributes through xmlStringDecodeEntities, similar to how xmlSchemaVDocWalk passes them through xmlNodeListGetString. --- xmlschemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[xml] [PATCH resend] Fix XSD validation of URIs with ampersands

2016-02-20 Thread Alex Henrie
For https://bugzilla.gnome.org/show_bug.cgi?id=709171 This makes xmlSchemaSAXHandleStartElementNs pass attributes through xmlStringDecodeEntities, similar to how xmlSchemaVDocWalk passes them through xmlNodeListGetString. --- xmlschemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[xml] [PATCH v2] Fix XSD validation of URIs with ampersands

2016-01-05 Thread Alex Henrie
For https://bugzilla.gnome.org/show_bug.cgi?id=709171 This makes xmlSchemaSAXHandleStartElementNs pass attributes through xmlStringDecodeEntities, similar to how xmlSchemaVDocWalk passes them through xmlNodeListGetString. --- xmlschemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[xml] [PATCH resend] Fix XSD validation of URIs with ampersands

2015-11-16 Thread Alex Henrie
For https://bugzilla.gnome.org/show_bug.cgi?id=709171 This makes xmlSchemaSAXHandleStartElementNs pass attributes through xmlStringDecodeEntities, similar to how xmlSchemaVDocWalk passes them through xmlNodeListGetString. --- xmlschemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [xml] [PATCH v2] xmllint: Fix validation of URIs with ampersands

2015-10-27 Thread Alex Henrie
2015-10-26 19:31 GMT-06:00 Liam R E Quin : > URIs with unescaped ampersands are a syntax error, however... Invalid XML is rejected with or without this patch. The effect of this patch is to make xmllint --stream produce the same output as plain xmllint. Please read the bug

[xml] [PATCH] Correct spelling of "calling"

2015-10-21 Thread Alex Henrie
--- xmlschemas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlschemas.c b/xmlschemas.c index d47512f..fe533e6 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -25546,7 +25546,7 @@ xmlSchemaVAttributesComplex(xmlSchemaValidCtxtPtr vctxt) if

Re: [xml] [PATCH] xmllint: Fix validation of URIs with ampersands

2015-03-28 Thread Alex Henrie
2015-03-27 1:47 GMT-06:00 Daniel Veillard veill...@redhat.com: Hum, I would say it's the wrong way. IT doesn't affect the library, but we definitely don't want XML_PARSER_SUBST_ENTITIES by default. Using it means you trust the document. It's better to add the flag only when needed. Also I'm

[xml] [PATCH] xmllint: Fix validation of URIs with ampersands

2015-02-25 Thread Alex Henrie
Fixes bug #709171 --- xmllint.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/xmllint.c b/xmllint.c index b297ded..c90f608 100644 --- a/xmllint.c +++ b/xmllint.c @@ -1901,6 +1901,12 @@ static void streamFile(char *filename) { if ((timing) (!repeat)) {