[XML-SIG] xmlproc DTD api bug

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Tue, 24 Oct 2000 18:48:25 +0200 (CEST)


On 24 Oct 2000, Lars Marius Garshol wrote:

> If you want to fix the immediate problem, add this method to the
> ElementTypeAny class in xmldtd.py:
> 
>   def get_valid_elements(self, state):
>     return []

Since the involved code is to be distributed, I prefer avoiding patching
dependencies, so I set up a workaround in the calling code. This
workaround may last for some time since the caller knows of the dtd, and
is able to call get_elements() by itself. 

Thanks for the quick answer.

-- 
Alexandre Fayolle
http://www.logilab.com 
LOGILAB, Paris (France).