Pete Whelpton created NETBEANS-2875:
---------------------------------------

             Summary: Enterprise Catalog references broken
                 Key: NETBEANS-2875
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2875
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.1
            Reporter: Pete Whelpton


As reported by Thomas Kellerer on the Dev mailing list, XML files validated by 
schema in the Enterprise Catalog are failing to validate again in 11.1

I believe this is because my commit to fix this (d172c20), was accidentally 
regressed.

 

*EnterpriseCatalog.java*

{{private static final String RESOURCE_PATH = 
"nbres:/org/netbeans/modules/j2ee/dd/impl/resources/"; //NO18N }}

 

got regressed back to:

{{private static final String RESOURCE_PATH = 
"nbres:/org/netbeans/modules/j2ee/ddloaders/catalog/resources/"; //NO18N}}

 

but the XSD files don't exist in that location anymore, hence the validation 
errors.

 

*Steps to replicate:*

1) Create a new Maven Web Application project.  Choose JavaEE7

2) Create a Standard Deployment Descriptor file (web.xml)

3) Netbeans will show a red X next to the web.xml node in Project explorer

4) Right clicking in the Editor for the web.xml file and choosing "Validate" 
will result in an XML validation error

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to