- This topic has 1 reply, 2 voices, and was last updated 15 years, 9 months ago by Loyal Water.
-
AuthorPosts
-
marktMemberWith the following tld:
<?xml version=”1.0″ encoding=”ISO-8859-1″ ?>
<taglib 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-jsptaglibrary_2_1.xsd”
version=”2.1″>
<tlib-version>1.1</tlib-version>
<short-name>bug41256</short-name>
<uri>http://tomcat.apache.org/bug41257</uri>
<tag>
<name>wibble</name>
<tag-class>org.apache.markt.Bug41257</tag-class>
<body-content>scriptless</body-content>
<dynamic-attributes>true</dynamic-attributes>
</tag>
</taglib>The following JSP reports errors:
<%@ taglib uri=”http://tomcat.apache.org/bug41257″ prefix=”bug” %>
<html>
<head><title>Bug 41257</title></head>
<body>
<bug:wibble attr1=”${‘foo’}” attr2=”value2″ />
</body>
</html>It complains that the attributes are not defined (there is also an issue with quoting but that is covered by a separate bug post). They are not defined since the tag is defined to have dynamic attributes. The errors should not be reported in this case.
System info:
*** Date:
Monday, 16 February 2009 23:35:45 o’clock GMT** System properties:
OS=WindowsXP
OS version=5.2.0
Java version=1.5.0_17*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
Eclipse SDKVersion: 3.4.1
Build id: M20080911-1700Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse Project SDK
Version: 3.4.1.R34x_v20080827-7O7S78C2J40sK2o_ALcK8tLN_yZSJeg0P-3EtL4Ra90kv
Build id: M20080911-1700Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
C:\Program Files (x86)\eclipse\\plugins\org.eclipse.platform_3.3.101.v200809111700\splash.bmp
-launcher
C:\Program Files (x86)\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files (x86)\eclipse\\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files (x86)\eclipse\\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-vm
C:\Program Files (x86)\Java\jre1.5.0_17\bin\client\jvm.dll
Loyal WaterMemberI’ll let the dev team know about this. Thank you for reporting this.
-
AuthorPosts