[XDoclet-JIRA] Commented: (XDT-1186) wrong positioning of 'parent' element within 'component' element

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

Joe Germuska commented on XDT-1186:
-----------------------------------

For any who find their way here, a workaround until the patch is applied is to make sure that you put your parent property first in the source file.



> wrong positioning of 'parent' element within 'component' element
> ----------------------------------------------------------------
>
>          Key: XDT-1186
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1186
>      Project: XDoclet
>         Type: Bug
>   Components: Hibernate Module
>     Versions: 1.2.2
>     Reporter: Jens Fischer
>     Assignee: xdoclet-devel (Use for new issues)
>  Attachments: component_parent.patch
>
> Original Estimate: 15 minutes
>         Remaining: 15 minutes
>
> According to Hibernate mapping DTD the 'parent' element has to directly (not counting any optional 'meta' elements) follow the 'component' element. Current implementation of hibernate-properties.xdt does not reflect this, so it is possible to generate mapping files containing the 'parent' element not as the first successor element of 'component', thus breaking the 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 the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
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.