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 178120 - javaee wizard generates invalid taglib declaration for j2ee 1.4
Summary: javaee wizard generates invalid taglib declaration for j2ee 1.4
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-04 02:16 UTC by Jindrich Sedek
Modified: 2010-02-08 04:51 UTC (History)
1 user (show)

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 Jindrich Sedek 2009-12-04 02:16:56 UTC
Create new Web Application with J2EE 1.4 version
Create new tag library descriptor in this project
Invoke Validate XML action -> validation fails with output:
----------------------------
XML validation started.
Checking file:/home/jindra/NetBeansProjects/WebApplication74/web/WEB-INF/tlds/newtag_library.tld...
cvc-elt.1: Cannot find the declaration of element 'taglib'. [2] 
XML validation finished.
----------------------------

see namespace declaration:
-------------------------
<taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-jsptaglibrary_2_0.xsd">
-------------------------

xmlns is defined to be ".../j2ee", but schemaLocation defines location for javaee namespace:".../javaee ..."
Comment 1 Petr Jiricka 2010-02-01 07:58:46 UTC
Alexey, can you please take a look?
Comment 2 Alexey Butenko 2010-02-04 03:04:54 UTC
Looks like typo
Comment 3 Alexey Butenko 2010-02-04 03:13:16 UTC
http://hg.netbeans.org/web-main/rev/e15d0c236af6
Comment 4 Quality Engineering 2010-02-04 22:31:14 UTC
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e15d0c236af6
User: Alexey Butenko <alexeybutenko@netbeans.org>
Log: #178120: Fixed typo in template
Comment 5 Jindrich Sedek 2010-02-08 04:51:12 UTC
verified
NetBeans IDE Dev (Build 201002080200)