On 2/21/2014 10:31 AM, EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) wrote:
I am getting something like

ERROR org.apache.solr.core.SolrCore [com.ctc.wstx.excwstxLazyEception] 
com.ctc.wstx.exc.WstxParsingException: Undeclared general entity "nbsp"

The filed content is " "  or "&"

If you have "nbsp" entities, then it's not actually XML, it's a hybrid of HTML and XML. There are exactly five legal entities in XML, and nbsp isn't one of them:

http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML

You'll need to clean up the XML. As far as I know, there is no way to declare a permissive mode. Solr uses standard and common XML libraries.

Thanks,
Shawn

  • & in XML No... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
    • Re: & ... Greg Walters
      • RE: &a... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
        • RE... Chris Hostetter
        • Re... Shawn Heisey

Reply via email to