XML Parser, interleaving text and elements

Avi Bryant avi at beta4.com
Fri Sep 5 00:39:46 UTC 2003


On Thu, 4 Sep 2003 sstnjpm02 at sneakemail.com wrote:

> Thanks. I see that my example works properly but I hope I am not trading
> one set of problems for another. So far I found one problem which prevents any
> of my html from rendering:
>
> <br/> 			prints as <br//>
> <input href="y"/>   	prints as <input href="y"/> /&gt;
>
> and various other problems with &gt;....   being added

The problem seems to lie with Scamper's HTMLTokenizer class, which the
HTML-Parser package reuses.

It looks like some hacking of #nextName and #nextTag would be in order.
If I get a chance I'll look at that later tonight.

Avi



More information about the Squeak-dev mailing list