xmllint.c


Log

Author Commit Date CI Message
Daniel Veillard 845cce4c 2002-01-09T11:51:37 Anthony Jones pointed a bug in xmlCopyEntity() Daniel * entities.c: Anthony Jones pointed a bug in xmlCopyEntity() Daniel
Daniel Veillard 3c5ed91a 2002-01-08T10:36:16 Applied following patches from Robert Collins and make sure IN_LIBXML is * libxml.h: Applied following patches from Robert Collins and make sure IN_LIBXML is defined when compiling it ------- * include/libxml/xmlversion.h.in (LIBXML_DLL_IMPORT): Use on Cygwin as well as Visual C. * parser.c (XML_DIR_SEP): Don't use '\\' for Cygwin. * parserInternals.c (XML_DIR_SEP): Don't use '\\' for Cygwin. * strio.c (PLATFORM_UNIX): Define for Cygwin. * triodef.h (TRIO_PLATFORM_UNIX): Define for Cygwin. * xmlIO.c (xmlFileOpen): Use unix behaviour for Cygwin. Use binary mode opens for Cygwin (xmlFileOpenW xmlParserGetDirectory xmlSysIDExists xmlNoNetExists). * xmllint.c: Don't include winsock2.h for Cygwin. Daniel
Daniel Veillard cbaf3995 2001-12-31T16:16:02 applied 42 documentation patches from Charlie Bozeman. Regenerated the * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
Daniel Veillard 1df3dfc2 2001-12-18T11:14:16 applied Justin Fletcher patch for --output or -o daniel * xmllint.c: applied Justin Fletcher patch for --output or -o daniel
Daniel Veillard 01db67c8 2001-12-18T07:09:59 applied Justin Fletcher generic timing patch similar to the one already * xmllint.c: applied Justin Fletcher generic timing patch similar to the one already applied to xsltproc. Daniel
Daniel Veillard 29e4399d 2001-12-13T22:21:58 fix the xmlStrdup() used in the previous patch. added --dropdtd fixed * valid.c: fix the xmlStrdup() used in the previous patch. * valid.c: added --dropdtd * tree.c: fixed xmlUnlinkNode so it also removes the references from the document if the node is a DTD Daniel
Daniel Veillard 9ae4b7af 2001-12-13T14:24:09 removed another strdup() removed the HP/UX entry Daniel * xmllint.c: removed another strdup() * doc/FAQ: removed the HP/UX entry Daniel
Daniel Veillard ed472f34 2001-12-13T08:48:14 fix bug #66816 when validating. don't use sys/time.h if configure did not * valid.c: fix bug #66816 when validating. * xmllint.c: don't use sys/time.h if configure did not found it Daniel
Daniel Veillard a7866930 2001-12-04T13:14:44 applied Geert Kloosterman's patch to fix --repeat --timing output Daniel * xmllint.c: applied Geert Kloosterman's patch to fix --repeat --timing output Daniel
Daniel Veillard bd9b0e8e 2001-11-26T10:32:08 preparing 2.4.11 better --catalogs description Daniel * configure.in include/libxml/xmlwin32version.h: preparing 2.4.11 * xmllint.c: better --catalogs description Daniel
Daniel Veillard d536f701 2001-11-08T17:32:47 Morus Walter patch to allow --format and --encode Daniel * xmllint.c: Morus Walter patch to allow --format and --encode Daniel
Daniel Veillard 89cad536 2001-10-22T09:46:13 added entities testing to the Thread test make the test reasonable fix the * test/threads/*: added entities testing to the Thread test * testThreads.c: make the test reasonable * DOCBparser.c: fix the DTD public and system ID * xmllint.c: added --sgml for SGML DocBook importing * Makefile.am: added Docbtests target Daniel
Daniel Veillard 3c01b1d8 2001-10-17T15:58:35 - include/libxml/globals.h include/libxml/threads.h threads.c testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
MDT 2001 John Fleck bbb9e437 2001-09-24T03:08:43 xmllint.c - fixing typo Sun Sep 23 21:02:39 MDT 2001 John Fleck <jfleck@inkstain.net> * xmllint.c - fixing typo
Daniel Veillard 05c13a20 2001-09-09T08:38:09 John Fleck fixed typos in the options output fix ignorable white space SAX * xmllint.c: John Fleck fixed typos in the options output * parser.c SAX.c: fix ignorable white space SAX selection * entities.c: Steve Underwood found the possibility of an ininite loop in case of error. Daniel
Daniel Veillard 6c5f9d14 2001-08-25T13:33:14 added a --convert option to xmlcatalog to convert SGML ones to the XML * include/libxml/catalog.h catalog.c xmlcatalog.c: added a --convert option to xmlcatalog to convert SGML ones to the XML syntax. * xmllint.c: small cleanup for $SGML_CATALOG_FILES support. Daniel
Daniel Veillard e2940ddb 2001-08-22T00:06:49 starts to look okay, really plugged the new framework, cleaned a lot of * catalog.c parser.c xmlIO.c xmlcatalog.c xmllint.c include/libxml/catalog.h: starts to look okay, really plugged the new framework, cleaned a lot of stuff, added some APIs, except the PI's support missing this should be mostly complete * result/catalogs/* test/catalogs/*: added new test, enriched the existing one with URN ID tests Daniel
Daniel Veillard b7664f44 2001-08-19T13:00:43 fixed a line formatting problem Daniel * xmllint.c: fixed a line formatting problem Daniel
Daniel Veillard 90493a91 2001-08-14T14:12:47 adding a --format option Daniel * xmllint.c: adding a --format option Daniel
Daniel Veillard 48da9100 2001-08-07T01:10:10 allow to inherit attributes from the DTD directly in the tree, this is * SAX.c testXPath.c valid.c xmllint.c include/libxml/valid.h: allow to inherit attributes from the DTD directly in the tree, this is needed for XPath and can be a useful feature. Inherited namespaces are always provided at the tree level now * test/defattr* result/defattr* result/noent/defattr*: added a couple of tests for this feature (XSLT being the prime user). Daniel
Daniel Veillard 50f34371 2001-08-03T12:06:36 applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC * DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c testSAX.c xmlIO.c xmllint.c include/win32config.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h include/libxml/xmlwin32version.h.in win32/README.MSDev win32/dsp/*: applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC Daniel
Daniel Veillard d9bad13b 2001-07-23T19:39:43 removing history/readline changed this slightly make element content line * result/scripts/base*: removing history/readline changed this slightly * include/libxml/parser.h SAX.c parser.c parserInternals.c xmllint.c: make element content line number generation optionnal to avoid breaking old apps added interface to switch Daniel
Daniel Veillard 28ae636c 2001-07-14T16:44:32 fixed compilation under Cygwin #57503 update Daniel * xmllint.c: fixed compilation under Cygwin #57503 * TODO: update Daniel
Daniel Veillard c5d64345 2001-06-24T12:13:24 Summer's cleanup, a really big one: * AUTHORS: added William and Bjorn * include/libxml/*.h *.c README doc/*.html etc.: changed old email to daniel@veillard.com hopefully I won't have to do this again * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that docs can be rebuilt cleanly now * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h from CVs it's generated, added include/libxml/xmlwin32version.h also generated but which should change far less frequently. * catalog.c nanoftp.c: made sure to include libxml.h not libxml/xmlversion.h directly * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h when compiling on WIN32 and MSC Daniel
Daniel Veillard 10ea86cb 2001-06-20T13:55:33 - valid.c: fixed a bug found when post validating an entity ref - xmllint.c: added --loaddtd and sligly changed --postvalid to activate it too Daniel
Daniel Veillard 4ec885a1 2001-06-17T10:31:07 - TODO: updated adding cleanup of generated doc - configure.in: prepared to release 2.3.11 - xmllint.c: added --version for bug reporting - doc/html/*.html: rebuilt the doc Daniel
Daniel Veillard 81418e38 2001-05-22T15:08:55 - catalog.[ch]: fixes and add xmlLoadCatalogs() - DOCBparser.c: small cleanup - xmllint.c: added a --catalogs option to load catalogs from $SGML_CATALOG_FILES - tree.c: cleanup - configure.in: iconv library fixup, ICONV_LIBS Daniel
Bjorn Reese 70a9da54 2001-04-21T16:57:29 trio upgrade and integration
Daniel Veillard 2d90de4b 2001-04-16T17:46:18 - xmlversion.h.in win32config.h win32/libxml2/*: applied Igor Zlatkovic patches for MSC compilation and added his updates Daniel
Daniel Veillard d2f3ec78 2001-04-11T07:50:02 - tree.c: xmlNewDoc was missing the charset initialization - xmllint.c: added --auto to autogenerate a doc, allow to reproduce the problem fixed on xmlNewDoc Daniel
Daniel Veillard 3b2c2613 2001-04-04T00:09:00 - xmllint.c: Dan Timis reported a portability problem on Macs without mmap, fixed it. Daniel
Daniel Veillard 56a4cb8c 2001-03-24T17:00:36 Huge cleanup, I switched to compile with -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch] encoding.h entities.c error.c list.[ch] nanoftp.c nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c testSAX.c testURI.c testXPath.c tree.[ch] uri.c valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c: Cleanup, staticfied a number of non-exported functions, detected and cleaned up a dozen of problem found this way, avoided a lot of public function name/typedef/system names clashes - doc/xml.html: updated - configure.in: switched private flags to the really pedantic ones. Daniel
Daniel Veillard 48b2f896 2001-02-25T16:11:03 Okay time to improve performances, gprof session: before real 0m2.483s (2.3.2 release yesterday) current real 0m1.763s when parsing (with tree build/freeing) db10000.xml from XSLTMark: - xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c: avoiding memcpy in production builds MEM_CLEANUP macro use - parser.[ch] parserInternals.c: optimizations of the tightest internal loops inside the parser. Better checking of I/O flushing/loading conditions - xmllint.c : added --timing Daniel
Daniel Veillard f7cd4817 2001-02-23T18:44:52 - xmllint.[c1] : added return code errors for xmllint - xpath.c: specific debug dump function for result value trees Daniel
Daniel Veillard 4a6845df 2001-01-03T13:32:39 Restarted hacking :-) : - xmllint.c: Made is so if the file name is "-" is will read form standard input. Sven Heinicke <sven@zen.org> - tree.c: fixed a problem when growing buffer - tree.h: fixed the comment of the node types following andersca comment - TODO: updated Daniel
Daniel Veillard a6d8eb62 2000-12-27T10:46:47 Finally had a bit of time to resynch both trees: - HTMLparser.[ch]: added a way to avoid adding automatically omitted tags. htmlHandleOmittedElem() allows to change the default handling. - tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and xmlDocDumpFormatMemoryEnc(), uses memory functions for output of xmllint too when using --memory flag, added a memory test suite at the Makefile level. - xpathInternals.h xpath.[ch] xpointer.c: fixed problems with namespace use when encountering QNames in XPath evalation, added xmlns() scheme in XPointer. - nanoftp.c : incorporated a fix - parser.c xmlIO.c: fixed problems raised with encoding when using the memory I/O - parserInternals.c: closed bug 25934 reported by torsten.landschoff@innominate.de - TODO: updated Daniel
Daniel Veillard ce6e98d6 2000-11-25T09:54:49 Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
Daniel Veillard 9e8bfae5 2000-11-06T16:43:11 XInclude and other stuff while travelling. Contributed patches: - tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c debugXML.c xmlversion.h.in: Started adding XInclude support, this is a new xmllint option - tree.c xpath.c: applied TOM patches for XPath - xpointer.c: fixed a couple of errors. - uri.c: added an escaping function needed for xinclude - testXPath.c hash.c HTMLtree.c: minor cleanups raised by new warning from RH70 gcc's version Daniel
Daniel Veillard d6d7f7bf 2000-10-25T19:56:55 patched to redirrect all "out of context" error messages to a reconfigurable routine. The changes are: * xmlerror.h : added the export of an error context type (void *) an error handler type xmlGenericErrorFunc there is an interface xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler); to reset the error handling routine and its argument (by default it's equivalent to respectively fprintf and stderr. * all the c files: all wild accesses to stderr or stdout within the library have been replaced to calls to the handler. Daniel
Daniel Veillard cd429612 2000-10-11T15:57:05 - tree.c valid.c xmllint.c: Fixed a few postvalidation bugs and added a --dtdvalid option to xmllint used to test it Daniel
Daniel Veillard 64c20ed0 2000-09-22T16:07:02 Closing bug #25000, Daniel.
Daniel Veillard e715dd25 2000-08-29T18:29:38 - parser.c: Fixed bug on invalid ontent characters and when using push. - xmllint.c: fixed xmllint endling of errors in push mode Daniel
Daniel Veillard f0cc7ccc 2000-08-26T21:40:43 libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, this popped out a couple of bugs and 3 speed issues, there is only on minor speed issue left. Assorted collection of user reported bugs and fixes: - doc/encoding.html: added encoding aliases doc - doc/xml.html: updates - encoding.[ch]: added EncodingAliases functions - entities.[ch] valid.[ch] debugXML.c: removed two serious bottleneck affecting large DTDs like Docbook - parser.[ch] xmllint.c: added a pedantic option, will be useful - SAX.c: redefinition of entities is reported in pedantic mode - testHTML.c: uninitialized warning from gcc - uri.c: fixed a couple of bugs - TODO: added issue raised by Michael Daniel
Daniel Veillard 29579360 2000-08-14T17:57:48 Patch from Albert Chin-A-Young <china@thewrittenword.com>: - xmllint.c: workaround a MAP_FAILEd definition bug in DU-4.0 Daniel
Daniel Veillard 87b95395 2000-08-12T21:12:04 Large sync between my W3C base and Gnome's one: - parser.[ch]: added xmlGetFeaturesList() xmlGetFeature() and xmlAddFeature() - tree.[ch]: added xmlAddChildList() - xmllint.c: MAP_FAILED macro test - parser.h: added xmlParseCtxtExternalEntity() - valid.c: applied bug fixes removed warning - tree.c: added CDATA block to elements content - testSAX.c: cleanup of output - testHTML.c: added SAX testing - encoding.c: better error recovery - SAX.c, parser.c: fixed one of the external entity processing of the OASis testsuite - Makefile.am: added HTML SAX regression tests - configure.in: bumped to 2.2.2 - test/HTML/ result/HTML: added a few of HTML tests, and added the SAX results Daniel
Daniel Veillard 7ebb1eeb 2000-08-04T18:24:45 Fix on the patch, Daniel
Daniel Veillard 88a172f7 2000-08-04T18:23:10 Patch for HP compilers and patch to xmllint.c from Sven Heinicke, Daniel
Daniel Veillard 46e370e6 2000-07-21T20:32:03 - parser.c xmlIO.[ch]: fixed the problem of encoding support when using in memory parsing. Need some cleanup. - xmllint.c configure.in: added a --memory flag to test memory parsing Daniel
Daniel Veillard 32bc74ef 2000-07-14T14:49:25 - doc/encoding.html doc/xml.html: added I18N doc - encoding.[ch] HTMLtree.[ch] parser.c HTMLparser.c: I18N encoding improvements, both parser and filters, added ASCII & HTML, fixed the ISO-Latin-1 one - xmllint.c testHTML.c: added/made visible --encode - debugXML.c : cleanup - most .c files: applied patches due to warning on Windows and when using Sun Pro cc compiler - xpath.c : cleanup memleaks - nanoftp.c : added a TESTING preprocessor flag for standalong compile so that people can report bugs more easilly - nanohttp.c : ditched socklen_t which was a portability mess and replaced it with unsigned int. - tree.[ch]: added xmlHasProp() - TODO: updated - test/ : added more test for entities, NS, encoding, HTML, wap - configure.in: preparing for 2.2.0 release Daniel
Daniel Veillard be803967 2000-06-28T23:40:59 - Large resync between W3C and Gnome tree - configure.in: 2.1.0 prerelease - example/Makefile.am example/gjobread.c tree.h: work on libxml1 libxml2 convergence. - nanoftp, nanohttp.c: fixed stalled connections probs - HTMLtree.c SAX.c : support for attribute without values in HTML for andersca - valid.c: Fixed most validation + namespace problems - HTMLparser.c: start document callback for andersca - debugXML.c xpath.c: lots of XPath fixups from Picdar Technology - parser.h, SAX.c: serious speed improvement for large CDATA blocks - encoding.[ch] xmlIO.[ch]: Improved seriously saving to different encoding - config.h.in parser.c xmllint.c: added xmlCheckVersion() and the LIBXML_TEST_VERSION macro Daniel
Daniel Veillard 5e873c46 2000-04-12T13:27:38 - speedup of IS_CHAR like macros, significant overall improvement - More interfaces for new I/O functions: xmlNewIOInputStream, xmlParserInputBufferCreateIO, xmlCreateIOParserCtxt - added I/O test to xmllint Daniel
Daniel Veillard ce8b83b0 2000-04-05T18:38:42 Adding xmllint.c missing from CVs too, Daniel.