Andreas Veithen created AXIOM-437:
-------------------------------------

             Summary: OMDocType not serialized correctly
                 Key: AXIOM-437
                 URL: https://issues.apache.org/jira/browse/AXIOM-437
             Project: Axiom
          Issue Type: Bug
          Components: DOOM, LLOM
    Affects Versions: 1.2.13
            Reporter: Andreas Veithen
            Priority: Minor


Documents containing a DOCTYPE declaration are not round-trippable. When 
serializing a document that contains such an information item, the output is 
not well formed.

The issue can be traced back to an incorrect usage of the StAX API: for a DTD 
event, XMLStreamReader#getText() returns only the internal subset, but 
XMLStreamWriter#writeDTD expects the entire DOCTYPE declaration as input.

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