Thierry,
Unfortunately this is buggy :
java.lang.IllegalArgumentException: Serialization parameter {indent} must
have the value yes or no
Boolean.toString(isIndent()) should be replaced by:
isIndent() ? "yes" : "no"
Cheers,
Rémi
On Thu, Nov 12, 2009 at 09:34, Thierry Boileau
<[email protected]>wrote:
> Hi,
>
> thanks for your report, the fix is available in the svn repository.
>
> Best regards,
> Thierry Boileau
>
> > Hi,
> >
> > There seems to be a bug in DocRepresentation#createTransformer. Why this:
> >
> > transformer.setOutputProperty(
> > javax.xml.transform.OutputKeys.INDENT, Boolean
> > .toString(isIndent()));
> >
> > is inside the "if (docType != null)".
> >
> > The setIndent is not working because of this.
> >
> > Thanks
> >
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2416920
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2416978