-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the last small dependency on Apache Xalan #4643
Conversation
In the unit tests we explicitly test for xalan 😬 |
f4a691f
to
f466b9e
Compare
@dizzzz Okay no problem. I have updated the PR to address that as well. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
it looks the PR combines 2 PRs ? |
3849794
to
7e14d4e
Compare
There is a runtime dependency on Xalan in the GeoTools libraries used by the Spatial Index. I have opened a PR to fix that here - GEOT-7284. Once GEOT-7284 is merged, and they release a version that includes that, we will need to update the Spatial Index to use a newer version of the GeoTools. |
@dizzzz now fixed. |
@adamretter seems there is no support for "namespace" feature: https://github.com/eXist-db/exist/actions/runs/3649983650/jobs/6165379878#step:4:13854 |
@reinhapa Yup, that is addressed in my PR geotools/geotools#4141 |
7e14d4e
to
efa3abb
Compare
efa3abb
to
d0d3ada
Compare
@dizzzz No problem. I have fixed that one now. However I have hit another one in GeoTools, I will need to send them a PR as they are not handling XML Namespaces in a manner that Saxon likes: Caused by: org.xml.sax.SAXException: Parser configuration problem: namespace reporting is not enabled
at net.sf.saxon.event.ReceivingContentHandler.getNodeName(ReceivingContentHandler.java:477)
at net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:366)
at org.geotools.xml.transform.QNameValidatingHandler.startElement(QNameValidatingHandler.java:61)
at org.geotools.xml.transform.TransformerBase$ContentHandlerFilter.startElement(TransformerBase.java:367)
at org.geotools.xml.transform.TransformerBase$TranslatorSupport._start(TransformerBase.java:822) |
d0d3ada
to
861b9b0
Compare
Requires this second PR geotools/geotools#4186 to be merged to GeoTools, and then a new release of GeoTools. |
861b9b0
to
ef07cfa
Compare
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.
@adamretter despite two approvals the upstream changes still need to get merged and released. And we need to get a ci run here before merging. I’ll convert this to draft in the interim. Changes look good in principal
The PR geotools/geotools#4186 to GeoTools was merged a couple of weeks ago. We are now just waiting for a new release of GeoTools that includes that fix. Then we can bump the dependency version here and we will be good to go... |
ef07cfa
to
b61f0d3
Compare
b61f0d3
to
7b6412e
Compare
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.
…use the equivalent classes from Apache Xerces
…ools (chasing out a dependency on Xalan)
…ools (that includes my fixes for Saxon use)
7b6412e
to
becb0f9
Compare
Quality Gate passedIssues Measures |
nice work ! |
Thank you so much @dizzzz - it took almost 2 years, but we finally got there! We are now Xalan free 🥳 |
Woooooohooo |
We can use the equivalent classes from Apache Xerces instead