swing html parser

E

erjdriver

i'm using java 1.4 and the swing parser

javax.swing.text.html.parser.

i've got a simple text file with a SPAN element - it does not parse
it.

if i replace the SPAN with P - it works.

what do i need to do for the parser to parse SPAN.

help?
 
M

markspace

erjdriver said:
i'm using java 1.4 and the swing parser

javax.swing.text.html.parser.

i've got a simple text file with a SPAN element - it does not parse
it.

if i replace the SPAN with P - it works.

what do i need to do for the parser to parse SPAN.

help?


I dunno if this is the same parser, but the HTML parser for JEditorPane
says HTML 3.2 is supported, which is pretty old and primitive. No
<span> element in 3.2 that I can see.


http://www.w3.org/TR/REC-html32
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top