[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1603?page=comments#action_17492
 ] 

Andreas Prohaska commented on XDT-1603:
---------------------------------------

I forgot to say that I looked at the latest CVS version of xdcoclet and that I 
am generating mappings for hibernate 3.x

> 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
>     Assignee: 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
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to