This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From an e-mail conversation between Reza Rahman and Svata Dedic: ---- REZA ---- I'm trying to use the Java EE 7 schemas that are not public yet locally. I tried to define a NB schema locally, but NB still seems to be struggling. Is there a trick I am missing? I am trying the following schema: <web-app version="3.1" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd"> ---- SVATA ---- org.netbeans.modules.j2ee.dd.impl.web.WebParseUtils forces its DDResolver as EntityResolver for parsing. The DDResolver contains hardcoded systemIDs, but does not delegate to Lookup.getDefault().lookup(EntityResolver.class) to also process other registrations. JAXP will then attempt to retrive the schema resource from the specified schemaLocation (which fails).
The schema mentioned in this bug is no longer valid, because it refers to the old java.sun.com domain - the correct latest version refers to jcp.org. The other thing is that web-app_3_1 schema is now registered by the IDE by default (no need to register a local version manually), so this issue does not apply to this particular schema. David, do you know what would be another way to simulate this problem in the latest build? Is it still really a problem?
I think this issue has been resolved now. On the other hand WebParseUtils.DDResolver looks like it should be deleted and replaced with a resolver which is using global IDE catalogue. Like the one defined in org.netbeans.modules.j2ee.ddloaders.catalog.EnterpriseCatalog.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.