[Htmlparser-user] HTML rendering
Brought to you by:
derrickoswald
From: Ted B. <r.t...@ro...> - 2005-12-29 01:13:33
|
I have read that the HTML parser that is used within JEditorPane is = seriously broken. In reading the archive of this list, the impression = is created that using HTMLParser with JEditorPane is problematic at = best, although there seems to be little recent material on this issue. HTMLParser comes highly recommended. However, it does me no good if I = can't figure out how to get started in order to use it to render generic = web pages. I have a need for a java component (perhaps an applet, or an = application that can be launched using webstart) that will display web = pages (most of my users will need read only access to the documents = rendered, but there is a second category of user that needs read/write = access to documents). I do not need, or want, to have to deal with = examining the data parsed by the parser. I really don't want to write a = class to render the output produced by HTMLParser. I just want to make = a web page viewer (or, better, a web browser that supports basic = scripting using e.g. JScript) that uses HTMLParser to make it more = robust than the default parsed used in JEditorPane. On the face of it, none of the example applications show me how to do = this; although it is possible that I missed something. To do what I need done, do I need anything else other than HTMLParser? = Or can it be that HTMLParser includes functions to render generic web = pages on, e.g., a JFrame? In either case, where can I find an example = program that shows me how to do what I need to do to get started? Once I have a start, the next phase will involve using a wysiwyg editor = web page and a servlet that uses HTMLparser to validate web pages = created using the wysiwyg editor web page, and send the user = intelligible error messages when the user tries to create something = HTMLParser doesn't understand. Or maybe there is already something out = there that will do what I need to do (preferably open source). Any = ideas/recommendations? Thanks, Ted R.E. (Ted) Byers, Ph.D., Ed.D. R & D Decision Support Software http://www.randddecisionsupportsolutions.com/ |