Re: Excess whitespace generated

2008-07-11 Thread bisoa
://www.nabble.com/Excess-whitespace-generated-tp18387276p18398549.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Excess whitespace generated

2008-07-10 Thread Jonathan Mast
I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely the contents returned by a JSP? I thought there would be a

Re: Excess whitespace generated

2008-07-10 Thread Mark Thomas
Jonathan Mast wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely the contents returned by a JSP? 1. Use a

Re: Excess whitespace generated

2008-07-10 Thread Jim Cox
On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED] wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control

RE: Excess whitespace generated

2008-07-10 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Excess whitespace generated I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. Setting the trimSpaces param to true in the jsp servlet declaration

Re: Excess whitespace generated

2008-07-10 Thread Jonathan Mast
Thanks, that did the trick! On Thu, Jul 10, 2008 at 1:08 PM, Jim Cox [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED] wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my

Re: Excess whitespace generated

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Mark Thomas [EMAIL PROTECTED]: Jonathan Mast wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely