|
|
| version 1.88, 2013/10/15 22:28:36 | version 1.90, 2015/10/09 11:42:38 |
|---|---|
| Line 162 static xmlNode* pa_getAttributeNodeNS(xm | Line 162 static xmlNode* pa_getAttributeNodeNS(xm |
| currentNode; | currentNode; |
| currentNode=currentNode->next) | currentNode=currentNode->next) |
| { | { |
| if(!namespaceURI || currentNode->ns && xmlStrEqual(currentNode->ns->href, namespaceURI)) | if(!namespaceURI || (currentNode->ns && xmlStrEqual(currentNode->ns->href, namespaceURI)) ) |
| if(!localName || xmlStrEqual(currentNode->name, localName)) | if(!localName || xmlStrEqual(currentNode->name, localName)) |
| return currentNode; | return currentNode; |
| } | } |
| Line 943 MXnode::MXnode(const char* aname, VState | Line 943 MXnode::MXnode(const char* aname, VState |
| // consts | // consts |
| #define CONST(name) \ | #define CONST(name) consts.put(#name, new VInt(XML_##name)) |
| consts.put(String::Body(#name), new VInt(XML_##name)) | #define CONST2(name, value) consts.put(#name, new VInt(value)) |
| #define CONST2(name, value) \ | |
| consts.put(String::Body(#name), new VInt(value)) | |
| CONST(ELEMENT_NODE); | CONST(ELEMENT_NODE); |
| CONST(ATTRIBUTE_NODE); | CONST(ATTRIBUTE_NODE); |