Commits

Anonymous committed 78e2d9f

Removed some not really WF XML from the tests (eg <xml/>)

  • Participants
  • Parent commits 48846b4

Comments (0)

Files changed (2)

File t/02parsestring.t

 ok($parser);
 {
 my $doc = $parser->parse_string(<<'EOT');
-<xml/>
+<test/>
 EOT
 
 ok($doc);
 ok( $fragment );
 
 my $doc = $parser->parse_string(<<'EOT');
-<xml/>
+<test/>
 EOT
 
 ok($doc);
 $r->appendChild( $fragment );
 # warn "appended!\n";
 # warn $r->toString();
-ok( $r->toString(), "<xml>$chunk</xml>" );
+ok( $r->toString(), "<test>$chunk</test>" );
 
 # bad fragment:
 

File t/07nodelist.t

 
 # attribute lists
 
-my $teststring = '<xml xmlns:b="http://whatever" attr1="1" attr2="2" b:attr3="3"/>';
+my $teststring = '<test xmlns:b="http://whatever" attr1="1" attr2="2" b:attr3="3"/>';
 my $dom2 = $parser->parse_string( $teststring );
 if( defined $dom2 ) {
     my $elem = $dom2->getDocumentElement();