You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/08/26 10:44:21 UTC

[jira] [Comment Edited] (OLINGO-1012) Producer Feed not escape 0x8 data character

    [ https://issues.apache.org/jira/browse/OLINGO-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438779#comment-15438779 ] 

Michael Bolz edited comment on OLINGO-1012 at 8/26/16 10:43 AM:
----------------------------------------------------------------

Hi,

Olingo does not automatically escape xml data.
If you want to use something like a "backspace {{0x08}}" you could try to escape it as {{&\#x8;}}.
However IMHO it is not a good idea to send "backspace" as XML content.

Best Regards, Michael

[XML Spec|https://www.w3.org/TR/REC-xml/#dt-text]


was (Author: mirbo):
Hi,

Olingo does not automatically escape xml data.
If you want to use something like a "backspace {{0x08}}" you could try to escape it as {{&#x8;}}.
However IMHO it is not a good idea to send "backspace" as XML content.

Best Regards, Michael

[XML Spec|https://www.w3.org/TR/REC-xml/#dt-text]

> Producer Feed not escape 0x8 data character
> -------------------------------------------
>
>                 Key: OLINGO-1012
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1012
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.6
>         Environment: All
>            Reporter: Rubén Resino
>
> Hi,
> I'm producing Odata (v2) feeds and I have this error:
>  "com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x8) in text to output (in xml 1.1, could output as a character entity)"
> org.apache.olingo.odata2.core.ep.producer.AtomEntryEntityProducer 
> line 598: aps.append(writer, propertyInfo.getName(), propertyInfo, value);
> I'm using 
> I supposed this have to be escaped.
> Kind regards



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)