Re: [xml] Some things about xmlCharEncodingHandler



I have changed the function xmlNewCharEncodingHandler() in encoding.c to
check for an existing handler first and return the existing one. If it
doesn't exist. It creates it.

here is the diff against the latest CVS of encoding.c ( date: 07.01.2004
09:31 / had to get the cvs-snapshot.tar.gz, because of some network
re-strcuturing CVS didn't work and I had no proper diff tool either, so
I am sorry, if it's a not proper diff :P)

1239a1239,1246
     * Check for existing handler
     */
    handler = xmlFindCharEncodingHandler(name);
    
    if (handler != NULL)
        return(handler);

    /*



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