2008-05-27:
[14:31] <mmonster_mac> FYI, I now know of two fairly substantial bugs in E4X in the version of rhino that ships with helma 1.6.2[14:32] <zumbrunn> bugs that are fixed in the cvs version of rhino?[14:32] <mmonster_mac> I don't know.[14:32] <mmonster_mac> I'm installing ant, etc. on my macbook so I can compile and try it out[14:33] <mmonster_mac> there's a parsing bug where values interpolated right after a self-closed tag with an attribute end up with extraneous "" around them[14:34] <mmonster_mac> e.g., <b><i id="foo" />{''}</b>.toXMLString() -> <b><i id="foo"/>""</b>[14:36] <mmonster_mac> and (more importantly) foo.appendChild(bar) appends a copy of bar instead of bar[14:39] <mmonster_mac> (you can't workaround the appendChild issue by using the += syntax. the same thing happens)[14:41] <mmonster_mac> zumbrunn, do you know if helma 1.6.2 is using rhino 1.7r1 or something else?[14:48] <zumbrunn> not exactly 1.7r1[14:49] <zumbrunn> I don't remember exactly[14:49] <zumbrunn> checking...[14:49] <zumbrunn> it's a Rhino cvs snapshot from 2008-02-05[14:51] <zumbrunn> patched, of course[14:51] <zumbrunn> http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/[14:54] <mmonster_mac> looks like I don't need that patch for anything I'm doing... seems unlikely that helma core uses it[14:55] <zumbrunn> I believe the token.patch you do need[14:55] <zumbrunn> but I might remember wrong[15:00] <mmonster_mac> parsing bug not fixed in CVS[15:01] <zumbrunn> the foo.appendChild(bar) behavior I didn't see as a bug[15:01] <zumbrunn> is it according to the specs?[15:02] <mmonster_mac> append-copies not fixed in CVS either[15:02] <mmonster_mac> I haven't checked the spec yet. but spidermonkey appends by reference[15:02] <zumbrunn> does foo.appendChild(bar) behave differently in Firefox?[15:02] <zumbrunn> ok[15:03] <mmonster_mac> and reference is desirable, because if I want a copy I can always make one, but if I want a reference I can't get it with append copy[15:04] <zumbrunn> yes, I wouldn't mind if it is changed in rhino[15:06] <mmonster_mac> should make a lot of what i do faster, as well[15:18] <mmonster_mac> hmmmm... I'm working in the shell, but I think I might not be working in the shell I just built, but in something that shipped with some version of java[15:19] <mmonster_mac> any thoughts about how to use the new one?[15:19] <mmonster_mac> (for the interactive shell)[15:20] <mmonster_mac> figured it out. yeah--I was using the old one. testing again[15:22] <mmonster_mac> both bugs still exist in the one I just built, too
In the channel now:
Logs by date: