Hi, I am using the SimplePostTool to post files to solr. I have encoutered
some problem with the content of xml files. I noticed that if my xml file
has fields whose values contain the character "&" or "<" or ">", the post
fails and I get the exception :

"javax.xml.stream.XMLStreamException: ParseError at [row, col]:[x,y]
Message: The entity name must immediately follow the '&' in the entity
reference"

Looks like these characters are illegal in xml as embedded contents - but I
did extract them from xml in the first place. Is there a list of such
characters I need to deal with before I pass that to SimplePostTool?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/illegal-characters-in-xml-file-to-be-posted--tp15006748p15006748.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to