Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72719 invoked from network); 17 Mar 2011 01:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Mar 2011 01:05:51 -0000 Received: (qmail 97433 invoked by uid 500); 17 Mar 2011 01:05:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97192 invoked by uid 500); 17 Mar 2011 01:05:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 97183 invoked by uid 99); 17 Mar 2011 01:05:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 01:05:48 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.30.48] (HELO qmta05.emeryville.ca.mail.comcast.net) (76.96.30.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 01:05:40 +0000 Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta05.emeryville.ca.mail.comcast.net with comcast id KzvX1g00B1zF43QA515H53; Thu, 17 Mar 2011 01:05:17 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta24.emeryville.ca.mail.comcast.net with comcast id L15F1g00f38FjT18k15Gj2; Thu, 17 Mar 2011 01:05:17 +0000 Message-ID: <4D815E51.4060302@christopherschultz.net> Date: Wed, 16 Mar 2011 21:05:21 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Solr on new Tomcat 7.0.11 References: <1300295977.3796.11.camel@lewis-01> <4D8128E0.6080704@apache.org> <99C8B2929B39C24493377AC7A121E21FACD89BC176@USEA-EXCH8.na.uis.unisys.com> <4D812B42.9050702@apache.org> In-Reply-To: <4D812B42.9050702@apache.org> X-Enigmail-Version: 1.2a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark, On 3/16/2011 5:27 PM, Mark Thomas wrote: > On 16/03/2011 21:22, Caldarale, Charles R wrote: >>> From: Mark Thomas [mailto:markt@apache.org] >>> Subject: Re: Solr on new Tomcat 7.0.11 >> >>> A quick Google suggests that there might be some whitespace >>> before ">> I see the same error. Check the file in a text editor. >> >> Could this be caused by a UTF-16 BOM prefix inserted by some less than inspiring editors (e.g., Notepad)? Might need a hex editor to be sure. > > Maybe, although most XML parsers are BOM-aware and skip it. Sadly, the XML parser that ships with Java is not. If you have a UTF-8 document and it includes the correct UTF-8 BOM, Sun's Java 1.0.6_24 will fail saying "Content is not allowed in prolog". If the error is "The processing instruction target matching "[Xx][Mm][Ll]" is not allowed", then the problem is non-BOM whitespace before the processing instruction (which is also pretty inconvenient IMO). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2BXlEACgkQ9CaO5/Lv0PCXCACeJXLoyOUe45coTqWjv5hMG3Fi fskAoI9Gff3MNj0aqMu0N/mQOC6hNk21 =1bJD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org