ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIOM-415) Undefined behavior for invalid content in CDATA sections and comments
Date Sat, 21 Apr 2012 09:46:35 GMT
Andreas Veithen created AXIOM-415:
-------------------------------------

             Summary: Undefined behavior for invalid content in CDATA sections and comments
                 Key: AXIOM-415
                 URL: https://issues.apache.org/jira/browse/AXIOM-415
             Project: Axiom
          Issue Type: Bug
          Components: API
    Affects Versions: 1.2.13
            Reporter: Andreas Veithen
            Priority: Minor


OMFactory allows to create CDATA sections and comments with invalid content, i.e. CDATA sections
containing "]]>" and comments containing "--". The Axiom API doesn't specify how such nodes
are handled during serialization, and the current behavior depends on the StAX implementation.
E.g. Woodstox 3.2.x automatically repairs such instances so that the result is always well
formed, while Woodstox 4.1.x throws an exception (such as "Illegal input: CDATA block has
embedded ]]> in it").

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message