Commit a74a6ff0 authored by William M. Brack's avatar William M. Brack
Browse files

fixed problem in xmlRelaxNGCompareNameClasses which was causing

* relaxng.c: fixed problem in xmlRelaxNGCompareNameClasses
  which was causing check-relaxng-test-suite.py test 351 to fail.
parent 7e29c0a4
Fri Apr 2 22:02:24 HKT 2004 William Brack <wbrack@mmm.com.hk>
* relaxng.c: fixed problem in xmlRelaxNGCompareNameClasses
which was causing check-relaxng-test-suite.py test 351 to fail.
Fri Apr 2 17:03:48 HKT 2004 William Brack <wbrack@mmm.com.hk>
 
* nanohttp.c: implemented fix for M$ IIS redirect provided
......
......@@ -3751,15 +3751,15 @@ xmlRelaxNGCompareNameClasses(xmlRelaxNGDefinePtr def1,
} else {
node.name = invalidName;
}
node.ns = &ns;
if (def1->ns != NULL) {
if (def1->ns[0] == 0) {
node.ns = NULL;
} else {
node.ns = &ns;
ns.href = def1->ns;
}
} else {
ns.href = invalidName;
node.ns = NULL;
}
if (xmlRelaxNGElementMatch(&ctxt, def2, &node)) {
if (def1->nameClass != NULL) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment