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

Summary: I18N - Results of XML check contain a text not from pseudo localized bundle file
Product: xml Reporter: kaa <kaa>
Component: ToolsAssignee: Samaresh Panda <samaresh>
Status: RESOLVED WONTFIX    
Severity: blocker CC: kfrank
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: image

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.