Import local schema to avoid DNS lookup in build #4933
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request changes two files to fix apache/netbeans#4920.
jakartaee_9.xsd
to import the "xml:" namespace from a local copy ofxml.xsd
instead of importing it remotely fromhttp://www.w3.org/2001/xml.xsd
.xml.xsd
file with the latest version dated 2009-01 instead of the previous copy which seems to have been derived from the earliest version dated 2001-03.Furthermore, I made the following changes to the
xml.xsd
file from the W3C:How can I test this fix locally? I tried the following two test targets. The first one worked, but the second one failed.
Let's add this to NetBeans 16 only if someone far more knowledgeable than I am about JavaEE and Jakarta can review and approve it. Otherwise, I have a workaround and can wait for the fix in NetBeans 17.