Skip to main content.
home | support | download

Back to List Archive

Re: Entity not defined?

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Thu Mar 24 2005 - 16:30:22 GMT
you should resolve char entities either to a number ( like &#39; ) or 
define them in your XML doc subset declaration like:

<!ENTITY apos "'">

though I don't think that swish-e will resolve the entities for you.

xmllint (comes with libxml2) is helpful in this regard. try xmllint -h 
to see the options.



Carmelo Carchedi wrote on 03/24/2005 10:16 AM:
> when I indexing an XML file with "ParserWarnLevel 9" I see this error,
> 
> G0000010/G0000010444.xml.bz2:189: error: Entity 'apos' not defined
> l&apos;organo comunitario di giustizia in occasione della causa promossa
> 
> 
> 
> where i need to define (?) apos  or other entity?
> 

-- 
  Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Thu Mar 24 08:30:22 2005