Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-16 Thread Pete Whelpton
Ok - having a quick look at github, it looks like my change to EnterpriseCatalog.java might have been regresessed by 3e7e6fe6, specifically: private static final String RESOURCE_PATH = "nbres:/org/netbeans/modules/j2ee/dd/impl/resources/"; //NO18N Changed back to: private static final String RE

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-16 Thread Thomas Kellerer
Pete, thanks for the suggestion. The project was indeed "migrated" from NetBeans 8.2 - but it's a Maven project. So the only (project) configuration file there is, is the pom.xml There is nbactions.xml but that does not seem to contain any entries relevant for that. nb-configuration.xml contai

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-16 Thread Pete Whelpton
Hi Thomas, I was banned from bringing a laptop on holiday, so this is from memory - please excuse any mistakes. I submitted https://github.com/apache/netbeans/pull/1266 to update the enterprise catalog to look for JavaEE XSDs in org/netbeans/modules/j2ee/dd/ impl/resources I'm curious why NB is

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-15 Thread Thomas Kellerer
Hi Josh, same with a clean userdir. This is the (somewhat obfuscated) web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> Re

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-15 Thread Josh Juneau
Hi Thomas, I cannot reproduce with 11.1 beta 4. The web.xml does not show a red X. Have you tried with a clean userdir? Thanks! Josh Juneau http://jj-blogger.blogspot.com https://www.apress.com/index.php/author/author/view/id/1866 > On Jul 15, 2019, at 1:40 AM, Thomas Kellerer wrote: >

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-14 Thread Thomas Kellerer
Josh, it's not a big thing, because everything works even editing the web.xml with the "wizard". Only the Projects window shows a little red cross next to the file. It's a (very old) Maven project and it's using JavaEE 7 javax javaee-web-api 7.0 provided Rega

Re: NetBeans fails to validate web.xml - bug or missing feature?

2019-07-12 Thread Josh Juneau
Hi Thomas, There is a PR that has been submitted which may repair these issues. There is a similar issue that is repaired in the PR which addresses validation of the web-app_4_0.xsd. Is your project running a very old (pre-Java EE 5) version of Java EE? Even J2EE perhaps? Thanks On Fri, Jul 12

NetBeans fails to validate web.xml - bug or missing feature?

2019-07-12 Thread Shammat
NetBeans 11.1-vc1 fails to alidate a valid web.xml When I open my web.xml from my project and click on the "Validate XML" button (the two down arrows), it shows the following error message: XML validation started. Checking file:/C:/**/src/main/webapp/WEB-INF/web.xml... schema_reference.4