JEditorPane - how to display HMTL 4.0 ?!?
1 posts in topic
Flat View  Flat View

Posted By:   Manuel_Baust
Posted On:   Friday, June 20, 2003 06:30 AM


I programmed a JEditorPane which displays some html websites. The problem is, that HTML 3.2 is used by JEditorPane - therefore there are some errors by displaying html 4.0 sites correctly.

So here's my question: How is it possible to get html 4.0 sites displayed correctly in JEditorPane ?

Re: JEditorPane - how to display HMTL 4.0 ?!?

Posted By:   Joop_Eggen  
Posted On:   Wednesday, June 25, 2003 09:50 AM

Java 1.4.2 is half way up to the standard.
It is quite interesting to see the progress; there is now support for editing!
My solution prior to a perfect representation is to patch the HTML by reading it first myself. That is far from perfect.
I also wrote a "forgiving" HTML reader. Unfortunately the code is at home, and would create an XML structure first.
About | Sitemap | Contact