Re: Bold Tag doesn't have children

Derrick Oswald <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Silly question, but did you change mIds to be "B" ?
It has to be upper case.

On Wed, Feb 10, 2010 at 12:55 AM, Ben Rose <[email protected]> wrote:

> 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
> _______________________________________________
> Htmlparser-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>

------------------------------------------------------------------------------
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

_______________________________________________
Htmlparser-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.