summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-10-11 15:22:13 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-10-11 15:22:13 +0000
commit68aca051a61608e6cbbd2d36263e4470008e64f5 (patch)
tree8d51e66f79fd3cfda2dd16261f55e5bd36a366aa /catalog.c
parent73000574ac208f34eb59c9da1abdc5490be3a4c1 (diff)
downloadlibxml2-68aca051a61608e6cbbd2d36263e4470008e64f5.tar.gz
new files for a different method for doing range validation of character
* genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h: new files for a different method for doing range validation of character data. * Makefile.am, parserInternals.c, include/libxml/Makefile.am, include/libxml/parserInternals.h: modified for new range method. * catalog.c: small enhance for warning message (using one of the new range routines)
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog.c b/catalog.c
index 06dbb52e..4375ebb0 100644
--- a/catalog.c
+++ b/catalog.c
@@ -2932,11 +2932,11 @@ xmlInitializeCatalog(void) {
cur = catalogs;
nextent = &catal->xml;
while (*cur != '\0') {
- while (IS_BLANK(*cur))
+ while (xmlIsBlank_ch(*cur))
cur++;
if (*cur != 0) {
paths = cur;
- while ((*cur != 0) && (!IS_BLANK(*cur)))
+ while ((*cur != 0) && (!xmlIsBlank_ch(*cur)))
cur++;
path = (char *) xmlStrndup((const xmlChar *)paths, cur - paths);
if (path != NULL) {
@@ -3015,10 +3015,10 @@ xmlLoadCatalogs(const char *pathss) {
cur = pathss;
while ((cur != NULL) && (*cur != 0)) {
- while (IS_BLANK(*cur)) cur++;
+ while (xmlIsBlank_ch(*cur)) cur++;
if (*cur != 0) {
paths = cur;
- while ((*cur != 0) && (*cur != ':') && (!IS_BLANK(*cur)))
+ while ((*cur != 0) && (*cur != ':') && (!xmlIsBlank_ch(*cur)))
cur++;
path = xmlStrndup((const xmlChar *)paths, cur - paths);
if (path != NULL) {