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
>
t; >> <
> >> div
> >> class
> >> =
> >> "paragraph"
> >> >
> >> <
> >> div
> >> class
> >> =
> >> "paragraphTitle"
> >> />
> >> −
> >> <
actly what I want. I want to keep the html tags, that all
>> without formatting.
>>
>> So the br tags and a tags are well formed in xml and json result, but
>> the div tags are not kept.
>> -
>> In the schema.xml I've got this for the html content
>>
>>
>>
>> > stored="true" multiValued="true"/>
>>
>> -
>>
>> Any help would be appreciate.
>>
>> Thanks in advance.
>>
>> S. Christin
>>
>>
>>
>>
>>
>>
>
>
> --
> Jerome Eteve.
> [EMAIL PROTECTED]
> http://jerome.eteve.free.fr/
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-html-code-inside-xml-tp12877194p15907551.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
: 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
: 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
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
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
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
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
Hello,
I've got some problem with html code who is embedded in xml file:
Sample source .
Les débats
Le premier tour des élections fédérales se déroulera le 21
octobre prochain. D'ici là, La 1ère vous prop
11 matches
Mail list logo