Message: The following issue has been re-assigned.
Assignee: fabrizio giustina (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-91 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-91 Summary: tld doesn't work in JRun4 (invalid example tag) Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Components: Container Compability Fix Fors: 1.0 RC2 Versions: 1.0 RC1 Assignee: fabrizio giustina Reporter: fabrizio giustina Created: Tue, 2 Nov 2004 4:20 PM Updated: Tue, 2 Nov 2004 4:40 PM Description: ==== imported from sf tracker id 912023 submitted by greg copeland - gcopeland http://sourceforge.net/support/tracker.php?aid=912023 ==== The <example> elements in the displaytag-el.tld are invalid per Sun's tag library DTD. Below is a error trace resulting from adding displaytag.jar to a JRun4 web application - [2]jrun.jsp.compiler.JRunTagLibraryInfo$InvalidTLDElementException: The tag example on line 244 is n ot a valid TLD element at jrun.jsp.compiler.JRunTagLibraryInfo$TLDParser.startElement(JRunTagLibraryInfo.java:613) at jrunx.util.SAXReflectionHandler.startElement(SAXReflectionHandler.java:24) at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:333) === Date: 2004-03-11 21:28 Sender: fgiust The <example> elements ARE valid according to the sun dtd. All the dtds (1.1, 1.2, 1.2 EL) validates correctly. Maybe there was an error (in the element order) in the past? I'm closing this bug, since EL support has never been released and appears to be working now. === Date: 2004-10-26 04:16 Sender: ckevinhill Still an issue for me for all the tld descriptors (11, 12, el) with jrun4. === Date: 2004-10-28 18:39 Sender: gcopeland According to the displaytag team, their tld conforms to Sun's DTD; so they refused to make any changes. I unjarred their distro, manually removed all the <example> elements from their displaytag-el.tld, and then rejarred the files. That fixed the problem for me. === Date: 2004-11-02 14:01 Sender: fgiust from http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd: <!ELEMENT tag (name, tag-class, tei-class?, body-content?, display-name?, small-icon?, large-icon?, description?, variable*, attribute*, example?) > which version of displaytag has this problem on jrun? === Date: 2004-11-02 16:51 Sender: gcopeland from http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd: <!ELEMENT example (#PCDATA) > from displaytag-1.0-rc1.zip: <example> <![CDATA[ <display:table name="someList" export="true" id="row" requestURI="MyAction.do"> <display:column sortable="true" title="ID"> <c:out value="${row.id}"/> </display:column> <display:column property="email" autolink="true"/> <display:column property="description" title="Comments"/> </display:table> ]]> </example> Two things could be causing the fault with JRun: - You can't put CDATA in a location where PCDATA is expected or - You can put CDATA in a location where PCDATA is expected but you can't leave characters such as the "<" and the "&" unescaped (because the XML parser faults on an invalid entity reference) For me it's a moot point because I no longer use displaytag, but I hope this might help other users. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel