-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dependency to Apache Commons commons-text. Remove SimpleXMLParser…
….escapeXML. Deprecate SimpleXMLParser.
- Loading branch information
1 parent
a6a5ed3
commit fb4ec29
Showing
5 changed files
with
18 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb4ec29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, adding a dependency on commons-text in a library like OpenPDF just to remove a method doing xml escaping is overkill.
Think about users who will have to resolve version conflicts or users who don't have clean dependency management. (See this example recommending to explicitly repeat transitive dependencies in their pom, forgetting that it will defeat your library updating its dependencies when needed.)
I would revert this commit if it was me.
fb4ec29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please submit a Pull request to fix this? (I would prefer not to revert, but rather to write some new code)