HibernateMappingPlugin. @hibernate.component does not support "access" parameter
--------------------------------------------------------------------------------

         Key: XDP-173
         URL: http://jira.codehaus.org/browse/XDP-173
     Project: XDoclet 2 Plugins
        Type: Bug

    Versions: 1.0.4    
 Environment: windows XP
maven-1.0.2
xdoclet-2.0.4
xdoclet-plugin-hibernate-1.0.4-SNAPSHOT
    Reporter: Andrei Glazachev


I have in my class following code:
<<
@hibernate.component
  class = "<my class>"
  access = "field"
>>

When i try to generate mappings, i receive following exception:
<<<
Running org.xdoclet.plugin.hibernate.HibernateMappingPlugin

BUILD FAILED
File...... C:\Documents and 
Settings\Nastya.NASTYA\.maven\cache\maven-xdoclet2-plugin-1.0.3-SNAPSHOT\plugin.jelly
Element... ant:xdoclet
Line...... 32
Column.... 52
java.lang.RuntimeException: java.lang.RuntimeException: @hibernate.component 
class = "<my class>"
access = "field"
 in <my class> (line 84):
access is an invalid parameter name.
>>>

Reasoning from http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd
<<
<!ELEMENT component ( <... skipped ...> )>
<... skipped ...>
        <!ATTLIST component access CDATA #IMPLIED>
<... skipped ...>
>>
"access" parameter can be.

-- 
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to