|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/ |
Upload File : |
mò
SÑX=c @ s~ d Z d k Z d k Z d k Z d k Z e i Z e i Z d k Td k
Td k Td k Td Z
d Z d e f d „ ƒ YZ d S( sµ
The main module of the parser. All other modules will be imported into this
one, so this module is the only one one needs to import. For validating
parsing, import xmlval instead.
N( t *s 0.70s $Revision: 1.25 $t XMLProcessorc B s t Z d Z d „ Z d „ Z d „ Z d d „ Z d „ Z e d „ Z d „ Z
d „ Z d
„ Z d „ Z
d „ Z d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( s8 A parser that performs a complete well-formedness check.c C sJ t i | ƒ t ƒ | _ t | ƒ | _ | i | _ d | _ d | _
d S( Ni ( t EntityParsert __init__t selft Applicationt appt WFCDTDt dtdt entt Nonet dtd_listenert
stop_on_wf( R ( ( tD /usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlproc.pyR s
c C s | | _ | i | ƒ d S( s' Sets the object to send data events to.N( R R t set_locator( R R ( ( R
t set_application' s c C s
| | _ d S( s6 Registers an object that listens for DTD parse events.N( t listenerR R ( R R ( ( R
t set_dtd_listener, s i c C s
| | _ d S( sè Sets the parser policy on well-formedness errors. If this is set to
0 data events are still delivered, even after well-formedness errors.
Otherwise no more data events reach the application after such erors.
N( R R ( R R ( ( R
t set_data_after_wf_error0 s c C s
| | _ d S( sQ Tells the parser whether to read the external subset of documents
or not.N( t read_itR t read_external_subset( R R ( ( R
t set_read_external_subset7 s c C s>