[XML-SIG] Possible DTD parsing bug

Andrew Clover and-xml at doxdesk.com
Thu Jan 8 19:10:39 EST 2004

Chris Herborth <chrish at cryptocard.com> wrote:

> ...
> <!ELEMENT something EMPTY>
> <!ATTLIST something
>       %attrs.control;
> >

> When parsing my XML docs, I get a warning that "foo" and "bar" are being
> defined again.

I cannot get this to happen given your example, on PyXML 0.8.3 or 0.8,
without declaring a second ATTLIST on 'something', or referencing
attrs.control twice.

Suspect there may be more lurking in the "> ..." we can't see - could you
post a simplified but (non-)working test case with the Python you'Re trying
to use to parse it?

Andrew Clover
mailto:and at doxdesk.com

More information about the XML-SIG mailing list