properly handle scopes with top level tags in Helpers.bind
David: The slightly longer term solution is to add a flag to bind that says "don't mess with the scope"
In all cases except for the out <html> tag, that's the right answer
me: ok makes sense
will move the <html> out of bind for now
David: case s : Elem => Elem(s.prefix, s.label, attrBind(s.attributes), TopScope /*s.scope */, in_bind(s.child) : _ *)
That's the line (472 in BindHelpers) that's the issue
Note the TopScope and commented out s.scope
In all cases except for the out <html> tag, that's the right answer
me: ok makes sense
will move the <html> out of bind for now
David: case s : Elem => Elem(s.prefix, s.label, attrBind(s.attributes), TopScope /*s.scope */, in_bind(s.child) : _ *)
That's the line (472 in BindHelpers) that's the issue
Note the TopScope and commented out s.scope
Leave a comment
on 2010-03-23 20:01 *
By dpp
Status changed from Test to Fixed
Work remaining changed from 0.2 to 0.0
(In revision:911d3e504f7090face1c08c9b79001ce5d42ae7f) Closes #432. Add a flag to preserve scope in bind
Branch: master
Branch: master