[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2953) Mapping DTD does not allow an idbag element inside a component element

Petr Smid (JIRA) noreply at atlassian.com
Fri May 9 07:45:33 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30150 ] 

Petr Smid commented on HHH-2953:
--------------------------------

I can confirm that just modifying of hibernate-mapping DTD seems to solve the problem:

...

<!ELEMENT component (
        meta*,
        tuplizer*,
        parent?,
        (property|many-to-one|one-to-one|component|dynamic-component|any|map|set|list|bag|<b>idbag</>|array|primitive-array)*
)>

...


> Mapping DTD does not allow an idbag element inside a component element
> ----------------------------------------------------------------------
>
>                 Key: HHH-2953
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2953
>             Project: Hibernate3
>          Issue Type: Bug
>            Reporter: Adolfo Correia
>            Priority: Minor
>
> The mapping DTD file (hibernate-mapping-3.0.dtd) currently forbids an idbag element inside a component element. I have changed the DTD file to allow idbags inside components and the mappings I made seem to work fine with Hibernate.
> This problem was already reported in the NHibernate Jira (http://jira.nhibernate.org/browse/NH-1044).

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

        



More information about the hibernate-issues mailing list