8032908: getTextContent doesn't return string in JAXP

Reviewed-by: joehw
This commit is contained in:
Aleksei Efimov 2014-07-31 11:34:34 +04:00
parent 0bd7232f50
commit c77c24b62d

View File

@ -3145,7 +3145,11 @@ public class SAX2DTM2 extends SAX2DTM
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)
{
return null;