synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SYNAPSE-216) TextFileDataSource incorrectly parses data as XML
Date Thu, 27 Dec 2007 17:43:43 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated SYNAPSE-216:
------------------------------------

    Attachment: TextFileDataSourceTest.java

Attached a test case that provides evidence for this issue.

> TextFileDataSource incorrectly parses data as XML
> -------------------------------------------------
>
>                 Key: SYNAPSE-216
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-216
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Andreas Veithen
>         Attachments: TextFileDataSourceTest.java
>
>
> Usage of TextFileDataSource causes the data to be parsed as XML. Therefore, characters
having a special meaning, such as ampersands, will trigger parsing errors. This has significant
impact on XSLTMediator when the output of the transformation is text data:
> * When the volume of data is below the BYTE_ARRAY_SIZE threshold, the output is used
to construct an OMText object directly and is not parsed as XML.
> * When the volume is above the threshold, TextFileDataSource is used and the output is
parsed as XML.
> Therefore transformations that work for small messages may suddenly fail for larger messages.

-- 
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message