You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Schmitz (Jira)" <ji...@apache.org> on 2021/07/09 14:43:00 UTC

[jira] [Commented] (AXIOM-475) DOCTYPE declarations not supported on SJSXP

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

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

I can still reproduce this error with woodstox 6.2.6 and also when manually creating an XMLStreamReader with SJSXP (1.0.2 as found on maven central), tested with axiom 1.2.16 as suggested here and also with axiom 1.2.22.

See also https://stackoverflow.com/questions/68214287/dtd-parsing-with-axiom

> 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
>
>
> 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-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org