harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3408) [classlib][swing] CSS parser are not to be internationalized
Date Fri, 16 Mar 2007 08:48:09 GMT
[classlib][swing] CSS parser are 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.


Mime
View raw message