Hi Gary,

Gary L Peskin <[EMAIL PROTECTED]> 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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to