Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-24 Thread Rashmi Rubdi
I have created a test war file: text_xml.war_temp and have uploaded it here http://www.latestdeals.info/dev_test/ File should be renamed to text_xml.war after downloading it, and can be accessed from http://localhost:8080/text_xml/ I changed the schema in web.xml to web-app

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-24 Thread Rashmi Rubdi
I was also able to fix this problem: java.lang.NoClassDefFoundError: org/apache/xpath/XPathException by adding jar files from xalan-j 2.7 to Tomcat's common\lib serializer.jar xalan.jar xercesImpl.jar xml-apis.jar xsltc.jar I don't know why it didn't work, when these jar files

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-24 Thread Hassan Schroeder
Rashmi Rubdi wrote: I was also able to fix this problem: java.lang.NoClassDefFoundError: org/apache/xpath/XPathException by adding jar files from xalan-j 2.7 to Tomcat's common\lib serializer.jar xalan.jar xercesImpl.jar xml-apis.jar xsltc.jar I don't know why it

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-24 Thread Rashmi Rubdi
Well, thank you Hassan and everybody for helping out. I had problems also with ELs, they were not evaluating. This problem got solved after i moved jstl.jar and standard.jar from the project/WEB-INF/lib to Tomcat_home/commons/lib. I will try out the fresh install of Tomcat and also clean up a

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-23 Thread Hassan Schroeder
Rashmi Rubdi wrote: ... but I still get the error SAXParseException: Content is not allowed in prolog. Can you create a simple test case WAR that demonstrates the error? If so, post it somewhere and we can take a look... -- Hassan Schroeder - [EMAIL

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-22 Thread Eric Haszlakiewicz
On Fri, Jul 21, 2006 at 03:04:32AM -0700, Rashmi Rubdi wrote: Hello, I have already searched on the Internet and this mailing list for an answer to this error message: [Fatal Error] jstl::1:1: Content is not allowed in prolog. Most of the answers so far seemed to

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-22 Thread Rashmi Rubdi
I checked for spaces in jEdit and in the hex reader: http://www.kibria.de/frhed.html Both of these editors did not show any spaces or any kind of special characters before the prolog ?xml I also checked for another possibility which is, if the xml file was missing we get this same

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-22 Thread Hassan Schroeder
Rashmi Rubdi wrote: There might be something wrong on what I have in my web.xml , compared to what's in the JSP taglib taglib-urihttp://java.sun.com/jstl/fmt/taglib-uri taglib-location/WEB-INF/tld/fmt.tld/taglib-location /taglib taglib

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-22 Thread Rashmi Rubdi
Sorry about this, i'm a newbie to jstl, and I'm trying this xml parsing with jstl for the first time. The mismatch is due to the fact that I copied code from older articles on the Internet dating back to 2002, 2003 I made corrections to make everything conform to JSTL1.1, also checked the

Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-21 Thread Rashmi Rubdi
Hello, I have already searched on the Internet and this mailing list for an answer to this error message: [Fatal Error] jstl::1:1: Content is not allowed in prolog. Most of the answers so far seemed to indicate that theres a special BOM character that is invisible to most

RE: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-21 Thread Kessel, Joachim (J.)
Hello Rahsmi, you can try to use a free hex editor: http://www.kibria.de/frhed.html with this editor you will see the BOM in front of the ?xml tag, if it's there. Kind regards, Joachim Kessel -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Freitag, 21. Juli 2006

RE: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-21 Thread Rashmi Rubdi
Hello Joachim, Thank you for your help, I downloadeda hex editorand tested the XML file, the hex editor did not display any special characters at all.I'm attaching the XML file test5.xml, please check and see if you see any special characters BOM or any other, before the prolog.If