Re: Change the encoding format of xml outpu

2007-01-20 Thread Rashmi Rubdi
>From what I've experience (don't know if I can retrace it), the BOM characters >were probably inserted before the XML prolog, when the XML file was opened in >Notepad and then saved, it is probably due to difference in the encoding used between editors. Some literature on BOM: http://msdn.mic

Re: Change the encoding format of xml outpu

2007-01-20 Thread JV
Okay, to be clear, what i do is the following: <%@ page contentType="application/xml" %>encoding="utf-8"?> This is the first line in my JSP page that creates XML. It's the first line, first character, no spaces inbetween the two declarations. This works for me. Up til now I've created XML

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. The "Content is no

Re: Tomcat SSL & SVG

2007-01-20 Thread vascoace
Tomcat users, Your replies were very helpful to solve the problem. The solution was found in bugzilla and it consists of disabling the proxyCaching. See below: http://issues.apache.org/bugzilla/show_bug.cgi?id=27122+ The work-around is to configure the Authenticator yourself: Of cours

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 xml outpu Hi Sa

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

Change the encoding format of xml outpu

2007-01-20 Thread Sarah Parrott
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

Re: Tomcat and jdbc over MS SQL Server

2007-01-20 Thread JV
At work we use SQL Server 2000 and 2005. At first we used Opta2000 as jdbc connector. Now we use jTDS, which is open source and freely available. I don't know about performance issues, but we don't notice any difference (it's development mainly, and low traffic sites). I've tried to use the