[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2266) Schema Validation Feature Fails for Special Characters
Johannes Rudolph (JIRA)
jira-events at lists.jboss.org
Wed Nov 5 09:28:34 EST 2008
[ https://jira.jboss.org/jira/browse/JBWS-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Rudolph updated JBWS-2266:
-----------------------------------
Attachment: jbossws2266.patch
Here's a patch for the problem. As stated in the linked forum entry, the problem is using String.getBytes() and creating a ByteArrayInputStream prior to validating the schema.
The solution is to use a Reader and an InputSource which respect the given encoding of the String because they both work on characters and not on bytes.
> Schema Validation Feature Fails for Special Characters
> ------------------------------------------------------
>
> Key: JBWS-2266
> URL: https://jira.jboss.org/jira/browse/JBWS-2266
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Affects Versions: jbossws-native-3.0.1, jbossws-native-3.0.2
> Reporter: Richard Opalka
> Attachments: jbossws2266.patch
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list