Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-953 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-953 Summary: hibernate-mapping_2_0.dtd missing unsaved-value attribute for version element Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Versions: 1.2.1 Assignee: xdoclet-devel (Use for new issues) Reporter: Ed Wentworth Created: Thu, 8 Jul 2004 10:59 AM Updated: Thu, 8 Jul 2004 10:59 AM Environment: jvm 1.4.2_04 Description: Cannot use @hibernate.version xdoclet tag because it will not validate the generated hibernate mapping file (hbm.xml). The issue is that the supplied dtd (hibernate-mapping_2_0.dtd) in the xdoclet.modules.hibernate.resources package does not have the 'unsaved-value' attribute for the version element. Since the xdoclet template will always generate the default value for this attribute even if it is not specified in the supplied tag, validation will always fail for the version tag. The fix (diff) could be RCS file: /cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-mapping_2_0.dtd,v retrieving revision 1.1 diff -u -r1.1 hibernate-mapping_2_0.dtd --- modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-mapping_2_0.dtd 7 Oct 2003 22:46:00 -0000 1.1 +++ modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-mapping_2_0.dtd 8 Jul 2004 15:36:33 -0000 @@ -93,9 +93,11 @@ <!ELEMENT version EMPTY> <!ATTLIST version name CDATA #REQUIRED> - <!ATTLIST version access CDATA #IMPLIED> + <!ATTLIST version access CDATA #IMPLIED> <!ATTLIST version column CDATA #IMPLIED> <!ATTLIST version type CDATA "integer"> + <!ATTLIST version unsaved-value (null|negative|undefined) "undefined"> + --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
