[Python-checkins] python/dist/src/Doc/lib libpyexpat.tex,1.21,1.22

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Tue Aug 10 18:47:21 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13530

Modified Files:
	libpyexpat.tex 
Log Message:
add descriptions for many of the new error codes


Index: libpyexpat.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpyexpat.tex,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** libpyexpat.tex	12 May 2003 03:23:51 -0000	1.21
--- libpyexpat.tex	10 Aug 2004 16:47:18 -0000	1.22
***************
*** 625,629 ****
  
  \begin{datadescni}{XML_ERROR_PARTIAL_CHAR}
! 
  \end{datadescni}
  
--- 625,629 ----
  
  \begin{datadescni}{XML_ERROR_PARTIAL_CHAR}
! An incomplete character was found in the input.
  \end{datadescni}
  
***************
*** 653,654 ****
--- 653,735 ----
  The document encoding is not supported by Expat.
  \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_UNCLOSED_CDATA_SECTION}
+ A CDATA marked section was not closed.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_EXTERNAL_ENTITY_HANDLING}
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_NOT_STANDALONE}
+ The parser determined that the document was not ``standalone'' though
+ it declared itself to be in the XML declaration, and the
+ \member{NotStandaloneHandler} was set and returned \code{0}.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_UNEXPECTED_STATE}
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_ENTITY_DECLARED_IN_PE}
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_FEATURE_REQUIRES_XML_DTD}
+ An operation was requested that requires DTD support to be compiled
+ in, but Expat was configured without DTD support.  This should never
+ be reported by a standard build of the \module{xml.parsers.expat}
+ module.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING}
+ A behavioral change was requested after parsing started that can only
+ be changed before parsing has started.  This is (currently) only
+ raised by \method{UseForeignDTD()}.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_UNBOUND_PREFIX}
+ An undeclared prefix was found when namespace processing was enabled.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_UNDECLARING_PREFIX}
+ The document attempted to remove the namespace declaration associated
+ with a prefix.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_INCOMPLETE_PE}
+ A parameter entity contained incomplete markup.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_XML_DECL}
+ The document contained no document element at all.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_TEXT_DECL}
+ There was an error parsing a text declaration in an external entity.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_PUBLICID}
+ Characters were found in the public id that are not allowed.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_SUSPENDED}
+ The requested operation was made on a suspended parser, but isn't
+ allowed.  This includes attempts to provide additional input or to
+ stop the parser.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_NOT_SUSPENDED}
+ An attempt to resume the parser was made when the parser had not been
+ suspended.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_ABORTED}
+ This should not be reported to Python applications.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_FINISHED}
+ The requested operation was made on a parser which was finished
+ parsing input, but isn't allowed.  This includes attempts to provide
+ additional input or to stop the parser.
+ \end{datadescni}
+ 
+ \begin{datadescni}{XML_ERROR_SUSPEND_PE}
+ \end{datadescni}



More information about the Python-checkins mailing list