Home
last modified time | relevance | path

Searched refs:XMLReader (Results 1 – 25 of 50) sorted by relevance

12

/PHP-8.2/ext/xmlreader/
H A Dphp_xmlreader_arginfo.h95 ZEND_METHOD(XMLReader, close);
96 ZEND_METHOD(XMLReader, getAttribute);
100 ZEND_METHOD(XMLReader, isValid);
108 ZEND_METHOD(XMLReader, read);
109 ZEND_METHOD(XMLReader, next);
110 ZEND_METHOD(XMLReader, open);
111 ZEND_METHOD(XMLReader, readInnerXml);
113 ZEND_METHOD(XMLReader, readString);
114 ZEND_METHOD(XMLReader, setSchema);
118 ZEND_METHOD(XMLReader, XML);
[all …]
H A Dconfig.m42 [whether to enable XMLReader support],
4 [Disable XMLReader support])],
10 AC_MSG_ERROR([XMLReader extension requires LIBXML extension, add --with-libxml])
H A Dphp_xmlreader.c525 PHP_METHOD(XMLReader, close) in PHP_METHOD() argument
546 PHP_METHOD(XMLReader, getAttribute) in PHP_METHOD() argument
644 PHP_METHOD(XMLReader, isValid) in PHP_METHOD() argument
776 PHP_METHOD(XMLReader, read) in PHP_METHOD() argument
803 PHP_METHOD(XMLReader, next) in PHP_METHOD() argument
837 PHP_METHOD(XMLReader, open) in PHP_METHOD() argument
904 PHP_METHOD(XMLReader, readInnerXml) in PHP_METHOD() argument
918 PHP_METHOD(XMLReader, readString) in PHP_METHOD() argument
925 PHP_METHOD(XMLReader, setSchema) in PHP_METHOD() argument
1020 PHP_METHOD(XMLReader, XML) in PHP_METHOD() argument
[all …]
/PHP-8.2/ext/xmlreader/tests/
H A D013.phpt2 XMLReader: Schema validation
6 <?php if (!method_exists('XMLReader','setSchema')) die('skip XMLReader::setSchema() not supported')…
18 $reader = new XMLReader();
22 if ($reader->nodeType == XMLReader::ELEMENT && $reader->name == 'item') {
38 $reader = new XMLReader();
41 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
50 Warning: XMLReader::read(): Element 'foo': %s
H A D012.phpt2 XMLReader: accessing empty and non existing attributes
13 $reader = new XMLReader();
30 $reader = new XMLReader();
32 $reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
33 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
39 $reader = new XMLReader();
47 //$reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
48 while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
53 $reader = new XMLReader();
55 $reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
[all …]
H A D005.phpt2 XMLReader: libxml2 XML Reader, parser property set/get
11 $reader = new XMLReader();
16 $a = $reader->setParserProperty(XMLReader::LOADDTD, false);
17 $b = $reader->getParserProperty(XMLReader::LOADDTD);
23 $a = $reader->setParserProperty(XMLReader::SUBST_ENTITIES, true);
24 $b = $reader->getParserProperty(XMLReader::SUBST_ENTITIES);
H A DsetSchema_error.phpt2 XMLReader: setSchema Error
8 $reader = new XMLReader();
16 $reader = new XMLReader();
24 $reader = new XMLReader();
31 $reader = new XMLReader();
40 XMLReader::setSchema(): Argument #1 ($filename) cannot be empty
H A Dexpand_error.phpt2 XMLReader: Expand Error
7 <?php $reader = new XMLReader();
16 $reader = new XMLReader();
26 $reader = new XMLReader();
34 Warning: XMLReader::expand(): An Error Occurred while expanding in %s on line %d
H A Dbug64230.phpt2 Bug #64230 (XMLReader does not suppress errors)
19 $x = new XMLReader;
28 $x = new XMLReader;
43 Warning: XMLReader::read(): %s: parser error : Specification mandate%A value for attribute att in %…
45 Warning: XMLReader::read(): <root att/> in %s on line %d
47 Warning: XMLReader::read(): ^ in %s on line %d
H A D002.phpt2 XMLReader: libxml2 XML Reader, file data
12 $reader = new XMLReader();
19 $reader = new XMLReader();
32 $reader = new XMLReader();
39 XMLReader::open(): Argument #1 ($uri) cannot be empty
H A Dbug73246.phpt2 Bug #73246 (XMLReader: encoding length not checked)
7 $reader = new XMLReader();
12 Warning: XMLReader::open(): Encoding must not contain NUL bytes in %s on line %d
14 Warning: XMLReader::XML(): Encoding must not contain NUL bytes in %s on line %d
H A D001.phpt2 XMLReader: libxml2 XML Reader, string data
11 $reader = new XMLReader();
19 $reader = new XMLReader();
31 XMLReader::XML(): Argument #1 ($source) cannot be empty
H A Dbug81521.phpt2 Bug #81521: XMLReader::getParserProperty may throw with a valid property
7 $reader = new XMLReader();
9 var_dump($reader->setParserProperty(XMLReader::LOADDTD, 1));
14 var_dump($reader->getParserProperty(XMLReader::LOADDTD));
H A Dbug74457.phpt2 XMLReader: Bug #74457 Wrong reflection on XMLReader::expand
7 $rm = new ReflectionMethod(XMLReader::class, 'expand');
H A D011.phpt2 XMLReader: libxml2 XML Reader, string data
6 <?php $reader = new XMLReader();
15 $reader = new XMLReader();
23 $reader = new XMLReader();
H A D007.phpt2 XMLReader: libxml2 XML Reader, setRelaxNGSchema
13 $reader = new XMLReader();
28 $reader = new XMLReader();
42 $reader = new XMLReader();
56 XMLReader::setRelaxNGSchema(): Argument #1 ($filename) cannot be empty
H A Dopen_error.phpt2 XMLReader: open error
7 $reader = new XMLReader();
12 Warning: XMLReader::open(): Unable to open source data in %s on line %d
H A DsetParserProperty_error.phpt2 XMLReader: setParserProperty Error
11 $reader = new XMLReader();
21 XMLReader::setParserProperty(): Argument #1 ($property) must be a valid parser property
H A Dgh14183.phpt2 GH-14183 (XMLReader::open() can't be overridden)
7 class MyXMLReader extends XMLReader
9 … public static function open(string $uri, string $encoding = null, int $flags = 0): bool|\XMLReader
H A Dbug51936.phpt2 Bug #51936 (Crash with clone XMLReader)
9 $xmlreader = new XMLReader();
20 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class XMLReader in %s:%d
H A Dstatic.phpt2 Calling XMLReader::open() and ::XML() statically
13 $reader = XMLReader::open($filename);
18 $reader = XMLReader::XML($xmlstring);
H A Dgh16292.phpt12 $reader = new XMLReader();
22 Warning: XMLReader::expand(): Couldn't fetch DOMCharacterData in %s on line %d
25 Warning: XMLReader::expand(): Couldn't fetch DOMCharacterData in %s on line %d
H A Dexpand.phpt2 XMLReader: Expand into existing DOM documet
7 <?php $reader = new XMLReader();
22 $reader = new XMLReader();
H A DreadString_basic.phpt2 XMLReader: readString basic
10 $reader = new XMLReader();
H A D015-move-errors.phpt2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace, with invalid ar…
16 $reader = new XMLReader();
44 Deprecated: XMLReader::moveToAttributeNs(): Passing null to parameter #2 ($namespace) of type strin…
45 XMLReader::moveToAttributeNs(): Argument #2 ($namespace) cannot be empty

Completed in 32 milliseconds

12