You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/05/04 11:55:06 UTC
[jira] [Commented] (AXIS2-4791) JAX-WS: Support an option to allow
invalid xml characters to be removed from an outbound JAXB serialization
[ https://issues.apache.org/jira/browse/AXIS2-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526480#comment-14526480 ]
Hudson commented on AXIS2-4791:
-------------------------------
SUCCESS: Integrated in ws-axiom-trunk #1997 (See [https://builds.apache.org/job/ws-axiom-trunk/1997/])
AXIS2-4791: Remove nonsense test cases: creating an OMText with "" as content will not create a character reference in the output; instead the content will be escaped as "&#x15;". (veithen: rev 1677559)
* /webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java
> JAX-WS: Support an option to allow invalid xml characters to be removed from an outbound JAXB serialization
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4791
> URL: https://issues.apache.org/jira/browse/AXIS2-4791
> Project: Axis2
> Issue Type: Improvement
> Reporter: Rich Scheuerle
> Assignee: Rich Scheuerle
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Background:
> The JAX-WS engine uses JAXB data objects.
> The JAXB data objects are marshaled to xml using a JAXB provided Marshaler.
> The Marshaler writes information to an XMLStreamWriter (which will be the axiom provided MTOMXMLStreamWriter).
> Problem:
> If a customer populates the JAXB bean with non-xml characters (0x15), the JAXB Marshaler will write the illegal characters without errors.
> However the SOAP node receiving the message will fail.
> Solution:
> Provide a JAX-WS property that a customer can set (using the @WebServiceContext) to recognize and remove illegal characters.
> This solution will have an axiom and axis2 contribution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org