--CREDITS--
Mike Sullivan <mike@regexia.com>
#TestFest 2008 (London)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
CDATA Content: data><&"
<?xml version="1.0"?>
-<root><cdata><![CDATA[data><&"]]></cdata></root>
\ No newline at end of file
+<root><cdata><![CDATA[data><&"]]></cdata></root>
--CREDITS--
Mike Sullivan <mike@regexia.com>
#TestFest 2008 (London)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
Comment Content: data><&"
<?xml version="1.0"?>
-<root><comment><!--data><&"--></comment></root>
\ No newline at end of file
+<root><comment><!--data><&"--></comment></root>
Andrew Larssen <al@larssen.org>
London TestFest 2008
--SKIPIF--
-<?php // require_once('skipif.inc'); ?>
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--TEST--
Testing DOMDocumentFragment::appendXML and DOMDocumentFragment::hasChildNodes
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$doc = new DOMDocument();
--CREDITS--
Muhammad Khalid Adnan
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--TEST--
Test DOMDocument::createAttribute() for expected expection thrown when wrong parameter passed
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$dom = new DOMDocument();
--CREDITS--
Muhammad Khalid Adnan
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--TEST--
Test DOMDocument::createAttribute() for expected return value
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$dom = new DOMDocument();
--CREDITS--
Muhammad Khalid Adnan
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--CREDITS--
Muhammad Khalid Adnan
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--CREDITS--
James Lewis <james@s-1.com>
#TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
require_once("dom_test.inc");
--CREDITS--
Michael Stillwell <mjs@beebo.org>
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--CREDITS--
Michael Stillwell <mjs@beebo.org>
# TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
--CREDITS--
James Lewis <james@s-1.com>
#TestFest 2008
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
require_once("dom_test.inc");
--CREDITS--
Mike Sullivan <mike@regexia.com>
#TestFest 2008 (London)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
Text Content: data><&"
<?xml version="1.0"?>
-<root><text>data><&"</text></root>
\ No newline at end of file
+<root><text>data><&"</text></root>
--TEST--
Bug #42082 (NodeList length zero should be empty)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$doc = new DOMDocument();
bool(true)
bool(true)
bool(false)
-bool(false)
\ No newline at end of file
+bool(false)
--TEST--
Bug #43364 (recursive xincludes don't remove internal xml nodes properly)
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function loopElements($nodes)
}
["code"]=>
int(3)
+ ["previous":"Exception":private]=>
+ NULL
}
--- Don't catch exception with try/catch
?>
--EXPECTF--
-object(DOMException)#%d (6) {
+object(DOMException)#%d (7) {
["message":protected]=>
string(20) "Wrong Document Error"
["string":"Exception":private]=>
}
["code"]=>
int(4)
+ ["previous":"Exception":private]=>
+ NULL
}