mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-19 10:03:34 +03:00
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.
This commit is contained in:
parent
7e29c0a457
commit
a74a6ff056
@ -1,3 +1,8 @@
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user