[ 
https://issues.apache.org/jira/browse/AXIOM-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17378315#comment-17378315
 ] 

Andreas Schmitz commented on AXIOM-475:
---------------------------------------

The attached little patch against 1.2.22 solves the problem for woodstox 6.

> DOCTYPE declarations not supported on SJSXP
> -------------------------------------------
>
>                 Key: AXIOM-475
>                 URL: https://issues.apache.org/jira/browse/AXIOM-475
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.15
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.2.16
>
>         Attachments: patch.diff
>
>
> Parsing a document with a DOCTYPE declaration results in the following error 
> if the StAX implementation in the JRE (SJSXP) is used:
> org.apache.axiom.om.OMException: Cannot create OMDocType because the 
> XMLStreamReader doesn't support the DTDReader extension
> See also: http://stackoverflow.com/questions/33513702



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to