diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-09 18:25:21 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-09 18:25:21 +0000 |
commit | 756b2745e2bbdbd5b17a7e658669875f2325127b (patch) | |
tree | 2bfa259a473016c244f233501f2908335808efd1 | |
parent | 56b31f99df72a95ef7b761ff92e1d2788d9713f6 (diff) | |
download | netpbm-mirror-756b2745e2bbdbd5b17a7e658669875f2325127b.tar.gz netpbm-mirror-756b2745e2bbdbd5b17a7e658669875f2325127b.tar.xz netpbm-mirror-756b2745e2bbdbd5b17a7e658669875f2325127b.zip |
Add comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4740 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/svgtopam.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/converter/other/svgtopam.c b/converter/other/svgtopam.c index c94a5ca2..060d8cde 100644 --- a/converter/other/svgtopam.c +++ b/converter/other/svgtopam.c @@ -981,6 +981,14 @@ main(int argc, char **argv) { ifP = pm_openr(cmdline.inputFileName); xmlReaderP = xmlReaderForFd(fileno(ifP), "SVG_IMAGE", NULL, 0); + /* 'xmlReaderForFd' issues an error message to Standard Error if it + cannot interpret the XML document on *ifP; that message identifies + the document as "SVG_IMAGE". It issues the bogus message + "Extra content at the end of the document" if the document is + empty. It issues the bogus message "Document is empty" if the + file starts with something other than an XML element. + libxml2 2.9.10 23.10.09 + */ if (xmlReaderP) { processDocument(xmlReaderP, stdout); |