remove dependency on Xerces? #250

Closed
opened 2025-06-25 10:46:47 +02:00 by pahjbo · 2 comments
pahjbo commented 2025-06-25 10:46:47 +02:00 (Migrated from github.com)

version 0.6.14 has introduced an explicit dependency on the Xerces XML parser - this means that it will become the default parser in many circumstances unless steps are taken to ensure that it is not - it causes issues such as 'http://javax.xml.xmlconstants/property/accessExternalDTD' is not recognized. e.g. https://stackoverflow.com/questions/58374278/org-xml-sax-saxnotrecognizedexception-property-http-javax-xml-xmlconstants-p - if there is no reason in xmlresolver to have this dependency, then it would be good to remove it.

version 0.6.14 has introduced an explicit dependency on the Xerces XML parser - this means that it will become the default parser in many circumstances unless steps are taken to ensure that it is not - it causes issues such as 'http://javax.xml.xmlconstants/property/accessExternalDTD' is not recognized. e.g. https://stackoverflow.com/questions/58374278/org-xml-sax-saxnotrecognizedexception-property-http-javax-xml-xmlconstants-p - if there is no reason in xmlresolver to have this dependency, then it would be good to remove it.
ndw commented 2025-06-25 11:02:30 +02:00 (Migrated from github.com)

Yes, that does seem like an error.

Yes, that does seem like an error.
ndw commented 2025-06-30 10:19:24 +02:00 (Migrated from github.com)

It's supposed to be a compileOnly dependency, it's needed for the XercesXniAdapter. Not sure how or why I changed that.

It's supposed to be a compileOnly dependency, it's needed for the `XercesXniAdapter`. Not sure how or why I changed that.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
XmlResolver/xmlresolver#250
No description provided.