This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 119074 - I18N - Results of XML check contain a text not from pseudo localized bundle file
Summary: I18N - Results of XML check contain a text not from pseudo localized bundle file
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords: I18N
Depends on:
Blocks:
 
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
Exception Reporter:


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.