Re: beware: herein demons lie with JEditorPane
From: Roedy Green (look-on_at_mindprod.com.invalid)
Date: 07/06/04
- Next message: Roedy Green: "Re: directory size"
- Previous message: Roedy Green: "Re: Is there any alternative quote character?"
- In reply to: VisionSet: "Re: beware: herein demons lie with JEditorPane"
- Next in thread: V S Rawat: "Re: beware: herein demons lie with JEditorPane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Jul 2004 18:15:50 GMT
On Tue, 06 Jul 2004 15:54:01 GMT, "VisionSet" <spam@ntlworld.com>
wrote or quoted :
>So you mean HTML support in Java only accepts valid HTML?
>That seems like the right approach to me.
It greatly adds to the complexity of the rendering engine to allow
invalid HTML.
The problem you have in ordinary browsers is people test with IE which
is very forgiving, but then the HTML does not work other places.
Competition leads to greater and greater sloppiness, and more and more
overhead in browsers to deal with crap.
Inside Java, you don't have to deal with invalid HTML. So it makes
sense to have a streamlined engine that works only with validated
HTML. The catch is there is no easy way to run a validator on all the
HTML embedded in a Java program. Much of it does not even exist until
run time.
When Jesus comes, the first thing He will do is legislate a compact
binary format for HTML that is free from Error.
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Roedy Green: "Re: directory size"
- Previous message: Roedy Green: "Re: Is there any alternative quote character?"
- In reply to: VisionSet: "Re: beware: herein demons lie with JEditorPane"
- Next in thread: V S Rawat: "Re: beware: herein demons lie with JEditorPane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|