Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.Entrez.Parser.ValidationError Class Reference

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 name

Detailed Description

Validating parsers raise this error if the parser finds a tag in the XML that is not defined in the DTD. Non-validating parsers do not raise this error. The Bio.Entrez.read and Bio.Entrez.parse functions use validating parsers by default (see those functions for more information)

Definition at line 129 of file Parser.py.


Constructor & Destructor Documentation

def Bio.Entrez.Parser.ValidationError.__init__ (   self,
  name 
)

Definition at line 131 of file Parser.py.

00131 
00132     def __init__(self, name):
        self.name = name

Here is the caller graph for this function:


Member Function Documentation

Definition at line 133 of file Parser.py.

00133 
00134     def __str__(self):
00135         return "Failed to find tag '%s' in the DTD. To skip all tags that are not represented in the DTD, please call Bio.Entrez.read or Bio.Entrez.parse with validate=False." % self.name
00136 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 132 of file Parser.py.


The documentation for this class was generated from the following file: