Shoaib Ali Khan created TRINIDAD-2339:
-----------------------------------------

             Summary: Trinidad on Jboss AS 6. Cannot deploy application because 
of syntax error in tld
                 Key: TRINIDAD-2339
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2339
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.0.1-core
         Environment: Jboss Application Server 6. With Myface 2.0
            Reporter: Shoaib Ali Khan
            Priority: Critical


When deploy application on Jboss 6 I get a XML parsing error for tr.tld. on 
line 113. The syntax error is on tag ' filedownloadactionlistener' . I have 
moved the description xml tag immediately after <tag>. It then worked please 
refer to following change for solution to this problem.

<tag>
    <description> <--Moved this description tag.
        The fileDownloadActionListener tag provides a declarative syntax for 
downloading files to a user from a command component.
      </description>
      <name>fileDownloadActionListener</name>
      
<tag-class>org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListenerTag</tag-class>
      <body-content>empty</body-content>
     

      <attribute>
        <description>
          the content or mime type of the file - e.g., text/html or 
application/pdf
        </description>
        <name>contentType</name>
        <deferred-value/>
      </attribute>

..............

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to