Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51393 invoked from network); 16 Mar 2007 08:52:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 08:52:31 -0000 Received: (qmail 50510 invoked by uid 500); 16 Mar 2007 08:52:40 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 50406 invoked by uid 500); 16 Mar 2007 08:52:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 50397 invoked by uid 99); 16 Mar 2007 08:52:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:52:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 01:52:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6256A71407A for ; Fri, 16 Mar 2007 01:52:09 -0700 (PDT) Message-ID: <21301369.1174035129400.JavaMail.jira@brutus> Date: Fri, 16 Mar 2007 01:52:09 -0700 (PDT) From: "Alexey A. Ivanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3408) [classlib][swing] CSS parser is not to be internationalized In-Reply-To: <7808258.1174034889606.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481525 ] Alexey A. Ivanov commented on HARMONY-3408: ------------------------------------------- CSSLogger can be kept internationalized since it's not auto-generated. > [classlib][swing] CSS parser is not to be internationalized > ----------------------------------------------------------- > > Key: HARMONY-3408 > URL: https://issues.apache.org/jira/browse/HARMONY-3408 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Alexey A. Ivanov > Priority: Minor > > Do not internationalize source files in org.apache.harmony.x.swing.text.html.cssparser package, as specified in the first line of the files. They are auto-generated from CSSGrammar.jj. In case the grammar is changed, all the modifications will be lost. > A user should never see any of the exceptions which may be thrown by the parser: they are intended for developers only. Since CSS must be parsed with ignoring of all the errors, there's special error-handling code in the parser which handles parsing errors and restores the parser state so that it can parse the rest of the file. Currently all CSS parsing errors are logged through CSSLogger to System.err. Logging can be disabled in CSSLogger file. After everything works fine, logging can be removed at all. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.