The following comment has been added to this issue: Author: Andy Hedges Created: Wed, 8 Dec 2004 5:35 AM Body: Appologies first XML fragment should read:
<XDtClass:forAllClasses type="javax.ejb.SessionBean"> <XDtEjb:ifIsAConcreteEJBean> <XDtEjb:ifRemoteEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='remote'/>"> </XDtEjb:ifRemoteEjb> <XDtEjb:ifLocalEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='local'/>"> </XDtEjb:ifLocalEjb> <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_<XDtEjb:id/>"/> <XDtMerge:merge file="xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt"> </XDtMerge:merge> </ejbBindings> </XDtEjb:ifIsAConcreteEJBean> </XDtClass:forAllClasses> --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1185?page=comments#action_15421 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1185 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1185 Summary: ibm-ejb-jar-bnd_xmi.xdt creates invalid xml Type: Bug Status: Open Priority: Major Original Estimate: 15 minutes Time Spent: Unknown Remaining: 15 minutes Project: XDoclet Components: IBM Module Versions: 1.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Andy Hedges Created: Wed, 8 Dec 2004 5:33 AM Updated: Wed, 8 Dec 2004 5:35 AM Environment: All platforms Description: ibm-ejb-jar-bnd_xmi.xdt created invalid xml when it is used to create Session descriptor nodes for both local and remote interfaces. A quick fix is to change: <XDtClass:forAllClasses type="javax.ejb.SessionBean"> <XDtEjb:ifIsAConcreteEJBean> <XDtEjb:ifRemoteEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='remote'/>"> <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_<XDtEjb:id/>"/> <XDtMerge:merge file="xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt"> </XDtMerge:merge> </ejbBindings> </XDtEjb:ifRemoteEjb> <XDtEjb:ifLocalEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='local'/>"> <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_<XDtEjb:id/>"/> <XDtMerge:merge file="xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt"> </XDtMerge:merge> </ejbBindings> </XDtEjb:ifLocalEjb> </XDtEjb:ifIsAConcreteEJBean> </XDtClass:forAllClasses> To: <XDtClass:forAllClasses type="javax.ejb.SessionBean"> <XDtEjb:ifIsAConcreteEJBean> <XDtEjb:ifRemoteEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='remote'/>"> <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_<XDtEjb:id/>"/> <XDtMerge:merge file="xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt"> </XDtMerge:merge> </ejbBindings> </XDtEjb:ifRemoteEjb> <XDtEjb:ifLocalEjb> <ejbBindings xmi:<XDtId:prefixedId prefix="Session_bnd"/> jndiName="<XDtEjbHome:jndiName type='local'/>"> <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_<XDtEjb:id/>"/> <XDtMerge:merge file="xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt"> </XDtMerge:merge> </ejbBindings> </XDtEjb:ifLocalEjb> </XDtEjb:ifIsAConcreteEJBean> </XDtClass:forAllClasses> --------------------------------------------------------------------- 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel