[ 
https://issues.apache.org/jira/browse/TUSCANY-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544867
 ] 

Matthew Peters commented on TUSCANY-1553:
-----------------------------------------

Is this the same problem I was just about to submit, which is that if you 
assign for example 'foo < & > bar' to a field and then serialise to XML, you 
get invalid xml?

Expected
foo &lt; &amp; &gt; bar

Actual
the original string. 



> XML characters are not escaped by XMLHelper.
> --------------------------------------------
>
>                 Key: TUSCANY-1553
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1553
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Cpp-M3
>         Environment: All
>            Reporter: Albert Krzymowski
>             Fix For: Cpp-Next
>
>
> XML charactres are not escaped.
> In case of all string based data types SDOXMLWriter uses 
> xmlTextWriterWriteRaw instead of xmlTextWriterWriteString.
> Is it related to this comment in SDOXMLWriter::writeXMLElement ?
>    /* A more complex version that doesn't work! ...
> Shall we assume a string content at least ?

-- 
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]

Reply via email to