Re: [xml] Disable external entity processing
- From: Breno Silva <breno silva gmail com>
- To: xml gnome org
- Subject: Re: [xml] Disable external entity processing
- Date: Tue, 5 Mar 2013 11:31:44 -0400
Hello,
I'm parsing XML data using simple API :
xmlCreatePushParserCtxt(NULL, NULL, buf, size, "file.xml");
xmlParseChunk(ctx, buf, size, 0);
I would like to get some direction of how can i disable external entities to be processed like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bar [
<!ENTITY % external SYSTEM "
http://externalhost/ext.xml">
%external;
%a;
%b;
]>
Thanks
Breno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]