directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Empty results creates invalid XML?
Date Fri, 17 Jun 2011 05:28:09 GMT
On 6/17/11 6:49 AM, Mullen, Daniel J wrote:
> I was hoping to use the DSML engine.
>
> 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.

This is easy : create a JIRA. You just have to create an account and 
submit your issue.

Note that it's really the best way to be sure that the bug will be 
analyzed, otherwise the mail may be lost in the flow.

Thanks for the report !


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message