exist
exist copied to clipboard
Preserve XML Declaration
Requires Java 17 support to be merged first - https://github.com/eXist-db/exist/pull/4574 (and so at this time it contains all commits of that PR also).
This Pull Request causes an XML Declaration to be preserved if it s present. This means that it will be stored into the database if a document that is stored has an XML Declaration, and it will be retrieved at serialisation time.
This necessarily changes the on-disk storage format of the collections.dbx, and so increments the file version (which is checked at startup).
- This required me to also release new versions of Apache Xerces 2 which supports the extended SAX API of Java 14+ - https://repo1.maven.org/maven2/org/exist-db/thirdparty/xerces/xercesImpl/2.12.2/ (see: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8230814)
I'd suggest to postpone the review, as (like you said) content of other PRs are there.
Please consider choosing a different base branch for others to be able to see the actual change-set.
Please consider choosing a different base branch for others to be able to see the actual change-set.
@line-o As this requires Java 17, and therefore requires that PR (and hence branch), I can't see another option... perhaps you have a suggestion?
Yes. As I wrote, you change this PRs base branch. The base branch of this PR is the Java17 one.
Yes. As I wrote, you change this PRs base branch. The base branch of this PR is the Java17 one.
@line-o That is not possible as the base branch is not within this repo.
I believe it is ok to make an exception for the Java17 branch and publish it here.
LGTM some JVM issues though?
some JVM issues though?
@dizzzz How do you mean please?
some JVM issues though?
@dizzzz How do you mean please?
There seems to be only a unused dependency issue under JDK 17: https://github.com/eXist-db/exist/actions/runs/3621375771/jobs/6104735443#step:4:15682
There seems to be only a unused dependency issue under JDK 17: https://github.com/eXist-db/exist/actions/runs/3621375771/jobs/6104735443#step:4:15682
@reinhapa @dizzzz should be fixed now.
ah right. dependency thingy
@reinhapa not sure anymore, I guess I misinterpreted the dependency thing
I hope that xalan-2.7.3 will be released anytime soonish https://www.mail-archive.com/[email protected]/ - or we should be able to refactor it away.
I hope that xalan-2.7.3 will be released anytime soonish https://www.mail-archive.com/[email protected]/ - or we should be able to refactor it away.
@dizzzz I think I can go one better - https://github.com/eXist-db/exist/pull/4643 ;-)







