Open glassfishrobot opened 16 years ago
Reported by longlee
longlee said: Created an attachment (id=260) the screenshot of numeric unicode reference
File: HO13256_screenshotOfWSDL.PNG Attached By: longlee
Was assigned to snajper
This issue was imported from java.net JIRA JAXB-524
If JAX-WS webservice includes MBCS (Multi-Byte Character Set) of its contents, such like package name, webservice name, method name and so on., generated WSDL/XSD files of MBCS are converted to Numeric character reference for example "http://テストpack/". User might be blocked to edit the WSDL or XSD file from Source view.
BEA Webservices tool use JAXB RI 2.1.7, it needs an I18N enhancement on JAXB RI 2.1.7.
I debug into txw2 source code while generating a WSDL from java which target namespace content includes MBCS. com.sun.xml.txw2.output.StreamSerialize creates DataWriter using DumbEscapeHandler which escapes everything above the US-ASCII code range. If writing xml docuemnt with UTF-8 encoding declaration it should be considered to preserve MBCS. Alternatively, the I18N enhancement can be disabled as default and a customizing I18N option (API or system property?) is provided to enable it.
Please feel free to contact me at lali@bea.com if you have any question.
Environment
Operating System: All Platform: All URL: http://bugs.bea.com/WebClarify/CREdit?CR=CR370656
Affected Versions
[2.1.7]