pike.git/
lib/
modules/
Parser.pmod/
XML.pmod/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-12-23
2003-12-23 15:20:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ccf77a1922a6dfcd6c6ea0b4ebda3f62a9044e7d (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test for a bug in the XML parser.
Rev: lib/modules/Parser.pmod/XML.pmod/testsuite.in:1.4
1:
-
// $Id: testsuite.in,v 1.
3
2002
/
10
/
25
16
:
45
:
34
nilsson
Exp $
+
// $Id: testsuite.in,v 1.
4
2003
/
12
/
23
15
:
20
:
04
grubba
Exp $
// DOM // Tree
-
+
test_eval_error([[ Parser.XML.Tree.parse_input("<foo>", 0, 0, 0, 1); ]])
test_eq([[ Parser.XML.Tree.parse_input("<a>foo > hej &x.y; hopp < bar</a>")->render_xml(); ]], [[ "<a>foo > hej &x.y; hopp < bar</a>" ]]) test_eq([[ Parser.XML.Tree.parse_input("<a>foo > hej &x.y; hopp < bar</a>")->render_xml(1); ]],