• Daniel Veillard's avatar
    Introduce some default parser limits · 52d8ade7
    Daniel Veillard authored
    Those can be overrided by the XML_PARSE_HUGE option, they
    are just default limits for Name lenght, dictionary size limits
    and maximum amount of parser lookup.
    * include/libxml/parserInternals.h: define the limits
    * include/libxml/xmlerror.h: add a new error
    * parser.c parserInternals.c: implements the new limits
    52d8ade7
parserInternals.c 60.7 KB