X-Application Version: 3.1.1
Tamino Version : 3.1.1
Platform : Win2k Professional
WebContainer : IPlanet 6
JDK Version : 1.3.1_02
I’m trying to add items to a select box
dynamically using the HtmlStringParser’s addOption() method (within my custom tag)
It works but the tags are not well formed (ie. they have no end tags).
So, if I surround the generated select box with bdm:edit tags, the HtmlStringParser complains (correctly) that the XML is not well formed.
It seems that the HTMLSerializer class from Xerces
is to blame for this. If I use the XHTMLSerializer, then it works.
I tried to extend the HtmlStringParser, to override the “toHtml()” method, but because the
“root” data member is private, this wasn’t possible.
Any suggestions would be greatly appreciated.
[This message was edited by Harald Wolf on 22 Mar 2002 at 09:22.]