- strio.h trio.c: Dan McNichol suggested a couple of small
fixes for AIX 4.3.3 using Visual Age 5.0.2 compiler
Daniel
diff --git a/tree.c b/tree.c
index d1dfc27..53f47e2 100644
--- a/tree.c
+++ b/tree.c
@@ -4286,7 +4286,8 @@
if ((xmlStrEqual(prop->name, name)) &&
(((prop->ns == NULL) && (node->ns != NULL) &&
(xmlStrEqual(node->ns->href, namespace))) ||
- ((prop->ns != NULL) && (xmlStrEqual(prop->ns->href, namespace))))) {
+ ((prop->ns != NULL) &&
+ (xmlStrEqual(prop->ns->href, namespace))))) {
xmlChar *ret;
ret = xmlNodeListGetString(node->doc, prop->children, 1);
@@ -4303,8 +4304,9 @@
*/
doc = node->doc;
if (doc != NULL) {
- xmlAttributePtr attrDecl;
if (doc->intSubset != NULL) {
+ xmlAttributePtr attrDecl;
+
attrDecl = xmlGetDtdAttrDesc(doc->intSubset, node->name, name);
if ((attrDecl == NULL) && (doc->extSubset != NULL))
attrDecl = xmlGetDtdAttrDesc(doc->extSubset, node->name, name);