[XDoclet-JIRA] Created: (XDT-1603) hibernate.component tag does not generate class attribute

"Andreas Prohaska (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
hibernate.component tag  does not generate class attribute
----------------------------------------------------------

         Key: XDT-1603
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1603
     Project: XDoclet
        Type: Bug

  Components: Hibernate Module  
    Versions: 1.3    
 Environment: n/a
    Reporter: Andreas Prohaska
 Assigned to: xdoclet-devel (Use for new issues) 


The @hibernate.component tag does not generate the "class" attribute in the resulting mapping file. 

I think the error is in the hibernate-component.xdt file where the following first lines

--Line 5
            <XDtConfig:ifConfigParamGreaterOrEquals paramName="version" value="2.1">
                <XDtMethod:ifHasMethodTag tagName="hibernate.component" paramName="type">
                    class="<XDtMethod:methodTagValue tagName="hibernate.component" paramName="class" />"
                </XDtMethod:ifHasMethodTag>
            </XDtConfig:ifConfigParamGreaterOrEquals>
--

should rather be written as

--line 5
            <XDtConfig:ifConfigParamGreaterOrEquals paramName="version" value="2.1">
                <XDtMethod:ifHasMethodTag tagName="hibernate.component" paramName="class">
                    class="<XDtMethod:methodTagValue tagName="hibernate.component" paramName="class" />"
                </XDtMethod:ifHasMethodTag>
            </XDtConfig:ifConfigParamGreaterOrEquals>
--


As a workaround, specifiying both the "type" and "class" value with the hibernate.component tag solves the problem.

-- 
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.