Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 46253 invoked from network); 1 Jan 2003 20:26:44 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jan 2003 20:26:44 -0000 Received: (qmail 26468 invoked by uid 97); 1 Jan 2003 20:27:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 26452 invoked by uid 97); 1 Jan 2003 20:27:42 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 26440 invoked by uid 98); 1 Jan 2003 20:27:42 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3E134EEB.3090302@apache.org> Date: Wed, 01 Jan 2003 21:26:19 +0100 From: Remy Maucherat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: mysterious parse exception on startup References: <3E133CC5.8060100@selectacast.net> In-Reply-To: <3E133CC5.8060100@selectacast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Joseph Shraibman wrote: > If I put the latest xerces and xalan in tomcat/common/endorsed, I get > the following error on startup. I don't get this with the xerces/xalan > that comes with jdk 1.4.1. What is causing this? What *file* is this? > > Starting service Tomcat-Apache > Apache Tomcat/4.1.18-LE-jdk14 > Parse Fatal Error at line 551 column 44: The string "--" is not > permitted within comments. > org.xml.sax.SAXParseException: The string "--" is not permitted within > comments. > at > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source) It's a know problem with recent versions of Xerces and Struts 1.0. It is a Xerces bug (which gies a confusing error message). To fix it, you can: - use the JDK 1.4 parser - use the Xerces release bundled with Tomcat 4.1.18 - upgrade to Struts 1.1 beta 3 (the XML is different, and doesn't trigger the Xerces bug) Remy -- To unsubscribe, e-mail: For additional commands, e-mail: