Forum Discussion
M_McDonald
15 years agoSuper Contributor
Yes, now I am getting the CDATA elements. However, my xpath assertions are now failing with
[tt:3n3klg70]XmlException:error: Unexpected element: OPEN_TAG[/tt:3n3klg70]
It was my understanding that xpath would ignore the CDATA wrapper. For example, in XMLSpy this xml:
with the following xpath expression:
returns STORE1. But with the same expression in soapUI I get the exception.
[tt:3n3klg70]XmlException:error: Unexpected element: OPEN_TAG[/tt:3n3klg70]
It was my understanding that xpath would ignore the CDATA wrapper. For example, in XMLSpy this xml:
<resultset>
<row rowid='1'>
<column name='storenum'><![CDATA[STORE1]]></column>
</row>
</resultset>
with the following xpath expression:
/resultset/row/column/text()
returns STORE1. But with the same expression in soapUI I get the exception.
Related Content
- 6 years agoyognsal