While debugging this found another issue also so filed a bug report
[1] and fixed it in trunk

thanks for reporting.

[1] https://issues.apache.org/jira/browse/DIRSHARED-127
On Fri, Jun 17, 2011 at 5:17 PM, Pierre-Arnaud Marcelot <[email protected]> 
wrote:
> Hi Dan,
> Indeed, it's a bug. Great catch...
> Here's the link to submit bug report on that part of the code:
> https://issues.apache.org/jira/browse/DIRSHARED
> Thanks,
> Pierre-Arnaud
>
> On 17 juin 2011, at 06:49, Mullen, Daniel J wrote:
>
> I was hoping to use the DSML engine.
sure, let us know if you have any issues, hope it will be useful
> In testing I discovered that an empty results set fails to generate the
> searchResult correctly.
> (at least for my configuration)
> If there are no responses next() is false and the start tag is never
> written.
>                 while ( searchResponses.next() )
>                 {
>                     if( first )
>                     {
>                         if ( respWriter != null )
>                         {
>                             StringBuilder sb = new StringBuilder();
>                             sb.append( "<searchResponse" );
>
> I would submit a bug, but it isn’t clear how to do so.
>
i did it for ya ;)
> -Dan M

-- 
Kiran Ayyagari

Reply via email to