Thanks for bugreport. ejb-local-reference-description typobug is fixed. <aslak/>
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn R. > Kronschnabl > Sent: 31. oktober 2001 18:07 > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] xdoclet ejbdoclet bugs & proposed patches > > > Bug1: > > The ejbdoclet generates invalid ejb-jar.xml files if you have: > > * @ejb:ejb-external-ref ejb-name="PendingEJB" type="Entity" > home="com.fds.fc.order.pending.PendingHome" > remote="com.fds.fc.order.pending.Pending" > * > * @ejb:ejb-ref ejb-name="fc/MiniSegment" view-type="local" > > The problem is that the ejb-body.j file loops over all ejb-refs first, > then ejb-external-refs. If you have a ejb-ref view-type="local" and a > ejb-external-ref that's remote, the result is that the ejb-jar.xml file > has ejb-local-refs before ejb-refs, which is invalid per the ejb20 DTD: > > <!ELEMENT entity (description?, display-name?, small-icon?, > large-icon?, ejb-name, home?, remote?, local-home?, local?, ejb-class, > persistence-type, prim-key-class, reentrant, cmp-version?, > abstract-schema-name?, cmp-field*, primkey-field?, > env-entry*, ejb-ref*, ejb-local-ref*, > security-role-ref*, security-identity?, resource-ref*, > resource-env-ref*, query*)> > > Bug2: > > Typo in vendor/weblogic-ejb-jar-xml.j. > > Proposed patches (that work for me) are attached: > _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
