[Rpm-metadata] updates
seth vidal
skvidal at phy.duke.edu
Sat Oct 25 05:49:56 UTC 2003
>
> paphio:~/XML -> more ../fedora-core-test2-metadata.xml
> xmlEncodeEntitiesReentrant : input not UTF-8
> <?xml version="1.0"?>
> <metadata xmlns="http://linux.duke.edu/md/common">
> <package type="rpm">
> <name>4Suite</name>
> ....
>
> -------------
> err=""
> def callback(ctx, str):
> global err
>
> err = err + "%s %s" % (ctx, str)
>
> libxml2.registerErrorHandler(callback, "-->")
Actually. I just changed it so it now uses
doc.saveTo(fileobject, 'UTF-8', 1)
relying on redirection is all this extra work :)
-sv
More information about the Rpm-metadata
mailing list