Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 61626 invoked by uid 500); 9 Jun 2001 11:46:16 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 61615 invoked from network); 9 Jun 2001 11:46:16 -0000 From: Dietrich Schulten Date: Sat, 09 Jun 2001 11:45:54 GMT Message-ID: <20010609.11455423@wshd102.system-entwicklung.de> Subject: Re: getting rid of META tag in HTML output To: general@xml.apache.org In-Reply-To: <3B20F98C.E4C9612E@firstech.com> References: <20010608.9383596@wshd102.system-entwicklung.de> <3B20F98C.E4C9612E@firstech.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Win32) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Gary, Gary L Peskin 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=20= doesn't handle META tags with charset settings at all, but always throws= =20 a ChangedCharSetException. One must a) set the correct mime type and character set manually b) switch on IgnoreCharsetDirective: jEditorPane1.getDocument().putProperty("IgnoreCharsetDirective",=20 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