Patches item #469479, was opened at 2001-10-09 02:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=469479&group_id=31602

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Neale Swinnerton (neales)
Assigned to: Nobody/Anonymous (nobody)
>Summary: problems with <description>

Initial Comment:
If the javadoc contains some html tags then the 
generated <description> in the ejb-jar.xml could 
violate the DTD


e.g. I've got a method ....

/**
  * get the <code>size</code> attribute
  */
public int getSize() {
  return size;
}

This generates an ejb-jar.xml snippet something 
like...

<session id="ABean">
  <description>get the 
<code>size</code></description>
  <ejb-name>ABean</ejb-name>
...

Solution: protect the <description> entry with a
CDATA section.

patch created with...
 cvs diff -u 
./core/resources/xdoclet/ejb/asm-descriptor.j 
./core/resources/xdoclet/ejb/ejb-body.j  > 
/tmp/description.patch



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=469479&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to