RE: DOM formatting

2009-02-10 Thread Jerome Louvel
: DOM formatting The default value should be FALSE. Pretty Printing is not required for all requests ( only during developing/debugging ), and it could actually messup responses, if you do assign special meaning to white-space.. (which rest doesn't say anything about), or force clients

Re: DOM formatting

2009-02-08 Thread Fernando Padilla
[mailto:stephen.grouc...@gmail.com] *Sent:* Thursday, February 05, 2009 1:41 PM *To:* discuss@restlet.tigris.org *Subject:* Re: DOM formatting Hi, Have you considered subclassing DomRepresentation and overriding its createTransformer() method to set the output properties you want

RE: DOM formatting

2009-02-06 Thread Jerome Louvel
://www.noelios.com http://www.noelios.com _ De : Cliff Binstock [mailto:cliff.binst...@coyotereporting.com] Envoye : vendredi 6 fevrier 2009 00:40 A : discuss@restlet.tigris.org Objet : RE: DOM formatting Stephen, Thanks . for the input . still seems like it should be more trivial

RE: DOM formatting

2009-02-06 Thread Jerome Louvel
Hi Rémi, That sounds like valid concerns. I've changed the default to 'false'. Thx, Jérôme _ De : remidewi...@gmail.com [mailto:remidewi...@gmail.com] De la part de Rémi Dewitte Envoyé : vendredi 6 février 2009 13:02 À : discuss@restlet.tigris.org Objet : Re: DOM formatting Jérôme

Re: DOM formatting

2009-02-06 Thread Rémi Dewitte
-- *De :* Cliff Binstock [mailto:cliff.binst...@coyotereporting.com] *Envoyé :* vendredi 6 février 2009 00:40 *À :* discuss@restlet.tigris.org *Objet :* RE: DOM formatting Stephen, Thanks … for the input … still seems like it should be more trivial [ DomRepresentation#setIndent

RE: DOM formatting

2009-02-06 Thread Cliff Binstock
’ sounds like it should be a number (e.g., indent 4 characters). Cliff Binstock Coyote Reporting _ From: remidewi...@gmail.com [mailto:remidewi...@gmail.com] On Behalf Of Rémi Dewitte Sent: Friday, February 06, 2009 4:02 AM To: discuss@restlet.tigris.org Subject: Re: DOM formatting

DOM formatting

2009-02-05 Thread Cliff Binstock
The DOMRepresentation, writes out the DOM as-is. Certainly this is great in most cases. However, it would be nice if there was pretty-print option that provided easy-to-look at XML. Of course, I can (and probably will) run the DOM through my own transformation to pretty-print, but it seems