• Daniel Veillard's avatar
    Cleanup function xmlBufResetInput() to set input from Buffer · 61551a1e
    Daniel Veillard authored
    This was scattered in a number of modules, xmlParserInputPtr
    have usually their base, cur and end pointer set from an
    xmlBuf used as input.
    * buf.c buf.h: add a new function implementing this setup
    * parser.c HTMLparser.c catalog.c parserInternals.c xmlreader.c
      use the new function instead of digging into the buffer in
      all those modules
    61551a1e
catalog.c 96.4 KB