Bug 119074 - I18N - Results of XML check contain a text not from pseudo localized bundle file
I18N - Results of XML check contain a text not from pseudo localized bundle file
Status: RESOLVED WONTFIX
Product: xml
Classification: Unclassified
Component: Tools
6.x
All All
: P2 (vote)
: TBD
Assigned To: Samaresh Panda
issues@xml
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-16 16:29 UTC by kaa
Modified: 2007-10-17 20:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
image (153.81 KB, image/jpeg)
2007-10-16 16:30 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-10-16 16:29:48 UTC
build 1010, XP.ja_JP
I'm running in the Japan locale, using a pseudo localized Netbeans.

1. Create bpel module
2. Add bpel process
3. Make sequence element incomplete
4. Open xml source
5. Invoke Check XML action

Message with a text not from pseudo localized bundle file appears in output.
ex: Remove the last '>' from <sequence> in editor then press check xml button.
The following text will be shown not from pseudo localized bundle file appears in output:
Element type "sequence" must be followed by either attribute specifications, ">" or "/>". [10]
Check also other messages.
Comment 1 kaa 2007-10-16 16:30:51 UTC
Created attachment 51040 [details]
image
Comment 2 Sonali Kochar 2007-10-17 20:32:45 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