RE: Change the encoding format of xml outpu

2007-01-22 Thread Nelson, Tracy M.
| From: Sarah Parrott [mailto:[EMAIL PROTECTED] | Sent: Monday, 22 January, 2007 02:44 | | I'm writing out xml in a servlet not a jsp page so I can't use the page | declaration thing. So how are you writing it out? Just stuffing everything into a StringBuffer and then writing it out to a file?

Re: Change the encoding format of xml outpu

2007-01-22 Thread Sarah Parrott
t Users List Sent: Saturday, January 20, 2007 4:45:19 PM Subject: Re: Change the encoding format of xml outpu Okay, to be clear, what i do is the following: <%@ page contentType="application/xml" %> This is the first line in my JSP page that creates XML. It's the first line

Re: Change the encoding format of xml outpu

2007-01-20 Thread Rashmi Rubdi
JV <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Saturday, January 20, 2007 4:45:19 PM Subject: Re: Change the encoding format of xml outpu Okay, to be clear, what i do is the following: <%@ page contentType="application/xml" %> This is the first line in my JSP page t

Re: Change the encoding format of xml outpu

2007-01-20 Thread JV
"Rashmi Rubdi" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, January 20, 2007 2:51 PM Subject: Re: Change the encoding format of xml outpu Sarah, I'm just following up on what JV mentioned. The "Content is not allowed in prolog" is caused whe

Re: Change the encoding format of xml outpu

2007-01-20 Thread Martin Gainty
agreeing with the previous post..I get this same error when the XML has any whitespace characters before To: "Tomcat Users List" Sent: Saturday, January 20, 2007 2:51 PM Subject: Re: Change the encoding format of xml outpu Sarah, I'm just following up on what JV mentioned.

Re: Change the encoding format of xml outpu

2007-01-20 Thread Rashmi Rubdi
Sarah, I'm just following up on what JV mentioned. The "Content is not allowed in prolog" is caused when there is the BOM - Byte Order Mark character before the prolog To: Tomcat Users List Sent: Saturday, January 20, 2007 2:39:03 PM Subject: Re: Change the encoding format of

Re: Change the encoding format of xml outpu

2007-01-20 Thread JV
Hi Sarah, Have you included this in the page-code? <%@ page contentType="application/xml" %> JV Op 20 jan 2007, om 20:19 heeft Sarah Parrott het volgende geschreven: Hi, I'm using Tomcat 5.5 from within eclipse, and using java code to create and save a new xml document on the server. The