I just attempted to upgrade XDoclet to the most recent CVS snapshot and I've
run into some Hibernate issues.  My own (patched version) of Hibernate was
working, but now I get the following error:

    [junit] org.xml.sax.SAXParseException: Attribute "sort" must be declared for
 element type "bag".    

XDoclet is generating the following XML for my bag elements:

        <bag
            name="roles"
            table="user_role"
            lazy="true"
            inverse="true"
            sort="unsorted"
            cascade="none"
        >

              <key
                  column="id"
              />

              <one-to-many
                  class="org.appfuse.persistence.Role"
              />
        </bag>

My home-grown version was working, but I'm running on OS X 1.4.1 right now,
and my last version of XDoclet doesn't work on OS X (latest one does).

Thanks,

Matt




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to