lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Basse" <ABa...@theage.com.au>
Subject RE: Problem with well-formed XML docs
Date Tue, 01 Aug 2006 01:29:59 GMT
Updated to the latest build. - Problem solved.

Thanks for your help!!!




-----Original Message-----
From: Chris Hostetter [mailto:hossman_lucene@fucit.org] 
Sent: Friday, 28 July 2006 5:42 PM
To: solr-user@lucene.apache.org
Subject: Re: Problem with well-formed XML docs


Andre, which Appserver are you using to run Solr? ... there have been several reports of bugs
with the way Jetty deals with the the XML escaped output produced by Solr, particularaly when
non ascii characters are involved.

If you are using a version of Jetty, have you tried using a build more recent then July 17th
when this patch was applied...

	http://issues.apache.org/jira/browse/SOLR-32

?

: Date: Fri, 28 Jul 2006 17:09:51 +1000
: From: Andre Basse <ABasse@theage.com.au>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: Problem with well-formed XML docs
:
: Hi all,
:
:
: I have imported some XML documents to Solr. However when I do a query for certain documents
I get following error message in the browser:
:
: XML Parsing Error: not well-formed
: Location: http://192.168.32.128:8983/solr/select/?stylesheet=&q=cat%0D%0A&version=2.1&start=0&rows=10&indent=on
<http://192.168.32.128:8983/solr/select/?stylesheet=&q=cat%0D%0A&version=2.1&start=0&rows=10&indent=on>
: Line Number 149, Column 185:An unusual Wemyss tabby cat, 32cm high, sporting a broad grin
and inset green-glass eyes, caused a mild sensation on January 27 when it fetched £23,900
at Edinburgh auctioneers Lyon & Turnbull. This was more than four times the upper estimate.
Among a sizeable line-up of Wemyss porkers, a seated pig just 16cm long and painted with shamrocks
fetched £4780, almost 10 times its estimate.
: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
:
:
: The error message is pointing to the & char in the result.
:
:
:
: This is the part of my source XML document that shows that the "&" is well-formed before
import:
:
: "...when it fetched £23,900 at Edinburgh auctioneers Lyon &amp; Turnbull. This was
more than four .."
:
:
: Any idea?
:
:
: Any help is much appreciated!
:
:
:
:
: Thanks,
:
: Andre
:
:
: *********************************************************************************
: The information contained in this e-mail message and any accompanying files is or may be
confidential.  If you are not the intended recipient, any use, dissemination, reliance, forwarding,
printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject
to copyright. No part of it should be reproduced, adapted or communicated without the written
consent of the copyright owner. If you have received this e-mail in error, please advise the
sender immediately by return e-mail, or telephone and delete all copies. Fairfax does not
guarantee the accuracy or completeness of any information contained in this e-mail or attached
files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility
for the contents of this message or attached files.
: *********************************************************************************
:
:



-Hoss


Mime
View raw message