matthiasblaesing commented on code in PR #6160:
URL: https://github.com/apache/netbeans/pull/6160#discussion_r1260192766


##########
enterprise/web.jsf.editor/src/org/netbeans/modules/web/jsf/editor/index/CompositeComponentModel.java:
##########
@@ -302,9 +303,9 @@ public static class Factory extends JsfPageModelFactory {
 
         @Override
         public JsfPageModel getModel(HtmlParserResult result) {
-            Node node = result.root(LibraryUtils.COMPOSITE_LIBRARY_NS);
+            Node node = result.root(LibraryUtils.COMPOSITE_LIBRARY_JCP_NS);
             if (node == null || node.children().isEmpty()) {
-                node = result.root(LibraryUtils.COMPOSITE_LIBRARY_LEGACY_NS);
+                node = result.root(LibraryUtils.COMPOSITE_LIBRARY_SUN_NS);

Review Comment:
   This looks like the indexing for composite components. And my gut feeling 
is, that without adding the new jakarta namespace (a for-look over all three 
options seems sane, breaking once one matches.



-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-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