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 238155 - Respect user's namespace prefix when importing namespaces
Summary: Respect user's namespace prefix when importing namespaces
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 12:15 UTC by Vladimir Riha
Modified: 2013-11-18 12:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-11-08 12:15:00 UTC
Extracted from issue 205232.

When I have a custom (non-standard) prefix for namespace, like

<test:choose>

</test:choose>

and select jstl/core ns to be imported, would it make sense to import it with prefix "test" instead of "c"? 

xmlns:test="http://xmlns.jcp.org/jsp/jstl/core"
Comment 1 Martin Fousek 2013-11-11 06:50:15 UTC
Good catch Vlado. Should be fixed in web-main #5d2c2daf4966.
Comment 2 Vladimir Riha 2013-11-18 12:18:22 UTC
Thank you, verified

Product Version: NetBeans IDE Dev (Build 201311180002)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)