[
https://issues.apache.org/jira/browse/WSCOMMONS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grzegorz Grzybek closed WSCOMMONS-260.
--------------------------------------
Thanks for 1.4 release!
Grzegorz Grzybek
> Invalid XML after serialization
> -------------------------------
>
> Key: WSCOMMONS-260
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-260
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Environment: any
> Reporter: Grzegorz Grzybek
> Assignee: Ajith Harshana Ranabahu
> Priority: Critical
>
> org.apache.ws.commons.schema.XmlSchema.write() methods use wrong wersion of
> OutputStreamWriter constructor. When Schema's XML Document contains
> characters outside standard 'us-ascii' charset, OutputStreamWriter assumes
> default platform encoding (e.g. Windows-1250 in Windows/Poland). Thus, when
> document is UTF-8, it is being serialized in Windows-1250 encoding.
> The immediate result is error during "pretty printing" of the serialized
> document.
> Please use OutputStreamWriter(OutputStream os, String encoding) constructor!!!
> with best regards
> Grzegorz Grzybek
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]