config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_sax.pyo

³ò
h”Rc@sÿddklZlZlZlZlZyeƒWnej
oedƒ‚nXddklZl	Z	l
Z
lZlZddk
lZddklZlZlZddklZddklZlZlZlZddkZd	agZd
„Zd„Zd„Zd
„Z d„Z!d„Z"d„Z#d„Z$d„Z%d„Z&d„Z'd„Z(d„Z)d„Z*dZ+d„Z,d„Z-d„Z.d„Z/d„Z0d„Z1dZ2d „Z3d!„Z4d"„Z5d#„Z6d$„Z7d%„Z8d&dPd'„ƒYZ9d(„Z:d)dQd*„ƒYZ;d+„Z<d,efd-„ƒYZ=d.„Z>d/„Z?d0„Z@d1„ZAeBed2eiCd3eiCd4ƒƒiDƒZEd5„ZFd6„ZGd7„ZHd8„ZId9„ZJd:„ZKd;„ZLd<„ZMd=„ZNd>„ZOd?dRd@„ƒYZPdA„ZQdB„ZRdC„ZSdD„ZTdE„ZUdF„ZVdG„ZWdH„ZXdI„ZYdJ„ZZe[ƒi\ƒZ\e\i]ƒx9e\D]1\Z^Z_e^dK dLjoee_ƒe^ƒqpqpW[\eodMte`eƒfGHneo,edNe`eƒtdOiaeƒfƒ‚ndS(Siÿÿÿÿ(tmake_parsertContentHandlertSAXExceptiontSAXReaderNotAvailabletSAXParseExceptionsno XML parsers available(tXMLGeneratortescapetunescapet	quoteattrt
XMLFilterBase(t
create_parser(tInputSourcetAttributesImpltAttributesNSImpl(tStringIO(tverifytverboset
TestFailedtfindfileNicCs:tda|oto
dG|GHq6nti|ƒdS(NitPassed(ttestsRtfailurestappend(toutcometname((s)/usr/local/lib/python2.5/test/test_sax.pytconfirms

cCs°yšddkl}|ƒ}ddkl}|ƒ}ddkl}|ƒ}ddkl}|ƒ}ddkl}|ƒ}ddkl}|ƒ}WndSnX|SdS(Niÿÿÿÿ(Ri(txml.saxR(Rtp((s)/usr/local/lib/python2.5/test/test_sax.pyttest_make_parser2"s 					
cCstdƒdjS(NsDonald Duck & CosDonald Duck &amp; Co(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_escape_basicAscCstdƒdjS(Ns<Donald Duck & Co>s&lt;Donald Duck &amp; Co&gt;(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_escape_allDscCstdhdd<ƒdjS(Ns
Hei på degs&aring;tåsHei p&aring; deg(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_escape_extraGscCstdƒdjS(NsDonald Duck &amp; CosDonald Duck & Co(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_unescape_basicLscCstdƒdjS(Ns&lt;Donald Duck &amp; Co&gt;s<Donald Duck & Co>(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_unescape_allOscCstdhdd<ƒdjS(Ns
Hei på degs&aring;RsHei p&aring; deg(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_unescape_extraRscCstdhdd<ƒdjS(Ns	&amp;foo;tsplats&foo;(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_unescape_amp_extraUscCstdƒdjS(NsDonald Duck & Cos"Donald Duck &amp; Co"(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_quoteattr_basicZscCstdƒdjS(NsIncludes "double" quotess'Includes "double" quotes'(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_single_quoteattr]s	cCstdƒdjS(NsIncludes 'single' quotess"Includes 'single' quotes"(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_double_quoteattras	cCstdƒdjS(Ns%Includes 'single' and "double" quotess1"Includes 'single' and &quot;double&quot; quotes"(R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_single_double_quoteattres	cCs)ytdgƒ}WndSnX|SdS(Nsxml.parsers.no_such_parseri(R(R((s)/usr/local/lib/python2.5/test/test_sax.pyttest_make_parserks
s,<?xml version="1.0" encoding="iso-8859-1"?>
cCsZtƒ}t|ƒ}|iƒ|idhƒ|idƒ|iƒ|iƒtdjS(Ntdocs<doc></doc>(RRt
startDocumenttstartElementt
endElementtendDocumenttgetvaluetstart(tresulttgen((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_basiczs	


cCsgtƒ}t|ƒ}|iƒ|idhƒ|idƒ|idƒ|iƒ|iƒtdjS(NR+thuheis<doc>huhei</doc>(	RRR,R-t
charactersR.R/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_content„s	



cCsjtƒ}t|ƒ}|iƒ|iddƒ|idhƒ|idƒ|iƒ|iƒtdjS(NttesttdataR+s<?test data?><doc></doc>(	RRR,tprocessingInstructionR-R.R/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_pis	


cCsgtƒ}t|ƒ}|iƒ|idhƒ|idƒ|idƒ|iƒ|iƒtdjS(NR+s<huhei&s<doc>&lt;huhei&amp;</doc>(	RRR,R-R6R.R/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_content_escapeœs	



cCsÕtƒ}t|ƒ}|iƒ|idhdd<ƒ|idhdd<ƒ|idƒ|idhdd<ƒ|idƒ|idhdd<ƒ|idƒ|idƒ|iƒ|iƒtdjS(	NR+t"tatet's'"s

	sK<doc a='"'><e a="'"></e><e a="'&quot;"></e><e a="&#10;&#13;&#9;"></e></doc>(RRR,R-R.R/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_attr_escape¨s	





cCsgtƒ}t|ƒ}|iƒ|idhƒ|idƒ|idƒ|iƒ|iƒtdjS(NR+t s<doc> </doc>(	RRR,R-tignorableWhitespaceR.R/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_ignorable»s	



s%http://www.python.org/xml-ns/saxtest/cCs°tƒ}t|ƒ}|iƒ|idtƒ|itdfdhƒ|iddhƒ|iddƒ|itdfdƒ|idƒ|i	ƒ|i
ƒtdtjS(Ntns1R+sns1:doctudocs/<ns1:doc xmlns:ns1="%s"><udoc></udoc></ns1:doc>(NRF(NRF(RRR,tstartPrefixMappingtns_uritstartElementNStNonetendElementNStendPrefixMappingR/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_xmlgen_nsÉs	


cCsitƒ}t|ƒ}|iƒ|iddhdd<ƒ|iddƒ|iƒ|iƒtdjS(NR>tctbs
<a b="c"></a>(NR>(NRO(NR>(	RRR,RIRJRKR/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_1463026_1Ûs	

cCs}tƒ}t|ƒ}|iƒ|iddƒ|iddhƒ|iddƒ|idƒ|iƒ|i	ƒt
djS(NtquxR>s<a xmlns="qux"></a>(RQR>(RQR>(RRR,RGRJRIRKRLR/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_1463026_2æs	


cCs†tƒ}t|ƒ}|iƒ|iddƒ|iddhdd<ƒ|id	dƒ|idƒ|iƒ|i	ƒt
djS(
NtmyRQR>RNROs"<my:a xmlns:my="qux" b="c"></my:a>(squxR>(NRO(squxR>(RRR,RGRIRJRKRLR/R0R1(R2R3((s)/usr/local/lib/python2.5/test/test_sax.pyttest_1463026_3ós	


cCsŠtƒ}t|ƒ}tƒ}|i|ƒ|iƒ|idhƒ|idƒ|idƒ|idƒ|i	ƒ|i
ƒtdjS(NR+tcontentRBs<doc>content </doc>(RRR	tsetContentHandlerR,R-R6RCR.R/R0R1(R2R3tfilter((s)/usr/local/lib/python2.5/test/test_sax.pyttest_filter_basics		





cCs_tƒ}tƒ}t|ƒ}|i|ƒ|ittdtidƒƒƒ|i	ƒt
jS(NR8txml(R
RRRVtparsetopenRtostextsepR0txml_test_out(tparserR2txmlgen((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_files		
$tTestDTDHandlercBs#eZd„Zd„Zd„ZRS(cCsg|_g|_dS(N(t
_notationst	_entities(tself((s)/usr/local/lib/python2.5/test/test_sax.pyt__init__'s	cCs|ii|||fƒdS(N(RcR(ReRtpublicIdtsystemId((s)/usr/local/lib/python2.5/test/test_sax.pytnotationDecl+scCs |ii||||fƒdS(N(RdR(ReRRgRhtndata((s)/usr/local/lib/python2.5/test/test_sax.pytunparsedEntityDecl.s(t__name__t
__module__RfRiRk(((s)/usr/local/lib/python2.5/test/test_sax.pyRb%s		cCstƒ}tƒ}|i|ƒ|idƒ|idƒ|idƒ|idƒ|idƒ|iƒ|id
gjo|idgjS(Ns<!DOCTYPE doc [
s-  <!ENTITY img SYSTEM "expat.gif" NDATA GIF>
sW  <!NOTATION GIF PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN">
s]>
s<doc></doc>tGIFs;-//CompuServe//NOTATION Graphics Interchange Format 89a//ENtimgs	expat.gif(Rns;-//CompuServe//NOTATION Graphics Interchange Format 89a//ENN(RoNs	expat.gifRn(R
Rbt
setDTDHandlertfeedtcloseRcRJRd(R_thandler((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_dtdhandler1s		






tTestEntityResolvercBseZd„ZRS(cCs tƒ}|itdƒƒ|S(Ns	<entity/>(Rt
setByteStreamR(ReRgRhtinpsrc((s)/usr/local/lib/python2.5/test/test_sax.pyt
resolveEntityDs	(RlRmRx(((s)/usr/local/lib/python2.5/test/test_sax.pyRuBscCs‡tƒ}|itƒƒtƒ}|it|ƒƒ|idƒ|idƒ|idƒ|idƒ|iƒ|iƒt	djS(Ns<!DOCTYPE doc [
s#  <!ENTITY test SYSTEM "whatever">
s]>
s<doc>&test;</doc>s<doc><entity></entity></doc>(
R
tsetEntityResolverRuRRVRRqRrR0R1(R_R2((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_entityresolverIs		




tAttrGatherercBseZd„Zd„ZRS(cCs
||_dS(N(t_attrs(ReRtattrs((s)/usr/local/lib/python2.5/test/test_sax.pyR-[scCs
||_dS(N(R|(ReRtqnameR}((s)/usr/local/lib/python2.5/test/test_sax.pyRI^s(RlRmR-RI(((s)/usr/local/lib/python2.5/test/test_sax.pyR{Ys	cCsCtƒ}tƒ}|i|ƒ|idƒ|iƒt|iƒS(Ns<doc/>(R
R{RVRqRrtverify_empty_attrsR|(R_tgather((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_attrs_emptyas		


cCsCtƒ}tƒ}|i|ƒ|idƒ|iƒt|iƒS(Ns<doc attr='val'/>(R
R{RVRqRrtverify_attrs_wattrR|(R_R€((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_attrs_wattrks		


cCsFtdƒ}tƒ}|i|ƒ|idƒ|iƒt|iƒS(Nis<doc/>(R
R{RVRqRrtverify_empty_nsattrsR|(R_R€((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_nsattrs_emptyus	


cCs†tdƒ}tƒ}|i|ƒ|idtƒ|iƒ|i}|iƒdjo-|iƒtdfgjo|i	ƒgjp|i	ƒdgjoèt
|ƒdjoÕ|itdfƒo¿|iƒtdfgjo£|i
tdfƒdjo‡|i
tdfdƒdjoh|iƒtdfdfgjoF|iƒdgjo0|itdfƒdjo|tdfdjS(Nis"<doc xmlns:ns='%s' ns:attr='val'/>tattrsns:attrtvali(R
R{RVRqRHRrR|t	getLengthtgetNamest	getQNamestlenthas_keytkeystgettitemstvaluestgetValue(R_R€R}((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_nsattrs_wattrs$	

	)"R8RYtoutcCsYtƒ}tƒ}t|ƒ}|i|ƒ|itdtidƒƒ|iƒt	jS(NR8RY(
R
RRRVRZRR\R]R0R^(R_R2R`((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_inpsource_filenamešs		
cCs_tƒ}tƒ}t|ƒ}|i|ƒ|ittdtidƒƒƒ|i	ƒt
jS(NR8RY(R
RRRVRZRRR\R]R0R^(R_R2R`((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_inpsource_sysid¤s		
$cCsutƒ}tƒ}t|ƒ}|i|ƒtƒ}|ittdti	dƒƒƒ|i
|ƒ|iƒtjS(NR8RY(
R
RRRVRRvR[RR\R]RZR0R^(R_R2R`Rw((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_inpsource_stream®s		
	$
cCsctƒ}t|ƒ}tƒ}|i|ƒ|idƒ|idƒ|iƒ|iƒtdjS(Ns<doc>s</doc>s<doc></doc>(RRR
RVRqRrR0R1(R2R`R_((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_incremental¼s		



cCs¶tƒ}t|ƒ}tƒ}|i|ƒ|idƒ|idƒtƒ}t|ƒ}|i|ƒ|iƒ|idƒ|idƒ|idƒ|iƒ|iƒtdjS(Ns<doc>ttexts</doc>s<doc>text</doc>(	RRR
RVRqtresetRrR0R1(R2R`R_((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_incremental_resetÈs		


	





cCs…tƒ}t|ƒ}tƒ}|i|ƒ|idƒ|idƒ|iƒ|iƒdjo#|iƒdjo|i	ƒdjS(Ns<doc>s</doc>i(
RRR
RVRqRrtgetSystemIdRJtgetPublicIdt
getLineNumber(R2R`R_((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_locator_noinfoßs		



cCsgtƒ}t|ƒ}tƒ}|i|ƒ|itdƒƒ|iƒtdƒjo|iƒdjS(Nstest.xml(	RRR
RVRZRR›RœRJ(R2R`R_((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_locator_withinfoís		
cCs…tƒ}|itƒƒtƒ}|itdƒƒd}|i|ƒy|i|ƒWn%tj
o}|i	ƒ|jSnXdS(Ns<foo bar foobar>sa file name(
R
RVRRRvRtsetSystemIdRZRR›(R_tsourceRR?((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_inpsource_locationþs		
cCsRtƒ}|itƒƒy|itdƒƒWntj
odSnXdSdS(Ns<foo>ii(R
RVRRZRR(R_((s)/usr/local/lib/python2.5/test/test_sax.pyttest_expat_incomplete
s		cCs€ttddtddƒƒƒttddtddƒƒƒttddtddƒƒƒttddtddƒƒƒdS(Ntmessagei(tstrRRJtDummyLocator(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_sax_parse_exception_strsR¦cBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs||_||_dS(N(t_linenot_colno(Retlinenotcolno((s)/usr/local/lib/python2.5/test/test_sax.pyRf(s	cCsdS(Ntpubid((Re((s)/usr/local/lib/python2.5/test/test_sax.pyRœ,scCsdS(Ntsysid((Re((s)/usr/local/lib/python2.5/test/test_sax.pyR›/scCs|iS(N(R¨(Re((s)/usr/local/lib/python2.5/test/test_sax.pyR2scCs|iS(N(R©(Re((s)/usr/local/lib/python2.5/test/test_sax.pytgetColumnNumber5s(RlRmRfRœR›RR®(((s)/usr/local/lib/python2.5/test/test_sax.pyR¦'s
				cCsßy|idƒd}Wntj
o
d}nXy|idƒd}Wntj
o
d}nXy|idƒd}Wntj
o
d}nXy|idƒd}Wntj
o
d}nXy|dd}Wntj
o
d}nX|iƒdjoÒ|iƒgjo¿|iƒgjo¬t|ƒdjo™|i	dƒoˆ|i
ƒgjou|idƒdjo_|iddƒdjoF|i
ƒgjo3|iƒgjo |o|o|o|o|S(NR†iiR}i(R‘tKeyErrortgetValueByQNametgetNameByQNametgetQNameByNameRˆR‰RŠR‹RŒRRŽRJRR(R}tgvktgvqktgnqktgqnktgik((s)/usr/local/lib/python2.5/test/test_sax.pyR@sH








cCs9|iƒdjo&|iƒdgjo|iƒdgjoút|ƒdjoç|idƒo×|iƒdgjoÁ|idƒdjo«|iddƒdjo’|iƒdgjo||iƒdgjof|i	dƒdjoP|i
dƒdjo:|idƒdjo$|ddjo|idƒdjS(NiR†R‡i(sattrsval(
RˆR‰RŠR‹RŒRRŽRRR‘R°R±R²(R}((s)/usr/local/lib/python2.5/test/test_sax.pyR‚kscCstthƒƒS(N(RR(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_attrs_empty|scCstthdd<ƒƒS(NR‡R†(R‚R(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_attrs_wattrscCsy|itdfƒd}Wntj
o
d}nXy|idƒd}Wntj
o
d}nXy|idƒd}Wntj
o
d}nXy|itdfƒd}Wntj
o
d}nXy|tdfd}Wntj
o
d}nX|iƒdjoä|iƒgjoÑ|iƒgjo¾t	|ƒdjo«|i
tdfƒo”|iƒgjo|itdfƒdjoe|itdfdƒdjoF|iƒgjo3|iƒgjo |o|o|o|o|S(NR†iisns:attri(R‘RHR¯R°R±R²RˆR‰RŠR‹RŒRRŽRJRR(R}R³R´RµR¶R·((s)/usr/local/lib/python2.5/test/test_sax.pyR„„sH






cCstthhƒƒS(N(R„R
(((s)/usr/local/lib/python2.5/test/test_sax.pyttest_nsattrs_empty¯scCs¨thdtdf<hdtdf<ƒ}|iƒdjoh|iƒtdfgjoL|iƒdgjo6t|ƒdjo#|itdfƒo
|iƒtdfgjoñ|itdfƒdjoÕ|itdfdƒdjo¶|i	ƒtdfdfgjo”|i
ƒdgjo~|itdfƒdjob|idƒdjoL|i
dƒtdfjo0|tdfdjo|itdfƒdjS(NR‡R†sns:attrii(R
RHRˆR‰RŠR‹RŒRRŽRRR‘R°R±R²(R}((s)/usr/local/lib/python2.5/test/test_sax.pyttest_nsattrs_wattr²s""c
Cs”ddk}|iiƒ}x5|iiƒD]$}|idƒo|i|=q+q+Wz)ddk}|ii}|idjSWd|ii	|ƒXdS(Niÿÿÿÿsxml.sxml.sax.expatreader(
tsystmodulestcopyRt
startswithtxml.sax.expatreadertsaxtexpatreaderRltupdate(R¼told_modulestmodnameRYtmodule((s)/usr/local/lib/python2.5/test/test_sax.pyttest_sf_1511497ÞscCsXtdƒ}tƒ}ddkl}y|i|ƒWn|j
otSnXtSdS(Ntinvalidiÿÿÿÿ(R(RRRRRZtTruetFalse(tsioR_R((s)/usr/local/lib/python2.5/test/test_sax.pyttest_sf_1513611ìs		cCs•tƒ}tƒ}t|ƒ}|i|ƒ|itdtidƒƒttdtidtidƒdƒ}|i	|i
ƒƒ|iƒdS(NR8RYR“tw(R
RRRVRZRR\R]R[twriteR0Rr(R_R2R`toutf((s)/usr/local/lib/python2.5/test/test_sax.pytmake_test_outputús		
+ittest_s%d tests, %d failuress%d of %d tests failed: %ss, ((((bRRRRRRtImportErrortxml.sax.saxutilsRRRRR	RÀR
txml.sax.xmlreaderRRR
t	cStringIORttest.test_supportRRRRR\RRRRRRR R!R"R#R%R&R'R(R)R*R1R4R7R;R<RARDRHRMRPRRRTRXRaRbRtRuRzR{RRƒR…R’R[R]treadR^R”R•R–R—RšRžRŸR¢R£R§R¦RR‚R¸R¹R„RºR»RÇRÌRÐtlocalsRtsortRtvalueR‹tjoin(((s)/usr/local/lib/python2.5/test/test_sax.pys<module>s¦(("	
													
	
								
						
	
	
	.	
	
							
		+				+		,			


Man Man