diff options
author | Mike Hommey <mh@glandium.org> | 2004-10-13 08:57:08 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-10-13 08:57:08 +0000 |
commit | 0732be88d054db33fa0ca479eab9988c8e6be42e (patch) | |
tree | 8b9cf70e04bd32115caebeb74cb0d841d1eced3b /valid.c | |
parent | 09deb06614c3408ec0816a3c88920138bae2083c (diff) | |
download | libxml2-0732be88d054db33fa0ca479eab9988c8e6be42e.tar.gz |
Load /tmp/tmp.zzO3vU/libxml2-2.6.14 intoupstream/2.6.14
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'valid.c')
-rw-r--r-- | valid.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -2325,11 +2325,11 @@ xmlDumpNotationDecl(xmlBufferPtr buf, xmlNotationPtr nota) { xmlBufferWriteQuotedString(buf, nota->PublicID); if (nota->SystemID != NULL) { xmlBufferWriteChar(buf, " "); - xmlBufferWriteCHAR(buf, nota->SystemID); + xmlBufferWriteQuotedString(buf, nota->SystemID); } } else { xmlBufferWriteChar(buf, " SYSTEM "); - xmlBufferWriteCHAR(buf, nota->SystemID); + xmlBufferWriteQuotedString(buf, nota->SystemID); } xmlBufferWriteChar(buf, " >\n"); } @@ -3306,8 +3306,9 @@ xmlValidateNamesValue(const xmlChar *value) { cur += len; } - while (IS_BLANK(val)) { - while (IS_BLANK(val)) { + /* Should not test IS_BLANK(val) here -- see erratum E20*/ + while (val == 0x20) { + while (val == 0x20) { val = xmlStringCurrentChar(NULL, cur, &len); cur += len; } @@ -3418,8 +3419,9 @@ xmlValidateNmtokensValue(const xmlChar *value) { cur += len; } - while (IS_BLANK(val)) { - while (IS_BLANK(val)) { + /* Should not test IS_BLANK(val) here -- see erratum E20*/ + while (val == 0x20) { + while (val == 0x20) { val = xmlStringCurrentChar(NULL, cur, &len); cur += len; } |