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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to