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.

Bug 229573 - Default xmlns.jcp.org NS of components is marked as invalid
Summary: Default xmlns.jcp.org NS of components is marked as invalid
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.3.1
Hardware: All All
: P1 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-10 11:26 UTC by Martin Fousek
Modified: 2013-05-15 08:06 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of the issue (140.91 KB, image/png)
2013-05-10 11:26 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-05-10 11:26:44 UTC
Created attachment 134286 [details]
screenshot of the issue

According to the summary and the attached screenshot, custom created tag using @FacesComponent is market as invalid by the editor, probably it doesn't recognize http://xmlns.jcp.org/jsf/component namespace.

Product Version: NetBeans IDE Dev (Build 20130509-ed02fd3c0ca2)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_09-b05
System: Linux version 3.2.0-27-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Martin Fousek 2013-05-13 05:37:05 UTC
I would like to mark it as 731 candidate since it shows error for valid JavaEE7 feature and probably some tutorials/examples can be crossing this issue (there is no workaround to write it correctly and without errors from NB). BTW, the issue looks to be cause by changed namespace to xmlns.jcp.org.
Comment 2 Vladimir Riha 2013-05-13 07:26:40 UTC
I'd agree
Comment 3 Martin Fousek 2013-05-13 07:51:10 UTC
According to the changeset, the necessary change is totally safe. 
web-main #ef5cb15f6eb5

CCing Martin for the review. FYI, I only changed default component namespace from the old/obsolete one to the one which has to be used now, nothing more.
Comment 4 Martin Janicek 2013-05-13 07:59:16 UTC
Yup, I agree the fix looks fine and safe
Comment 5 Quality Engineering 2013-05-14 02:23:57 UTC
Integrated into 'main-golden', will be available in build *201305132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ef5cb15f6eb5
User: Martin Fousek <marfous@netbeans.org>
Log: #229573 - Default xmlns.jcp.org NS of components is marked as invalid
Comment 6 Vladimir Riha 2013-05-14 06:43:26 UTC
verified in trunk


Product Version: NetBeans IDE Dev (Build 201305132300)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)
Comment 7 Vladimir Riha 2013-05-14 06:45:37 UTC
I'm sorry, not yet verified. Please ignore my previous comment
Comment 8 Vladimir Riha 2013-05-14 06:49:55 UTC
Verified


Product Version: NetBeans IDE Dev (Build 201305132300)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)
Comment 9 Vladimir Riha 2013-05-14 07:56:11 UTC
Verified, but status should be changed after verification in 7.3.1, sorry for spam
Comment 10 Martin Fousek 2013-05-14 15:02:39 UTC
Transplanted as releases #0374c20e962c.
Comment 11 Quality Engineering 2013-05-15 00:19:57 UTC
Integrated into 'releases', will be available in build *201305142200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/0374c20e962c
User: Martin Fousek <marfous@netbeans.org>
Log: #229573 - Default xmlns.jcp.org NS of components is marked as invalid
(transplanted from ef5cb15f6eb52c67b045c02896939b46705e53b0)
Comment 12 Vladimir Riha 2013-05-15 08:06:00 UTC
verified


Product Version: NetBeans IDE 7.3.1 (Build 201305142200)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)