You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bruno Mannina <bm...@free.fr> on 2012/07/02 20:04:13 UTC

Check if input xml file is ok?

Dear All,

I have several input file to index within more than 17 000 docs.

Sometimes indexation bugs because there is a mistake in XML structure 
(like a ]]> inside CDATA field)

Is exist a "test.jar" somewhere before running the post.jar?

Thanks alot,
Bruno

Re: Check if input xml file is ok?

Posted by Bruno Mannina <bm...@free.fr>.
Hi Chris,

Thanks for this info !

Le 10/07/2012 22:31, Chris Hostetter a écrit :
> : Sometimes indexation bugs because there is a mistake in XML structure (like a
> : ]]> inside CDATA field)
> :
> : Is exist a "test.jar" somewhere before running the post.jar?
>
> You should be able to spot errors like that using any XML valdation tool
> ... perhaps "xmllint" is available on your system?
>
>
> -Hoss
>
>



Re: Check if input xml file is ok?

Posted by Chris Hostetter <ho...@fucit.org>.
: Sometimes indexation bugs because there is a mistake in XML structure (like a
: ]]> inside CDATA field)
: 
: Is exist a "test.jar" somewhere before running the post.jar?

You should be able to spot errors like that using any XML valdation tool 
... perhaps "xmllint" is available on your system?


-Hoss