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
Hoffman Rex
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Philip Breau [ philip.breau ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16698 | Mon May 26 13:27:29 MDT 2008 | philip.breau | remove spaces from short-name for validating xml ( |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/conf/META-INF/include.tld
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16699 | Mon May 26 13:28:56 MDT 2008 | philip.breau | remove spaces from short-name for validating xml ( |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/conf/META-INF/include.tld
|
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Philip Breau
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Philip Breau
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Fix Version/s | 1.7.1 [ 10122 ] | |
Resolution | Fixed [ 1 ] |
Philip Breau
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
rev 16698 (trunk) & 16699 (1.7)