[ 
http://jira.codehaus.org/browse/DISPL-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97503
 ] 

Anand Pillai commented on DISPL-91:
-----------------------------------

Please ignore my issue as i was able to fix it.

> tld doesn't work in JRun4 (invalid example tag)
> -----------------------------------------------
>
>                 Key: DISPL-91
>                 URL: http://jira.codehaus.org/browse/DISPL-91
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Container Compability
>    Affects Versions: 1.0 RC1
>            Reporter: fabrizio giustina
>            Assignee: fabrizio giustina
>             Fix For: 1.0 RC2
>
>
> ====
> 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[
> &lt;display:table name="someList" export="true" id="row" 
> requestURI="MyAction.do">
>   &lt;display:column sortable="true" title="ID"> &lt;c:out 
> value="${row.id}"/> &lt;/display:column>
>   &lt;display:column property="email" autolink="true"/>
>   &lt;display:column property="description" title="Comments"/>
> &lt;/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.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to