Just a reminder:
you are on a wrong list.  This list is intendet for
core xdoclet, and plugins are discussed in another.
see 

http://xdoclet.codehaus.org/Mailing+lists

( but anyway, you message is received. but not by
everybody :) ) 

--- Paul Galbraith <[EMAIL PROTECTED]> wrote:
> I'm curious what you think of trying to keep the
> hibernate tagnames 
> matching the mapping DTD one for one.

We try hard to achieve this.  But given  speed oh
changes in hibernate DTDs it is not easy... 


> For example, <join> has a <key> subelement in the
> mapping DTD, so I 
> would prefer to have hibernate tags named
> @hibernate.join (which we 
> have) and @hibernate.key (which is currently
> join-key instead).

If it is the same element and receives the same
parameters, it shall keep the same name... 
If possible... 

> For cases where a element-tag is ambiguous and may
> be placed in more 
> than one parent element, then the parent element
> could have an 
> "element-id" parameter and the child could have a
> "parent-element-ref" 
> parameter, to explicitly specify how the mapping
> should be formed.
> 
> I think this strategy ultimately makes life a lot
> easier for the user, 
> as they only need to reference the hibernate
> documentation and mapping 
> DTD in order to write their java class (with very
> few exceptions, 
> anyways).  Any mapping element naturally translates
> to a @hibernate tag 
> of the same name so there's no need to go hunting
> through xdoclet 
> documentation to find the tag that does what you
> need.

We try to follow DTD as closely as possible. 


> I'm hoping to implement a strategy like this for the
> xdoclet 1.3 
> release, but I won't if it makes migration to
> xdoclet 2 by changing 
> basic tag names...

Are you commiter of XD1? ( Me too, but I'm inactive 
since switching to XD2 completely ) 

I'm still wondering why people still use XD1 for
hibernate ( ok, XD2 plugin for EJB is not usable
due to lack of use case of developers )...


> Any thoughts?

POint us where we can improve our tags. 
( Best with test covcered patches in JIRA :) ) 

regards,


----[ Konstantin Pribluda ( ko5tik ) ]----------------
... Auf der Suche nach einen Projekt in Rhein-Main
ab 18.4.2005
----[ http://www.pribluda.de ]------------------------


                
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs

Reply via email to