Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] utf8 again

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Aug 08 2008 - 23:43:08 GMT
On Fri, Aug 08, 2008 at 05:50:23PM -0400, Michael Peters wrote:
> Bill Moseley wrote:
> 
> > I thought there was a way to tell libxml2 to not parse entities.
> 
> ConvertHTMLEntities doesn't work with libxml2. From the docs:
> NOTE: Entities within XML files and files parsed with libxml2 (HTML2) 
> are converted regardless of this setting.

I meant an option to libxml2.  I wonder if this is it?

http://www.jdom.org/docs/apidocs/org/jdom/input/SAXHandler.html#setExpandEntities(boolean)

perhaps as an option in parser.c init_sax_handler().  Hard to remember
code from seven years back.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Aug 8 19:43:14 2008