[XML-SIG] Bug in SAXParseException class

Dennis Allison allison@sumeru.stanford.EDU
Mon, 24 Mar 2003 15:55:37 -0800 (PST)


On a second reading, it is correct.  I'd expected <garbagetag>=20
illegal or something like that.  =20

On 25 Mar 2003, Martin v. [iso-8859-15] L=F6wis wrote:

> Dennis Allison <allison@sumeru.stanford.EDU> writes:
>=20
> > It looks to me as if the message has its arguments reversed in=20
> > PyXML-0.8.2.  =20
> >=20
> > The diagnostic raised prints=20
> >=20
> > End tag for 'resources' seen, but 'garbagetag' expected
> >=20
> > for XML with the form
> >=20
> > <resources> ...stuff... <garbagetag> .....stuff..... </resources>
> >=20
> > where stuff is well-formed.  <grabagetag> is a tag inserted into=20
> > the XML for testing purposes.
>=20
> I'm not sure what the bug is you want to report. What should the
> message be instead? It says that it sees the end tag for resources,
> and it does indeed: </resources>. It also says that it did not see the
> end tag for garbagetag, and indeed, there was no end tag for
> garbagetag. It then says this is an error, and it is indeed.
>=20
> So what is the problem?
>=20
> Regards,
> Martin
>=20