New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserving white-space in XML (xs:string enumeration value) does not work #813
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
Java classes are generated from the attached XSD file (using the attached XJB configuration, i.e. xjc:simple). According to the attached Java file, creating and marshaling an XML document works as expected.
When unmarshaling takes place, the result is not as expected. One of the values (the one with the space character at the end) is not unmarshaled at all. The uncommon thing here is an XSD enumeration with a value that contains the space character at the end.
DOM and SAX parsers handle parsing of the XML file as expected (without the error).
The error was also reproduced on 32-bit Windows and JDK 1.6.
Any feedback or workaround is appreciated.
Environment
JDK 1.5.0_22 64bit, x86_64 GNU/Linux (Kubuntu 2.6.32-21-generic)
Affected Versions
[2.2.3]
The text was updated successfully, but these errors were encountered: