[XML-SIG] xpath (4xpath) and CDATA

Rich Salz rsalz@zolera.com
Mon, 2 Apr 2001 22:42:16 -0400


xpath (which Martin has merged in from 4Xpath) doesn't recognize CDATA
nodes.  According to the spec, http://www.w3.org/TR/xpath#NT-NodeType ,
"a CDATA section is treated as if the <![CDATA[ and ]]> were removed and
every occurrence of < and & were replaced by &lt; and &amp; respectively."

I think the way to fix this is to add CDATA_SECTION_NODE next to every
place that TEXT_NODE appears, but to do the above conversion whenever the
*value* of the node is needed.

Make sense?  I just want to double-check before I (ab)use my new status. :)
	/r$