Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#5
-
Fix Version/s: 1.7.1
-
Component/s: Framework
-
Labels:None
-
Environment:Geronimo2 M6-RC1, jdk 1.5.11, windows
-
Workaround Exists:Yes
-
Workaround Description:I removed the spaces from the shortname field, recompiled DR5 and all is well in Geronimo2.
Description
Geronimo2 uses converts the tld from a dtd based document to a schema based document.
something like this
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee">
<tlib-version>1.0.1</tlib-version>
<short-name>JSF Supportfor JSP Include</short-name>
<uri>http://www.icesoft.com/icefaces</uri>
<listener>
<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
</listener>
<tag>
<name>include</name>
<tag-class>com.icesoft.faces.webapp.IncludeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description></description>
<name>page</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description></description>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
</taglib>
The shortname attribute is not allowed to have spaces in it according to the attribute, a validating xml editor like eclipse WTP will show the problem.
something like this
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee">
<tlib-version>1.0.1</tlib-version>
<short-name>JSF Supportfor JSP Include</short-name>
<uri>http://www.icesoft.com/icefaces</uri>
<listener>
<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
</listener>
<tag>
<name>include</name>
<tag-class>com.icesoft.faces.webapp.IncludeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description></description>
<name>page</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description></description>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
</taglib>
The shortname attribute is not allowed to have spaces in it according to the attribute, a validating xml editor like eclipse WTP will show the problem.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
rev 16698 (trunk) & 16699 (1.7)