8032908: getTextContent doesn't return string in JAXP
Reviewed-by: joehw
This commit is contained in:
parent
0bd7232f50
commit
c77c24b62d
@ -3145,7 +3145,11 @@ public class SAX2DTM2 extends SAX2DTM
|
|||||||
m_data.elementAt(-dataIndex+1));
|
m_data.elementAt(-dataIndex+1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (DTM.ELEMENT_NODE == type || DTM.DOCUMENT_FRAGMENT_NODE == type
|
else if (DTM.ELEMENT_NODE == type)
|
||||||
|
{
|
||||||
|
return getStringValueX(nodeHandle);
|
||||||
|
}
|
||||||
|
else if (DTM.DOCUMENT_FRAGMENT_NODE == type
|
||||||
|| DTM.DOCUMENT_NODE == type)
|
|| DTM.DOCUMENT_NODE == type)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user