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:
Rob Richards 2006-05-10 12:04:46 +00:00
parent ac97b77ed9
commit aa38b5572e
4 changed files with 182 additions and 74 deletions

View file

@ -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;