mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Synch with HEAD
add readInnerXML, readOuterXML, readString, and setSchema functionality allow parser options to be passed when loading reader optimization: use xmlTextReader const functions for string properties add test
This commit is contained in:
parent
ac97b77ed9
commit
aa38b5572e
4 changed files with 182 additions and 74 deletions
|
@ -40,9 +40,7 @@ extern zend_module_entry xmlreader_module_entry;
|
|||
typedef struct _xmlreader_object {
|
||||
zend_object std;
|
||||
xmlTextReaderPtr ptr;
|
||||
/* input is used to allow strings to be loaded under libxml 2.5.x
|
||||
must manually allocate and de-allocate these - can be refactored when
|
||||
libxml 2.6.x becomes minimum version */
|
||||
/* strings must be set in input buffer as copy is required */
|
||||
xmlParserInputBufferPtr input;
|
||||
void *schema;
|
||||
HashTable *prop_handler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue