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

>
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to