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 111955 - I18N - After creation of new BPEL process there is an err message
Summary: I18N - After creation of new BPEL process there is an err message
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords: I18N
Depends on: 97872
Blocks:
  Show dependency tree
 
Reported: 2007-08-03 20:45 UTC by kaa
Modified: 2007-10-12 16:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (66.50 KB, image/jpeg)
2007-08-03 20:46 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-08-03 20:45:27 UTC
build 0727, WinXP, ja locale

1. Create BPEL Module
2. Add new BPEL process using ja chars in its name

There is an err message.
It is shown correct but the Design view is unable to show diagram.
Comment 1 kaa 2007-08-03 20:46:21 UTC
Created attachment 46140 [details]
image
Comment 2 kaa 2007-08-03 20:48:58 UTC
using ja_JP err message is always shown on design view for any name of the process/project.
using en_US err message appears if mbyte is in the bpel process name.
Comment 3 kaa 2007-08-03 20:54:50 UTC
I didn't change project encoding property.
Comment 4 Nikita Krjukov 2007-08-14 15:36:20 UTC
Now the issue isn't reproduced in case the encoding property of the project 
is specified to UTF-8 

If a wrong encoding is specified, then it can come to problems. 
Actually, this problems is common for all XML files. 
See issues #107911 and #97872
Comment 5 Ken Frank 2007-08-14 16:06:45 UTC
its true the 2 issues mentioned below have not been implemented, but things should work ok
in any case, since things should fallback to using the project encoding value.

and with new project encoding property, users can use other encodings than utf-8; so that
it does not show when encoding or locale is utf-8 does not mean its not a problem.

Am reopening - but if I have misunderstood, please reclose it.

and if those 2 issues below are needed, please add to comments in those issues.

ken.frank@sun.com
Comment 6 Nikita Krjukov 2007-08-17 13:27:32 UTC
Now the encoding of the BPEL file is taken not from the project, 
but from the file itself. So the file is opened well irrespective of what 
encoding is assigned for the project. 

I made such modifications for BPEL and WSDL files. Such way I fixed the 
issue #97872 partly. For other kinds of XML files it's necessary to provide 
the XmlFileEncodingQueryImpl object in the lookup of the corresponding DataObject.
Comment 7 Ken Frank 2007-08-17 17:25:08 UTC
would the fix handle whats described in 112099 ?
if so, could you note about it in that issue so dev assigned to it can see.

as to other kinds of xml files, that will
need to provide
the XmlFileEncodingQueryImpl object in the lookup of the corresponding DataObject.

I think that 97872/107911 needs to be fixed first
before those other xml files can do it ?

or will fix to 97872 be enough so that all project created xml files (vs just user created)
will handle the encoding ok as to feq ?


if projects still need to do other things even if 97872 is fixed, I guess I need to make a list of other kinds of
project specific xml files (vs user created xml files)
and then file issue on those project types 


ken.frank@sun.com
Comment 8 kaa 2007-08-22 18:53:54 UTC
verified: build 0819, ja_JP
Bpel doc was shown correctly.
Comment 9 kaa 2007-09-13 19:13:22 UTC
verified
Comment 10 kaa 2007-10-01 19:48:58 UTC
The issue is reproducible: build 0927, ja_JP. In eng locale looks ok.
Comment 11 Nikita Krjukov 2007-10-03 17:43:20 UTC
I can't reproduce the issue with a newer build 071003
Comment 12 kaa 2007-10-04 19:13:00 UTC
I'll try with next build
Comment 13 kaa 2007-10-12 16:36:01 UTC
looks ok: build 1010