diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-03 16:53:19 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-03 16:53:19 +0000 |
| commit | 26f1dcc5bda9fbd0711bd93f72ed20d4eaec3cbf (patch) | |
| tree | 6fba6d67a5e6c9193a9df3f8dd5004a44eb177ec /python/libxml2-python-api.xml | |
| parent | 3ce5257b293ed75d8feb18ed7ab18ea2b52510bd (diff) | |
| download | android_external_libxml2-26f1dcc5bda9fbd0711bd93f72ed20d4eaec3cbf.tar.gz android_external_libxml2-26f1dcc5bda9fbd0711bd93f72ed20d4eaec3cbf.tar.bz2 android_external_libxml2-26f1dcc5bda9fbd0711bd93f72ed20d4eaec3cbf.zip | |
more accessor classes for the parser context, allow to switch on and check
* python/TODO python/generator.py python/libxml2-python-api.xml
python/libxml2class.txt: more accessor classes for the parser
context, allow to switch on and check validity
* python/tests/Makefile.am python/tests/error.py
python/tests/invalid.xml python/tests/valid.xml
python/tests/validate.py: attded more test and and added error.py
which I forgot to commit in the last step
Daniel
Diffstat (limited to 'python/libxml2-python-api.xml')
| -rw-r--r-- | python/libxml2-python-api.xml | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/python/libxml2-python-api.xml b/python/libxml2-python-api.xml index ec76f6ed..2c5eb048 100644 --- a/python/libxml2-python-api.xml +++ b/python/libxml2-python-api.xml @@ -31,7 +31,47 @@ <function name='xmlParserGetDoc' file='python_accessor'> <info>Get the document tree from a parser context.</info> <return type='xmlDocPtr' info="the document tree" field="myDoc"/> - <arg name='ctxt' type='xmlParserCtxtPtr' info='the SAX callback object or None'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + </function> + <function name='xmlParserGetWellFormed' file='python_accessor'> + <info>Get the well formed information from a parser context.</info> + <return type='int' info="the wellFormed field" field="wellFormed"/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + </function> + <function name='xmlParserGetIsValid' file='python_accessor'> + <info>Get the validity information from a parser context.</info> + <return type='int' info="the valid field" field="valid"/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + </function> + <function name='xmlParserSetValidate' file='python_accessor'> + <info>Switch the parser to validation mode.</info> + <return type='void'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + <arg name='validate' type='int' info='1 to activate validation'/> + </function> + <function name='xmlParserSetReplaceEntities' file='python_accessor'> + <info>Switch the parser to replace entities.</info> + <return type='void'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + <arg name='replaceEntities' type='int' info='1 to replace entities'/> + </function> + <function name='xmlParserSetPedantic' file='python_accessor'> + <info>Switch the parser to be pedantic.</info> + <return type='void'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + <arg name='pedantic' type='int' info='1 to run in pedantic mode'/> + </function> + <function name='xmlParserSetLoadSubset' file='python_accessor'> + <info>Switch the parser to load the DTD without validating.</info> + <return type='void'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + <arg name='loadsubset' type='int' info='1 to load the DTD'/> + </function> + <function name='xmlParserSetLineNumbers' file='python_accessor'> + <info>Switch on the generation of line number for elements nodes.</info> + <return type='void'/> + <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context'/> + <arg name='linenumbers' type='int' info='1 to save line numbers'/> </function> </symbols> </api> |
