[teiid-issues] [JBoss JIRA] (TEIID-2757) XML reserved characters not support in Odata
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Tue Dec 3 09:15:09 EST 2013
[ https://issues.jboss.org/browse/TEIID-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928198#comment-12928198 ]
Ramesh Reddy commented on TEIID-2757:
-------------------------------------
What I can find from searching
1. XML 1.0 prohibits these characters.
2. CXF cannot marshall u+0001 in a string.
one of the solution prescribed is
{quote}
You can also set a "disable.outputstream.optimization" property on the endpoint/bus to true to have it disable the direct writing to the outputstream and always go through the XMLStreamWriter.
{quote}
http://www.cowtowncoder.com/blog/archives/2008/12/entry_106.html
http://comments.gmane.org/gmane.comp.apache.cxf.user/4373
Code based fixes, not sure how to inject woodstax interceptor (yet). Full stacktrace would have been helpfull too.
> XML reserved characters not support in Odata
> --------------------------------------------
>
> Key: TEIID-2757
> URL: https://issues.jboss.org/browse/TEIID-2757
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.5
> Environment: EAP version 6.1 with Teiid 8.5
> Reporter: Marc Shirley
> Assignee: Steven Hawkins
>
> The odata framework sometimes has problems with transforming characters (reserved in XML) from the source data to the XML result. The result is an exception: TEIID16013 Error occured producing OData result.: java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1b) in text to output (in xml 1.1, could output as a character entity).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list