-í
éķ<c       sĒ     d  k  Z   d k l Z 	 d k l Z  d f  d     YZ B d   Z H e   Z I e i d d  Z	 L d e	 _
 e e	 i
 d j  M d	 e	 _
 e e	 i
 d	 j  N d
 e	 _
 e e	 i
 d	 j  O d e	 _
 e e	 i
 d j  R d e	 _ e e	 i d j  S d	 e	 _ e e	 i d	 j  T d
 e	 _ e e	 i d	 j  U d e	 _ e e	 i d j  X d e	 _ e e	 i d j  Y d	 e	 _ e e	 i d	 j  Z d
 e	 _ e e	 i d	 j  [ d e	 _ e e	 i d j  ] d d d d d d d d d d d d d d g Z h x- e Dh ]" Z i e e	 e e e e   q#Wk d Z  d e	 _
  y  e	 i e d	  Wne  e i j
 oS  d Ge	 i Ge i e	 i  GH d Ge	 i GH d Ge	 i GH d Ge	 i GHn X e i d d  Z	  d	 e	 _
  x- e D ]" Z  e e	 e e e e   qW y  e	 i e d	  Wne  e i j
 oS  d Ge	 i Ge i e	 i  GH d Ge	 i GH d Ge	 i GH d Ge	 i GHn X e i d d  Z	  d	 e	 _
  x- e D ]" Z  e e	 e e e e   qäW d  k Z   e i e  Z Ą y Ē e	 i e  Wne Ģ e i j
 oS Ī d Ge	 i Ge i e	 i  GHĨ d Ge	 i GHĶ d Ge	 i GH§ d Ge	 i GHn XŽ H­ d GHŪ e i   Ŋ e i d e  ° e i d d  ą d  GHē y ģ e i d d!  Wn( ī e j
 o Z ĩ d" GHķ e GHn
 Xļ d# GHš y ŧ e i d d$  Wn( ž e j
 o Z ― d% GHū e GHn
 XĀ d& GHĘ e i d d'  d  S((   N(   s   expat(   s   sortdicts	   Outputterc      sŋ    t  Z  d   Z  d   Z  d   Z  d   Z  d   Z  d   Z ! d   Z $ d   Z	 ' d	   Z
 * d
   Z . d   Z 2 d   Z 6 d   Z ; d   Z > d   Z RS(   Nc    s#     d Gt  |  Gt |  GHd  S(   Ns   Start element:
	(   s   reprs   names   sortdicts   attrs(   s   selfs   names   attrs(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   StartElementHandler s   c    s     d Gt  |  GHd  S(   Ns   End element:
	(   s   reprs   name(   s   selfs   name(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   EndElementHandler s   c    s>     | i   }  | o  d GH d Gt |  GHn d  S(   Ns   Character data:s   	(   s   datas   strips   repr(   s   selfs   data(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   CharacterDataHandler s   
c    s#     d Gt  |  Gt  |  GHd  S(   Ns   PI:
	(   s   reprs   targets   data(   s   selfs   targets   data(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   ProcessingInstructionHandler s   c    s#     d Gt  |  Gt  |  GHd  S(   Ns
   NS decl:
	(   s   reprs   prefixs   uri(   s   selfs   prefixs   uri(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   StartNamespaceDeclHandler s   c    s     d Gt  |  GHd  S(   Ns   End of NS decl:
	(   s   reprs   prefix(   s   selfs   prefix(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   EndNamespaceDeclHandler s   c    s   ! " d GHd  S(   Ns   Start of CDATA section(    (   s   self(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   StartCdataSectionHandler! s   c    s   $ % d GHd  S(   Ns   End of CDATA section(    (   s   self(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   EndCdataSectionHandler$ s   c    s   ' ( d Gt  |  GHd  S(   Ns
   Comment:
	(   s   reprs   text(   s   selfs   text(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   CommentHandler' s   c    s(   * + | \ } } } } , d G| GHd  S(   Ns   Notation declared:(   s   argss   names   bases   sysids   pubid(   s   selfs   argss   sysids   pubids   names   base(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   NotationDeclHandler* s   c    s+   . / | \ } } } } } 0 d G| GHd  S(   Ns   Unparsed entity decl:
	(   s   argss
   entityNames   bases   systemIds   publicIds   notationName(   s   selfs   argss   bases   publicIds   notationNames   systemIds
   entityName(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   UnparsedEntityDeclHandler. s   c    s   2 3 d GH4 d Sd  S(   Ns   Not standalonei   (    (   s   selfs   userData(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   NotStandaloneHandler2 s   c    s3   6 7 | \ } } } } 8 d G| d GH9 d Sd  S(   Ns   External entity ref:i   (   s   argss   contexts   bases   sysIds   pubId(   s   selfs   argss   sysIds   contexts   bases   pubId(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   ExternalEntityRefHandler6 s   c    s
   ; < d  S(   N(    (   s   selfs   userData(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   DefaultHandler; s   c    s
   > ? d  S(   N(    (   s   selfs   userData(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   DefaultHandlerExpand> s   (   s   __name__s
   __module__s   StartElementHandlers   EndElementHandlers   CharacterDataHandlers   ProcessingInstructionHandlers   StartNamespaceDeclHandlers   EndNamespaceDeclHandlers   StartCdataSectionHandlers   EndCdataSectionHandlers   CommentHandlers   NotationDeclHandlers   UnparsedEntityDeclHandlers   NotStandaloneHandlers   ExternalEntityRefHandlers   DefaultHandlers   DefaultHandlerExpand(    (    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys	   Outputter s   	c    s%   B C |  o D d GHn	 F d GHd  S(   Ns   OK.s   Not OK.(   s   ok(   s   ok(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   confirmB s   
s   namespace_separators   !i    i   i   s   StartElementHandlers   EndElementHandlers   CharacterDataHandlers   ProcessingInstructionHandlers   UnparsedEntityDeclHandlers   NotationDeclHandlers   StartNamespaceDeclHandlers   EndNamespaceDeclHandlers   CommentHandlers   StartCdataSectionHandlers   EndCdataSectionHandlers   DefaultHandlers   DefaultHandlerExpands   ExternalEntityRefHandlersn  <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<?xml-stylesheet href="stylesheet.css"?>
<!-- comment data -->
<!DOCTYPE quotations SYSTEM "quotations.dtd" [
<!ELEMENT root ANY>
<!NOTATION notation SYSTEM "notation.jpeg">
<!ENTITY acirc "&#226;">
<!ENTITY external_entity SYSTEM "entity.file">
<!ENTITY unparsed_entity SYSTEM "entity.file" NDATA notation>
%unparsed_entity;
]>

<root attr1="value1" attr2="value2&#8000;">
<myns:subelement xmlns:myns="http://www.python.org/namespace">
     Contents of subelements
</myns:subelement>
<sub2><![CDATA[contents of CDATA section]]></sub2>
&external_entity;
</root>
s   ** Errors   ** Lines	   ** Columns   ** BytesF   Testing constructor for proper handling of namespace_separator values:s    s   Legal values tested o.k.i*   s   Caught expected TypeError:s#   Failed to catch expected TypeError.s   too longs   Caught expected ValueError:s$   Failed to catch expected ValueError.s    (    s   pyexpats   xml.parserss   expats   test_supports   sortdicts	   Outputters   confirms   outs   ParserCreates   parsers   returns_unicodes   ordered_attributess   specified_attributess   HANDLER_NAMESs   names   setattrs   getattrs   datas   Parses   errors	   ErrorCodes   ErrorStrings   ErrorLineNumbers   ErrorColumnNumbers   ErrorByteIndexs   StringIOs   files	   ParseFiles   Nones	   TypeErrors   es
   ValueError(   s	   Outputters   expats   es   names   confirms   StringIOs   datas   parsers   sortdicts   files   pyexpats   HANDLER_NAMESs   out(    (    s'   /usr/lib/python2.2/test/test_pyexpat.pys   ? s   73
 	 	
 	 
 	 
