Bold Tag doesn't have children
Ben Rose <[email protected]>
| Newsgroups | gmane.comp.parsers.htmlparser.user |
|---|---|
| Message-ID | <1265759743.31393.6.camel@ben> |
Greetings,
I would like to use bold tags ("b") with org.htmlparser, but have been
unable to get them to work as expected.
I added and registered a BoldTag class that is an exact copy of
org.htmlparser.tags.ParagraphTag (with the "B" added to mEnders) but
have not been able to make it work as expected.
When looking at the children of the body node from the following html
string, there are 3 children (<b>, <a>, </b>) instead of the single <b>
as I would expect.
"<html><body><b><a href='test.com'>Test</a></b></body></html>"
Am I missing something here?
-Ben Rose
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev