Re: TextParser Entity change.

2002-10-23 Thread Bill Janssen
I've made the change in my sources. I'll try it for a bit before I check it in. Bill ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

RE: TextParser Entity change.

2002-10-23 Thread Blake Winton
David wrote: > > And I'm sure I would feel like less of an idiot if I got > > the arguments to diff the right way around. > Try diff -u $ diff -u TextParser.py.old TextParser.py --- TextParser.py.old 2002-10-23 14:39:18.0 -0400 +++ TextParser.py 2002-10-23 15:09:24.0

Re: TextParser Entity change.

2002-10-23 Thread Bill Janssen
Ah, that makes more sense to me. Yes, looks like a good idea. Bill > And I'm sure I would feel like less of an idiot if I got > the arguments to diff the right way around. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/m

Re: TextParser Entity change.

2002-10-23 Thread Bill Janssen
> we recommend the following behavior: > [snip...] > If it encounters an undeclared entity, the entity should be > treated as character data. Blake, I'm unsure of the meaning of that line. In my opinion, the current behavior (sticking an unrecognized "&foo;" into the text as "&foo;") is one possi

RE: TextParser Entity change.

2002-10-23 Thread David A. Desrosiers
> And I'm sure I would feel like less of an idiot if I got the arguments to > diff the right way around. Try diff -u d. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

RE: TextParser Entity change.

2002-10-23 Thread Blake Winton
And I'm sure I would feel like less of an idiot if I got the arguments to diff the right way around. 130c130 < content = "?" --- > content = "&" + content + ";" (or in diff -c) *** 127,133 if htmlentitydefs.entitydefs.has_key (content): content