Branch: Tag:

2005-10-31

2005-10-31 11:38:07 by Martin Nilsson <mani@lysator.liu.se>

Test text node joining

Rev: lib/modules/Parser.pmod/XML.pmod/testsuite.in:1.6

1:   START_MARKER - // $Id: testsuite.in,v 1.5 2004/05/02 18:31:43 nilsson Exp $ + // $Id: testsuite.in,v 1.6 2005/10/31 11:38:07 nilsson Exp $      // DOM   
16:   [[ "<a>hej &x.y; hopp</a>" ]])   test_eq([[ (string)Parser.XML.Tree.parse_input("<a><b> <c/> </b></a>") ]],   [[ "<a><b> <c/> </b></a>" ]]) + test_eq([[ Parser.XML.Tree.parse_input("<p>a<![CDATA[b]""]>c</p>")[0][0]->get_text() ]], + [[ "abc" ]])      // NSTree