config root man

Current Path : /usr/local/lib/python2.5/xml/sax/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/xml/sax/expatreader.pyo

³ò
h”Rc@s'dZdZddkTddklZlZddklZddklZlZddkl	Z	ddkl
Z
lZdd	kZei
d
 djoedeƒ‚n[ydd
klZWn"ej
oedeƒ‚n&Xeedƒoedeƒ‚nddklZlZlZeiZeiZydd	kZWnej
od„ZnXdd	kZeiZ[[deifd„ƒYZdei eifd„ƒYZ!d„Z"e#djoRdd	kZ$e"ƒZ%e%i&e$i'i(ƒƒe%i)e$i'i*ƒƒe%i+dƒnd	S(s]
SAX driver for the pyexpat C module.  This driver works with
pyexpat.__version__ == '2.22'.
s0.20iÿÿÿÿ(t*(tfeature_validationtfeature_namespaces(tfeature_namespace_prefixes(tfeature_external_gestfeature_external_pes(tfeature_string_interning(tproperty_xml_stringtproperty_interning_dictNitjavasexpat not available in Java(texpatsexpat not supportedtParserCreate(t	xmlreadertsaxutilsthandlercCs|S(N((to((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt_mkproxy'stExpatLocatorcBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(s¼Locator for use with the ExpatParser class.

    This uses a weak reference to the parser object to avoid creating
    a circular reference between the parser and the content handler.
    cCst|ƒ|_dS(N(Rt_ref(tselftparser((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt__init__6scCs+|i}|idjodSn|iiS(N(Rt_parsertNonetErrorColumnNumber(RR((s//usr/local/lib/python2.5/xml/sax/expatreader.pytgetColumnNumber9s	cCs+|i}|idjodSn|iiS(Ni(RRRtErrorLineNumber(RR((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt
getLineNumber?s	cCs+|i}|djodSn|iiƒS(N(RRt_sourcetgetPublicId(RR((s//usr/local/lib/python2.5/xml/sax/expatreader.pyREs	
cCs+|i}|djodSn|iiƒS(N(RRRtgetSystemId(RR((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRKs	
(t__name__t
__module__t__doc__RRRRR(((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR0s				tExpatParsercBs%eZdZdd$d„Zd„Zd„Zd„Zd	„Zd
„Zd„Z	d„Z
dd
„Zd„Zd„Z
d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd „Zd!„Zd"„Z RS(%s$SAX driver for the pyexpat C module.iiiicCsetii||ƒtiƒ|_d|_||_d|_d|_	g|_
d|_d|_dS(Nii(
RtIncrementalParserRtInputSourceRRRt_namespacest_lex_handler_propt_parsingt
_entity_stackt
_external_gest
_interning(RtnamespaceHandlingtbufsize((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRWs						cCsOti|ƒ}||_|iƒ|iit|ƒƒtii	||ƒdS(s3Parse an XML document from a URL or an InputSource.N(
R
tprepare_input_sourceRtresett
_cont_handlertsetDocumentLocatorRRR#tparse(Rtsource((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR1ds
	
cCs1|iƒdjo|ii|iƒƒndS(N(RRRtSetBase(RR2((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt
prepareParsermscCs/tii||ƒ|io|iƒndS(N(RR#tsetContentHandlerR't_reset_cont_handler(RR((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR5ss
cCs€|tjo|iSnU|tjo|idj	Sn7|tttfjodSn|tjo|i	Snt
d|ƒ‚dS(NisFeature '%s' not recognized(RR%RR*RRRRRR)tSAXNotRecognizedException(Rtname((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt
getFeaturexs

	

cCs|iotdƒ‚n|tjo
||_nå|tjo
||_nË|tjo5|o!|idjo
h|_qŒqd|_n‰|t	jo|otdƒ‚qna|t
jo|otdƒ‚qn9|tjo|otdƒ‚qntd|ƒ‚dS(Ns!Cannot set features while parsings!expat does not support validations/expat does not read external parameter entitiess(expat does not report namespace prefixessFeature '%s' not recognized(
R'tSAXNotSupportedExceptionRR%RR)RR*RRRRR7(RR8tstate((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt
setFeature„s2









cCs¢|tijo|iSnt|tjo|iSn\|tjoN|io4t|idƒo|iiƒSqŠt	dƒ‚qŽt
dƒ‚nt	d|ƒ‚dS(NtGetInputContexts=This version of expat does not support getting the XML strings.XML string cannot be returned when not parsingsProperty '%s' not recognized(Rtproperty_lexical_handlerR&RR*RRthasattrR=R7R:(RR8((s//usr/local/lib/python2.5/xml/sax/expatreader.pytgetProperty¢s




cCs„|tijo%||_|io|iƒq€nL|tjo
||_n2|tjotd|ƒ‚nt	d|ƒ‚dS(NsProperty '%s' cannot be setsProperty '%s' not recognized(
RR>R&R't_reset_lex_handler_propRR*RR:R7(RR8tvalue((s//usr/local/lib/python2.5/xml/sax/expatreader.pytsetProperty´s	



cCs’|ip$|iƒd|_|iiƒny|ii||ƒWnFtij
o7}tti	|i
ƒ||ƒ}|ii|ƒnXdS(Ni(
R'R.R/t
startDocumentRtParseR
terrortSAXParseExceptiontErrorStringtcodet_err_handlert
fatalError(RtdatatisFinaltetexc((s//usr/local/lib/python2.5/xml/sax/expatreader.pytfeedÄs

	cCsH|iodSn|idddƒ|iiƒd|_d|_dS(NtRMii(R(RPR/tendDocumentR'RR(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pytcloseÕs

	cCs(|ii|i_|ii|i_dS(N(R/tprocessingInstructionRtProcessingInstructionHandlert
characterstCharacterDataHandler(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR6ßscCs|i}|i}|djo1d|_d|_d|_d|_d|_n=|i|_|i	|_|i
|_|i|_|i|_dS(N(
R&RRtCommentHandlertStartCdataSectionHandlertEndCdataSectionHandlertStartDoctypeDeclHandlertEndDoctypeDeclHandlertcommentt
startCDATAtendCDATAtstart_doctype_decltendDTD(RtlexR((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRAäs		
				
cCsi|ioUti|iiƒdd|iƒ|_d|i_|i|i_	|i
|i_nCti|iiƒd|iƒ|_|i|i_	|i
|i_|iƒ|i|i_|i|i_|i|i_|i|i_d|_|io|iƒn|i|i_y|i|i_Wntj
onX|ii ti!ƒd|_"g|_#dS(Nt tinternii($R%R
RRtgetEncodingR*Rtnamespace_prefixeststart_element_nstStartElementHandlertend_element_nstEndElementHandlert
start_elementtend_elementR6tunparsed_entity_decltUnparsedEntityDeclHandlert
notation_decltNotationDeclHandlertstart_namespace_decltStartNamespaceDeclHandlertend_namespace_decltEndNamespaceDeclHandlerRt_decl_handler_propR&RAtexternal_entity_reftExternalEntityRefHandlertskipped_entity_handlertSkippedEntityHandlertAttributeErrortSetParamEntityParsingt*XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONER'R((R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR.ôs6

	
	
	cCs"|idjodSn|iiS(N(RRR(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRscCs"|idjodSn|iiS(Ni(RRR(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR scCs
|iiƒS(N(RR(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR%scCs
|iiƒS(N(RR(R((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR(scCs|ii|t|ƒƒdS(N(R/tstartElementtAttributesImpl(RR8tattrs((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRk,scCs|ii|ƒdS(N(R/t
endElement(RR8((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRl/scCsT|iƒ}t|ƒdjod|f}n8t|ƒdjo|d|df}n
t|ƒ}h}h}x¼|iƒD]®\}}|iƒ}t|ƒ}	|	djo|}
d|f}nT|	djo0d|d|df}
|d|df}n|d}
t|ƒ}|||<|
||<qW|ii|dt||ƒƒdS(Niiis%s:%si(tsplittlenRttupletitemsR/tstartElementNStAttributesNSImpl(RR8RtpairtnewattrstqnamestanameRBtpartstlengthtqnametapair((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRg2s0




cCs}|iƒ}t|ƒdjod|f}n8t|ƒdjo|d|df}n
t|ƒ}|ii|dƒdS(Niii(RR‚RRƒR/tendElementNS(RR8R‡((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRiTscCs|ii||ƒdS(N(R/RT(RttargetRL((s//usr/local/lib/python2.5/xml/sax/expatreader.pytprocessing_instruction`scCs|ii|ƒdS(N(R/RV(RRL((s//usr/local/lib/python2.5/xml/sax/expatreader.pytcharacter_datadscCs|ii||ƒdS(N(R/tstartPrefixMapping(Rtprefixturi((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRqgscCs|ii|ƒdS(N(R/tendPrefixMapping(RR”((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRsjscCs|ii|||ƒdS(N(R&tstartDTD(RR8tsysidtpubidthas_internal_subset((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR`mscCs|ii||||ƒdS(N(t_dtd_handlertunparsedEntityDecl(RR8tbaseR˜R™t
notation_name((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRmpscCs|ii|||ƒdS(N(R›tnotationDecl(RR8RR˜R™((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRosscCsÏ|ipdSn|ii||ƒ}ti||iiƒpdƒ}|ii|i	|ifƒ|i	i
|ƒ|_	||_ytii
||ƒWndSnX|id\|_	|_|id=dS(NiRQiiÿÿÿÿ(R)t_ent_handlert
resolveEntityR
R-RRR(tappendRtExternalEntityParserCreateRR#R1(RtcontextRR˜R™R2((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRvvs 
			
cCs)|od|}n|ii|ƒdS(Nt%(R/t
skippedEntity(RR8tis_pe((s//usr/local/lib/python2.5/xml/sax/expatreader.pyRxŒsiiìÿ(!RR R!RR1R4R5R9R<R@RCRPRSR6RAR.RRRRRkRlRgRiR‘R’RqRsR`RmRoRvRx(((s//usr/local/lib/python2.5/xml/sax/expatreader.pyR"Ts>
									
			'							"									cOs
t||ŽS(N(R"(targstkwargs((s//usr/local/lib/python2.5/xml/sax/expatreader.pyt
create_parser”st__main__s../../../hamlet.xml(,R!tversiontxml.sax._exceptionstxml.sax.handlerRRRRRRRRtsystplatformtSAXReaderNotAvailableRtxml.parsersR
tImportErrorR?txml.saxRR
RR~R†t_weakrefRtweakreftproxytLocatorRR#R"RªRtxmltpR5tsaxtXMLGeneratortsetErrorHandlertErrorHandlerR1(((s//usr/local/lib/python2.5/xml/sax/expatreader.pys<module>sJ
			$ÿA	
	

Man Man