jgneff opened a new pull request, #4933: URL: https://github.com/apache/netbeans/pull/4933
This pull request changes two files to fix [apache/netbeans#4920](https://github.com/apache/netbeans/issues/4920). 1. It modifies `jakartaee_9.xsd` to import the "xml:" namespace from a local copy of `xml.xsd` instead of importing it remotely from `http://www.w3.org/2001/xml.xsd`. 2. It replaces the local `xml.xsd` file with the latest [version dated 2009-01](https://www.w3.org/2009/01/xml.xsd) instead of the previous copy which seems to have been derived from the earliest [version dated 2001-03](https://www.w3.org/2001/03/xml.xsd). Furthermore, I made the following changes to the `xml.xsd` file from the W3C: * I removed the XML stylesheet because it causes a same-origin policy error in Firefox when viewing the file locally: "Error loading stylesheet: An unknown error has occurred (805303f4)." * I added the current [W3C Software and Document Notice and License](https://www.w3.org/Consortium/Legal/copyright-software) as a comment formatted with an 80-character line length. * I removed all trailing whitespace in the file. How can I test this fix locally? I tried the following two test targets. The first one worked, but the second one failed. ```console $ ant -quiet -Dmetabuild.branch=release160 -Dcluster.config=release commit-validation $ ant -quiet -Dmetabuild.branch=release160 -Dcluster.config=release test-basic ``` 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
