diff options
author | Daniel Veillard <veillard@src.gnome.org> | 1999-09-22 09:46:25 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 1999-09-22 09:46:25 +0000 |
commit | 7f7d1119afb072466b0a74293b6898025d6641db (patch) | |
tree | 2ed4d13af9a333a88341041894bd0e48b9a73f3e /parser.h | |
parent | 1b0f55fbc0fe25a223e0c00dadeb762ed28c86aa (diff) | |
download | android_external_libxml2-7f7d1119afb072466b0a74293b6898025d6641db.tar.gz android_external_libxml2-7f7d1119afb072466b0a74293b6898025d6641db.tar.bz2 android_external_libxml2-7f7d1119afb072466b0a74293b6898025d6641db.zip |
Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,
etc... See Changelog, Daniel.
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 29 |
1 files changed, 16 insertions, 13 deletions
@@ -105,25 +105,13 @@ typedef struct _xmlParserCtxt { struct xmlSAXHandler *sax; /* The SAX handler */ void *userData; /* the document being built */ xmlDocPtr myDoc; /* the document being built */ + int wellFormed; /* is the document well formed */ int replaceEntities; /* shall we replace entities ? */ const CHAR *version; /* the XML version string */ const CHAR *encoding; /* encoding, if any */ int standalone; /* standalone document */ - int hasExternalSubset; /* reference and external subset */ - int hasPErefs; /* the internal subset has PE refs */ int html; /* are we parsing an HTML document */ - int external; /* are we parsing an external entity */ - - int wellFormed; /* is the document well formed */ - int valid; /* is the document valid */ - int validate; /* shall we try to validate ? */ - xmlValidCtxt vctxt; /* The validity context */ - xmlParserInputState instate; /* current type of input */ - int token; /* next char look-ahead */ - - char *directory; /* the data directory */ - /* Input stream stack */ xmlParserInputPtr input; /* Current input stream */ int inputNr; /* Number of current input streams */ @@ -138,6 +126,21 @@ typedef struct _xmlParserCtxt { int record_info; /* Whether node info should be kept */ xmlParserNodeInfoSeq node_seq; /* info about each node parsed */ + + int errno; /* error code */ + + int hasExternalSubset; /* reference and external subset */ + int hasPErefs; /* the internal subset has PE refs */ + int external; /* are we parsing an external entity */ + + int valid; /* is the document valid */ + int validate; /* shall we try to validate ? */ + xmlValidCtxt vctxt; /* The validity context */ + + xmlParserInputState instate; /* current type of input */ + int token; /* next char look-ahead */ + + char *directory; /* the data directory */ } _xmlParserCtxt; typedef _xmlParserCtxt xmlParserCtxt; typedef xmlParserCtxt *xmlParserCtxtPtr; |