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.
partnerLinkType name attribute and role attribute have chinease characters. bugster CR 647388 is blocking on this. when calling getName() on partnerLinkType and role it is returning garbage charcters. A test has been added in xml\wsdlext\org.netbeans.modules.xml.wsdl.model.extensions.i18n.ReadChineaseTest to run tests first change your regional and language options from control panel: *click on regional and language options * in the regional options tab change the language to chinease PRC from drop down. apply and ok. * restart netbeans. *uncomment test testChineasePartnerLinkType and testChineasePartnerLinkTypeRole * run test in ReadChineaseTest.
cc sreeni
Girish, I think maybe you could help out on this one.
bugster CR 6473881 is blocking on this.
There is an user error in the unit test case written. WSDL (/Schema) model indeed handels unicode chars. Please see the modified test case. What I have done is, read the partner link type that has chinese chars in it, added a prefix and then write it out in another file. Comparing the original file and the output file, you will see that the chinese chars are intact as expected. The string constant that was defined in the test case was wrong. The unicode chars had to be escaped for a proper string comparison. As a side note, the procedure that is mentioned in this bug for changing the locale setting is wrong. Changing language in "regional options" will change only the units of the language and not the language itself. Proper language change should be done in the last tab (Advanced) and you might need windows install CD for successful completion. here are the proper steps http://devtools.sfbay/teams/DeveloperTools_I18N/windows.usingasianlocales http://devtools.sfbay/teams/DeveloperTools_I18N/setuplocale.solaris.part1 http://devtools.sfbay/teams/DeveloperTools_I18N/setuplocale.solaris.part2
VERIFIED in build 200703271800