<canvas debug="true">
<include href="lzunit"/>
<dataset name="UOP" trimwhitespace="true" >
<PacificXML>
<player team="tigers">
<playername>Lav en der</playername>
</player>
</PacificXML>
</dataset>
<text id="tiger" datapath="UOP:/PacificXML[1]/player[1]/playername[1]/text()"/>
<TestSuite>
<TestCase>
<method name="testTrimWhitespace">
assertEquals("Lavender", tiger.text);
</method>
</TestCase>
</TestSuite>
</canvas>
EXPECTED
Lavender
GOT
element "PacificXML" not allowed in this context. Check whether it is spelled correctly, and whether a class with this name exists.
Antun said that the trimwhitespace tag caused the compiler to treat the dataset not like a dataset.
LPP-2463 depends on this.