Bug 102370 - I18N - validation messages in output window weren't localized
I18N - validation messages in output window weren't localized
Status: RESOLVED WONTFIX
Product: xml
Classification: Unclassified
Component: Validation
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Sonali Kochar
issues@xml
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-24 16:56 UTC by kaa
Modified: 2007-08-22 23:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
xml validation output (71.60 KB, application/octet-stream)
2007-04-24 16:57 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-04-24 16:56:59 UTC
Some of XML validation messages in output window were without pseudo.
This log is visible to a user thus should be localized.I'm running in the ja
locale, using a pseudo localized netbeans and the given message does not come
from the pseudo localized jar file.
Comment 1 kaa 2007-04-24 16:57:34 UTC
Created attachment 41566 [details]
xml validation output
Comment 2 Sonali Kochar 2007-08-21 19:56:46 UTC
The validation messages (the ones not localized) are coming from
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.java

This code is from apache and apache.org does not localizing the error messages. Since the code is outside the netbeans
code base, I am not sure on how to fix these messages. Please advice on how to proceed on this bug
Comment 3 Sonali Kochar 2007-08-22 23:07:15 UTC
The code gets an org.xml.sax.SAXParseException. This class is from the J2SE code base. We do
SAXParseException.getLocalizedMessage() and then display the localized message. I looked at SAXParseException source
code and they do not localize the exception message. Since the exception msg is from jdk, there isnt much we can do here.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo