Re: [xml] [PATCH] xmllint: Fix validation of URIs with ampersands



2015-03-27 1:47 GMT-06:00 Daniel Veillard <veillard redhat com>:
Hum, I would say it's the wrong way. IT doesn't affect the library, but
we definitely don't want XML_PARSER_SUBST_ENTITIES by default. Using
it means you trust the document. It's better to add the flag only
when needed. Also I'm not sure it's the right 'way', I would expect
validation fixes to be done in the schemas code, not by tweaking
parser options,

You know the libxml codebase much, much better than I do. Could you
suggest a better patch for bug #709171, or at least tell me which
specific file needs to be modified?

-Alex


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]