| 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?
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
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
"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
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.
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
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
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 first line in the xml doc is
If I try and view this in eclipse, or parse it using a sax parser, I get the
error 'content not allowed in prolog'. However, I can open it fin