-
Bug
-
Resolution: Unresolved
-
P4
-
8
-
None
-
generic
-
generic
When validation is turned on but an org.xml.sax.ErrorHandler is not set, there is the warning message in SAX parsing. The warning message is not localized in the 10 l10n supported locales.
I check the resource file jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_xx.properties. The message is translated and in the resource file. It seems to be an i18n problem, that the localized message is not loaded.
Attached is a sample java file that schema validation is turned on but ErrorHandler is not set.
Run below command in non-English locale like zh_CN, ja or de.
%jdk_path%\bin\java SAXLocalNameCount -dtd book-order-noschema.xml
The warning message is not localized.
I check the resource file jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_xx.properties. The message is translated and in the resource file. It seems to be an i18n problem, that the localized message is not loaded.
Attached is a sample java file that schema validation is turned on but ErrorHandler is not set.
Run below command in non-English locale like zh_CN, ja or de.
%jdk_path%\bin\java SAXLocalNameCount -dtd book-order-noschema.xml
The warning message is not localized.