Re: Problem with html code inside xml

2008-03-07 Thread Yonik Seeley
On Fri, Mar 7, 2008 at 5:11 PM, Latj <[EMAIL PROTECTED]> wrote: > When I use HTML::Entities to encode my text, I get this error: > > SEVERE: org.xmlpull.v1.XmlPullParserException: could not resolve entity > named 'para' > > Its complaining about finding: ¶ in my text. Anyone know why this >

Re: Problem with html code inside xml

2008-03-07 Thread Reece
Just use cdata to have the parser ignore the html characters. http://www.w3schools.com/xml/xml_cdata.asp -Reece On Fri, Mar 7, 2008 at 5:11 PM, Latj <[EMAIL PROTECTED]> wrote: > > > When I use HTML::Entities to encode my text, I get this error: > > SEVERE: org.xmlpull.v1.XmlPullParserExcepti

Re: Problem with html code inside xml

2008-03-07 Thread Latj
When I use HTML::Entities to encode my text, I get this error: SEVERE: org.xmlpull.v1.XmlPullParserException: could not resolve entity named 'para' Its complaining about finding: ¶ in my text. Anyone know why this is a problem? Jérôme Etévé-2 wrote: > > If I understand, you want to ke

Re: Problem with html code inside xml

2007-10-03 Thread [EMAIL PROTECTED]
well... the xml output has changed and I receive hh sic! So the problem is not a problem... Thanks Steve Le 3 oct. 07 à 01:09, Chris Hostetter a écrit : : I created a field type: : : positionIncrementGap="100"> ... : Everything works (the div tags, p tags a

Re: Re: Problem with html code inside xml

: SimplePostTool: FATAL: Connection error (is Solr running at http://localhost:8983/solr/update ?): java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8983/solr/update : : Is there any way to let "Solr" to be more verbose than that ? Solr outputs all errors

Re: Problem with html code inside xml

: I created a field type: : : ... : Everything works (the div tags, p tags are removed) but some : nnn or tags are style in the text after indexing. i cut/paste that fieldtype into the example schema.xml, and experimented with the analysis tool (http://localhost:8983/solr/admin/ana

Re: Re: Problem with html code inside xml

the Java code to understand what happen? I'm looking for a simple solution. Thanks in advance cheers Y. Message d'origine---- >De: "[EMAIL PROTECTED]" >Sujet: Re: Problem with html code inside xml >Date: Tue, 2 Oct 2007 16:15:26 +0200 >A: solr-user@lucene.apache

Re: Problem with html code inside xml

Thanks I use this solution: put in the xml to be indexed and it works, nothing to change in the xsl. In the schema I use this fieldType positionIncrementGap="100"> generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" ca

Re: Problem with html code inside xml

On Tue, 2007-09-25 at 12:06 +0100, Jérôme Etévé wrote: > If I understand, you want to keep the raw html code in solr like that > (in your posting xml file): > > > > > > I think you should encode your content to protect these xml entities: > < -> < > > -> > > " -> " > & -> & > > If you use

Re: Problem with html code inside xml

If I understand, you want to keep the raw html code in solr like that (in your posting xml file): I think you should encode your content to protect these xml entities: < -> < > -> > " -> " & -> & If you use perl, have a look at HTML::Entities. On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTE