[lxml-dev] [objectify] DataElement factory problem
Holger Joukl
Holger.Joukl at LBBW.de
Fri Oct 6 11:51:16 CEST 2006
Hi,
I ran into a problem using the objectify DataElement factory function.
When implementing an _init method in a derived ObjectifiedDataElement
class, it is impossible to access the element.text in _init because
this has not yet been set when _init gets called by _elementFactory.
Don't see a nice clean way to solve that. Maybe instrument
_elementFactory with an optional skip_init argument that allows for a
delayed manual call of _init in corner cases?
Holger
Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht
gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte
den Inhalt der E-Mail als Hardcopy an.
The contents of this e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail. Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.
More information about the lxml-dev
mailing list