xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietrich Schulten <...@system-entwicklung.de>
Subject Re: getting rid of META tag in HTML output
Date Sat, 09 Jun 2001 11:45:54 GMT
Hi Gary,

Gary L Peskin <garyp@firstech.com> schrieb:

> Could you please add this as an enhancement request to bugzilla if it's
> not there already and I'll have a look.

Thank you very much for your effort.

It turned out to be a shortcoming of JEditorPane, its setText() method 
doesn't handle META tags with charset settings at all, but always throws 
a ChangedCharSetException. One must
a) set the correct mime type and character set manually
b) switch on IgnoreCharsetDirective:
jEditorPane1.getDocument().putProperty("IgnoreCharsetDirective", 
Boolean.TRUE);

So I don't think we need an omit-meta directive in XSLT :-)

Dietrich



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message