diff -r a9a4620f6767 -r beb60b9b3d8d E5XML/XMLStreamReaderBase.py --- a/E5XML/XMLStreamReaderBase.py Sat Sep 11 19:00:54 2010 +0200 +++ b/E5XML/XMLStreamReaderBase.py Sat Sep 11 19:26:32 2010 +0200 @@ -59,6 +59,15 @@ self.raiseError(QCoreApplication.translate("XMLStreamReaderBase", "Unexpected start tag '{0}'.".format(tag))) + def raiseUnsupportedFormatVersion(self, version): + """ + Public method to raise an error for an unsupported file format version. + + @param version unsupported version (string) + """ + self.raiseError(QCoreApplication.translate("XMLStreamReaderBase", + "File format version '{0}' is not supported.".format(version))) + def readXML(self): """ Public method to read and parse the XML document.