From: Mike A. <mik...@au...> - 2007-03-20 16:13:07
|
Long time - i know - but I've tracked the bug down to a minimal example (I hope !), its down to 'recursive' tags : <expr_str e_expr_type='ET_EXPR_FCALL' nm='fcall' > <s_expr_function_call> <expr_str nm='list' /> </s_expr_function_call> </expr_str> In this example - when we get to the second expr_str end tag - '{nm}' will be set to 'list' in the end tag - not 'fcall'... On Monday 08 January 2007 15:56, William F. Dowling wrote: > On Mon, 2007-01-08 at 15:20 +0000, Mike Aubury wrote: > > What version did this go in ? > > > > flexml --version reports I'm using > > FleXML version Id: flexml.pl,v 1.61 2006/09/13 16:34:33 wdowling Exp > > As of flexml.pl 1.58 you are supposed to have access to attributes from > inside the end-tag processing code. > > Please enter a bug in the sourceforge bug tracker for flexml if you can > confirm that attribute access inside end-tag processing is not working. > Ideally, could you submit an absolutely minimal example that shows the > failure? > > Thanks, > > Will > > > On Monday 08 January 2007 15:12, William F. Dowling wrote: > > > On Mon, 2007-01-08 at 08:54 +0000, Mike Aubury wrote: > > > > Follow up to this - am i right in assuming that we should not be > > > > accessing the attributes in an 'end' block ? > > > > If so - should doing this cause an error ? > > > > > > > > > > > > (My code wasn't working until I moved some of the checking to the > > > > 'start' block instead..) > > > > > > There was some discussion about this on on the flexml-users mailing > > > list a few months ago: > > > > > > http://sourceforge.net/mailarchive/forum.php?thread_id=30370096&forum_i > > >d=59 3 > > > > > > I forget what the upshot was -- it looks like I investigated and at > > > least thought the change (to make attributes accessible from the > > > end-tag processing code) would be easy. Martin Quinson had asked for > > > that. > > > > > > Martin: as far as you know, was that change made? > > > > > > Will -- Mike Aubury Aubit Computing Ltd is registered in England and Wales, Number: 3112827 Registered Address : Murlain Business Centre, Union Street, Chester, CH1 1QP |