Re: [xml] incorrect RelaxNG error reporting

2013-11-29 Thread Daniel Veillard
I hadn't had the time to look at it, that simple ! Could be an interleave of interleave which is the problem, and that is too hard to fix in libxml2 that you may need to change the rng to avoid it. Grab me if you are in hurry, Daniel On Fri, Nov 29, 2013 at 08:44:15AM +0100, Ondrej Lichtner

[xml] [PATCH 2/3] Fix typos in xmlschemas{,types}.c

2013-11-29 Thread Jan Pokorný
Signed-off-by: Jan Pokorný jpoko...@redhat.com --- xmlschemas.c | 4 ++-- xmlschemastypes.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xmlschemas.c b/xmlschemas.c index 9f7dd5a..e8aa37b 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -1471,7 +1471,7 @@

[xml] [PATCH 1/3] Fix incorrect spelling entites-entities

2013-11-29 Thread Jan Pokorný
Partially, a follow-up of 81d7a8245cf9a31a49499a5a195c2b89e6f91180. Signed-off-by: Jan Pokorný jpoko...@redhat.com --- ChangeLog | 2 +- include/libxml/entities.h | 2 +- parser.c | 2 +- xmllint.c | 2 +- 4 files changed, 4 insertions(+), 4

[xml] [PATCH 0/3] Typos and Unicode cleanup in comments/ChangeLog/help

2013-11-29 Thread Jan Pokorný
This changeset fixes few typos and removes some multi-byte characters (from copy-paste of the spec, I suppose) in the comments + ChangeLog + xmllint's help. Jan Pokorný (3): Fix incorrect spelling entites-entities Fix typos in xmlschemas{,types}.c Get rid of 'REPLACEMENT CHARACTER' Unicode

[xml] [PATCH] Fix token datatype into account in RelaxNG patterns

2013-11-29 Thread Jan Pokorný
$ cat small.rng grammar datatypeLibrary=http://www.w3.org/2001/XMLSchema-datatypes; xmlns=http://relaxng.org/ns/structure/1.0; start element name=script attribute name=file data type=token except data type=token

[xml] [PATCH] Do normalize token datatype value in RelaxNG facet checking

2013-11-29 Thread Jan Pokorný
Signed-off-by: Jan Pokorný jpoko...@redhat.com --- xmlschemastypes.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xmlschemastypes.c b/xmlschemastypes.c index 03a55df..fed9564 100644 --- a/xmlschemastypes.c +++ b/xmlschemastypes.c @@ -5311,10 +5311,14 @@

Re: [xml] about xmlerror messages language

2013-11-29 Thread DspLabs Srl
Good starting point for PHP programmers: http://php.net/manual/en/class.libxmlerror.php It is not a direct solution to your problem (sorry, no translation to any specific language), but at least you may implement your own error handling routine. -- R.Scussat DSPLABS Srl On 11/28/2013 04:12 PM,