[
https://issues.apache.org/jira/browse/PDFBOX-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810017#comment-16810017
]
Andreas Lehmkühler commented on PDFBOX-4505:
--------------------------------------------
In the trunk I've moved the class "XMLUtil" from
"org.apache.pdfbox.pdmodel.fdf" to "org.apache.pdfbox.util" so that one can
call "XMLUtil.parse" to parse an XML document. In 2.0 I simply copied the class
and marked the old one as deprecated to ensure binry compatibility.
> DRY: unify the usage of a XML Parser
> ------------------------------------
>
> Key: PDFBOX-4505
> URL: https://issues.apache.org/jira/browse/PDFBOX-4505
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing
> Affects Versions: 2.0.14, 3.0.0 PDFBox
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 2.0.15, 3.0.0 PDFBox
>
>
> PDFBox uses the DocumentBuilderFactory to create a XML parser in several
> places. We should simplifying the code by using XMLUtil for all of them.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]