Browse Source

Fixed dom tests.

pull/7/head
Shein Alexey 15 years ago
parent
commit
ade71aa42a
  1. 4
      ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
  2. 2
      ext/dom/tests/dom004.phpt
  3. 2
      ext/dom/tests/dom_xinclude.phpt

4
ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt

@ -39,10 +39,6 @@ validateOnParse set to FALSE:
No Error Report Above
validateOnParse set to TRUE:
Warning: DOMDocument::loadXML(): Entity 'nbsp' not defined in Entity, line: %d in %s on line %d
Warning: DOMDocument::loadXML(): Entity 'copy' not defined in Entity, line: %d in %s on line %d
Warning: DOMDocument::loadXML(): No declaration for element NYPHP in Entity, line: %d in %s on line %d
Warning: DOMDocument::loadXML(): Element from was declared #PCDATA but contains non text nodes in Entity, line: %d in %s on line %d

2
ext/dom/tests/dom004.phpt

@ -3,7 +3,7 @@ Test 4: Streams Test
--SKIPIF--
<?php
require_once('skipif.inc');
array_search('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available');
in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available');
?>
--FILE--
<?php

2
ext/dom/tests/dom_xinclude.phpt

@ -3,7 +3,7 @@ Test: Xinclude and Streams
--SKIPIF--
<?php
require_once('skipif.inc');
array_search('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available');
in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available');
?>
--FILE--
<?php

Loading…
Cancel
Save