Fred Drake committed 533cd51

Not sure why the regression test missed this, but the PyXML tests caught it.
We should get attributes from the right object.

Comments (0)

Files changed (1)


         parser = self._ref()
         if parser is None or parser._parser is None:
             return 1
-        return self._parser.ErrorLineNumber
+        return parser._parser.ErrorLineNumber
     def getPublicId(self):
         parser = self._ref()