[dbdoclet] Some & chars not escaped; Line breaks added in url in <pre> blocks (dbdoclet 1.3)

Hi there,
Using dbdoclet 1.3, a code comment contains this (url in third line is
unbroken in the java source):
 
* A simple example of using the class is:
 * <blockquote><pre>
 * TestHttpRequest req = new
TestHttpRequest("http://localhost:7001/migrationbundle/bundleinfo?vendor
Id=MBVendor&webtarget=default&audience=au0");
...
 
Processing with dbdoclet results in this docbook:
 
      <para>
 A simple example of using the class is: </para>
      <screen>
 TestHttpRequest req = new
TestHttpRequest("http://localhost:7001/migration\
<http://localhost:7001/migration\> 
bundle/bundleinfo?vendorId=MBVendor&amp;webtarget=default&audience=au0")
;
...
 
There are two problems:
1. The second & in the url is not escaped ("default&audience") tho the
first one (MBVendor&amp;webtarget) is. Since the 2nd & is not escaped,
the result is invalid docbook.
2. The url is broken and a \ added. I'd prefer not to change the
programlistings at this point in the process. The docbook xsls have
their own mechanism for handling this situation in fo and in html output
we don't do any munging of our code blocks.
 
I assume #1 is a bug. Is #2 something I can configure?
 
Thanks,
David

Other related posts: