You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Williamson, Siehnai" <sw...@docucorp.com> on 2002/04/26 17:31:14 UTC
XalanNode->getNodeType() returns text when CData
Hi,
Whenever I use XalanNode->getNodeType() in the XPathWrapper example it
returns a type XalanNode::TEXT_NODE rather than
XalanNode::CDATA_SECTION_NODE when the data is clearly CData. The other
types work as they should and return the appropriate node types.
I am doing special processing for CData Sections in my application. Is
there another way to distinguish in XalanNode whether the data is CData or
not, or do I have to wait for a fix?
Thanks,
Siehnai