[XDoclet-JIRA] Commented: (XDT-1529) method-attributes

"Daniel Sohl (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
    [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1529?page=comments#action_17456 ] 

Daniel Sohl commented on XDT-1529:
----------------------------------

According to the XDT file, there are two ways in which a <port-component> element may be generated. The first is with the @jboss.port-component tag, and the second is with the (undocumented) @jboss.webservice tag.

The <port-component> tag generated by using the @jboss.webservice tag is in the proper location, according to the DTD. The <port-component> tag generated by the @jboss.port-component tag is not.

As the reporter points out, <port-component> is specified to be the last element inside the <session> element; thus, moving the @jboss.port-component part to the end (either immediately above or immediately below the @jboss.webservice part) fixes the issue entirely.


> method-attributes
> -----------------
>
>          Key: XDT-1529
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1529
>      Project: XDoclet
>         Type: Bug
>   Components: JBoss Module
>     Versions: 1.2.3
>  Environment: Windows XP, Eclipse 3.1.0, JBoss 4.0, Ant 1.6.5
>     Reporter: Rod Moten
>     Assignee: xdoclet-devel (Use for new issues)

>
>
> XDoclet sometimes generates a jboss.xml file that does not validate against http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd. XDoclet always generating <method-attributes> in jboss.xml even if @jboss.methd-attributes is not specified. XDoclet places <method-attributes> as the last element of the <session> element. However, the DTD says that <method-attributes> should appear before <port-component>. Therefore, if you run XDoclet on a file that contains  @jboss.port-component, then the generated jboss.xml file will not validate against the JBoss DTD.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.