Bug fix in ixmlNode_allowChildren
Commit d48d73720bd325062c4d3b9ce85f3944be4f562d added a bug in ixmlNode_allowChildren, this function was returning FALSE instead of TRUE when newChild->nodeName was eELEMENT_NODE.
This commit is contained in:
parent
b116d10f37
commit
76eb3f869b
@ -2,6 +2,14 @@
|
|||||||
Version 1.6.16
|
Version 1.6.16
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
||||||
|
2012-03-15 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||||
|
|
||||||
|
Bug fix in ixmlNode_allowChildren
|
||||||
|
|
||||||
|
Commit d48d73720bd325062c4d3b9ce85f3944be4f562d added a bug in
|
||||||
|
ixmlNode_allowChildren, this function was returning FALSE instead of
|
||||||
|
TRUE when newChild->nodeName was eELEMENT_NODE.
|
||||||
|
|
||||||
2012-03-15 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
2012-03-15 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||||
|
|
||||||
Improve upnp/genlib/net
|
Improve upnp/genlib/net
|
||||||
|
@ -428,7 +428,6 @@ static BOOL ixmlNode_allowChildren(
|
|||||||
case eTEXT_NODE:
|
case eTEXT_NODE:
|
||||||
case eCDATA_SECTION_NODE:
|
case eCDATA_SECTION_NODE:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
break;
|
|
||||||
|
|
||||||
case eELEMENT_NODE:
|
case eELEMENT_NODE:
|
||||||
switch (newChild->nodeType) {
|
switch (newChild->nodeType) {
|
||||||
@ -443,9 +442,9 @@ static BOOL ixmlNode_allowChildren(
|
|||||||
case eDOCUMENT_NODE:
|
case eDOCUMENT_NODE:
|
||||||
switch (newChild->nodeType) {
|
switch (newChild->nodeType) {
|
||||||
case eELEMENT_NODE:
|
case eELEMENT_NODE:
|
||||||
return FALSE;
|
|
||||||
default:
|
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user