1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
XML parser and toolkit
Go to file
Daniel Veillard 0161e638c6 completely different fix for the recursion detection based on entity
* parser.c include/libxml/parser.h: completely different fix for
  the recursion detection based on entity density, big cleanups
  in the entity parsing code too
* result/*.sax*: the parser should not ask for used defined versions
  of the predefined entities
* testrecurse.c: automatic test for entity recursion checks
* Makefile.am: added testrecurse
* test/recurse/lol* test/recurse/good*: a first set of tests for
  the recursion
Daniel

svn path=/trunk/; revision=3783
2008-08-28 15:36:32 +00:00
bakefile files for the Bakefile generator for Makefiles from Francesco Montorsi 2005-01-27 23:59:14 +00:00
doc fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
example more cleanups based on coverity reports. Daniel 2006-03-09 16:49:24 +00:00
include completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
macos EOL cleanups from Florent Guiliani Daniel 2008-02-15 07:43:00 +00:00
optim Dump some possible optimizations notes, Daniel 2004-02-25 10:58:35 +00:00
python fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
result completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
test completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
vms update from Tycho Hilhorst, should fix #523378 Daniel 2008-03-19 15:43:00 +00:00
VxWorks apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
win32 added new function xmlSchemaValidCtxtGetParserCtxt based on Holger 2008-04-11 12:58:43 +00:00
xstc applied patch from Mike Hommey fixing distclean, fixes #520387 Daniel 2008-04-03 05:41:28 +00:00
.cvsignore Shut up CVS 2006-05-10 08:58:19 +00:00
acconfig.h another patch from Malcolm Tredinnick fixing warning generated by the 2004-09-28 12:33:52 +00:00
acinclude.m4 fixed problem concerning determining SOCKLEN_T as pointed out by Daniel 2004-02-09 15:10:28 +00:00
AUTHORS more work on the xml reader interfaces. updated Igor's mail and the Web 2002-12-18 14:53:54 +00:00
autogen.sh took away the requirement for automake-1.4, changed the messages for 2003-08-13 11:09:42 +00:00
build_glob.py patch from Stphane Bidoul for setting up threads global defaults. this 2003-05-15 22:11:36 +00:00
c14n.c fix a few warning raised by gcc-4.1 and latests changes Daniel 2006-03-10 13:40:16 +00:00
catalog.c apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
ChangeLog completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
check-relaxng-test-suite2.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-relaxng-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-xinclude-test-suite.py changed changed sys.path setting from 'append' to 'insert' (patch supplied 2004-10-02 22:55:49 +00:00
check-xml-test-suite.py changed changed sys.path setting from 'append' to 'insert' (patch supplied 2004-10-02 22:55:49 +00:00
check-xsddata-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
chvalid.c applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
chvalid.def rebuilt chvalid.def from scratch based on XML 2nd edition REC and 2003-10-11 22:53:44 +00:00
config.h.in patch from Roumen Petrov to detect if iconv() needs a const for the second 2008-02-15 07:47:26 +00:00
configure.in add an --with-coverage configure option and a 'make cov' target based on 2008-08-27 15:33:28 +00:00
Copyright fixed some wording make sure doc/examples is packaged fixed the really 2003-11-15 18:24:36 +00:00
dbgen.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
dbgenattr.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
debugXML.c fix various attribute normalisation problems reported by Ashwin this 2008-03-25 16:52:41 +00:00
dict.c fix non GNUC builds. 2008-08-10 17:07:33 +00:00
DOCBparser.c revamped the elfgcchack.h format to cope with gcc4 change of aliasing 2005-04-01 13:11:58 +00:00
elfgcchack.h added new function xmlSchemaValidCtxtGetParserCtxt based on Holger 2008-04-11 12:58:43 +00:00
encoding.c buffer may not be large enough to convert to UCS4, patch from Christian 2008-04-03 09:46:34 +00:00
entities.c applied patch from Aswin to fix tree skipping fixed a comment and added a 2008-08-25 14:53:31 +00:00
error.c avoid a scary realloc() loop should fix #520383 Daniel 2008-04-03 07:31:25 +00:00
genChRanges.py applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
gentest.py fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
genUnicode.py applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
global.data patch from Stphane Bidoul for setting up threads global defaults. this 2003-05-15 22:11:36 +00:00
globals.c patch from Alex Khesin fixing CDATA output after a text node. fixed the 2008-03-04 13:19:49 +00:00
HACKING added Aleksey Sanin <aleksey@aleksey.com> as one of the persons allowed to 2002-04-30 06:48:41 +00:00
hash.c handle a erroneous parsing of attributes in case said attribute has been 2008-01-11 05:27:32 +00:00
HTMLparser.c more progresses against the official regression tests small cleanup for 2008-07-31 19:54:59 +00:00
HTMLtree.c htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug 2007-06-12 09:49:40 +00:00
INSTALL Removed section on HP-UX from 2000, Daniel 2006-03-24 14:02:54 +00:00
install-sh Added the XML code developped at W3C, Daniel. 1998-07-24 19:24:09 +00:00
legacy.c small doc patch from Aron Stansvik another doc patch for a deprecated API 2005-12-06 22:21:46 +00:00
libxml-2.0-uninstalled.pc.in New file for building against uninstalled libxml2 builds. Support the 2003-09-30 02:36:08 +00:00
libxml-2.0.pc.in applied patch from Mikhail Zabaluev to separate library flags for shared 2006-10-11 12:32:51 +00:00
libxml.3 tiny fix from Albert Chin portability cleanup for arch needing trio for 2005-10-28 16:37:05 +00:00
libxml.h __xmlGlobalInitMutexDestroy() will free global_init_lock on Win32. Patch 2007-11-16 10:54:59 +00:00
libxml.m4 applied changes suggested by Mike Hommey, remove libxml1 support and use 2004-06-28 09:27:23 +00:00
libxml.spec.in fix the build root Daniel 2008-07-23 13:35:50 +00:00
list.c applied patch to fix xmlListAppend() from Georges-André SILBER also fix 2007-05-09 23:53:30 +00:00
MAINTAINERS Update MAINTAINERS file to match Gnome stuff, Daniel 2007-09-04 08:10:09 +00:00
Makefile.am completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
Makefile.tests add a new regression test program for testing character ranges and UTF8 2008-07-24 15:05:38 +00:00
Makefile.win Release 0.2, 80% rewrite, nothing left intact ... Daniel 1998-08-13 03:39:55 +00:00
missing valgrind found a newly introduced bug Daniel 2003-09-18 10:05:56 +00:00
mkinstalldirs valgrind found a newly introduced bug Daniel 2003-09-18 10:05:56 +00:00
nanoftp.c applied patch from Andreas Stricke to ease the compilation on Windows CE 2007-04-17 12:44:58 +00:00
nanohttp.c added space for port number (when not 80) in xmlNanoHTTPMethodRedir, plus 2008-02-06 04:12:46 +00:00
NEWS apply patch from Martin fixing python whitespaces following previous 2008-06-03 16:08:54 +00:00
parser.c completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
parserInternals.c fix for CVE-2008-3281 Daniel 2008-08-20 17:04:30 +00:00
pattern.c fix problem with xmlStreamPop when pattern includes a "." element (see 2008-07-17 05:29:16 +00:00
README preparing to make testsuite releases along with code source releases fixed 2005-07-10 21:38:31 +00:00
README.cvs-commits - README.cvs-commits: added, pointing to HACKING 2001-03-13 09:31:12 +00:00
README.tests add a new regression test program for testing character ranges and UTF8 2008-07-24 15:05:38 +00:00
regressions.py new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
regressions.xml new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
relaxng.c Switch off debugging, oops, Daniel 2008-06-25 04:11:24 +00:00
rngparser.c revamped the elfgcchack.h format to cope with gcc4 change of aliasing 2005-04-01 13:11:58 +00:00
runsuite.c more progresses against the official regression tests small cleanup for 2008-07-31 19:54:59 +00:00
runtest.c applied patch from Aswin to fix tree skipping fixed a comment and added a 2008-08-25 14:53:31 +00:00
runxmlconf.c applied patch from Aswin to fix tree skipping fixed a comment and added a 2008-08-25 14:53:31 +00:00
SAX2.c rework the patch to avoid some ABI issue with people allocating entities 2008-08-25 08:57:48 +00:00
SAX.c revamped the elfgcchack.h format to cope with gcc4 change of aliasing 2005-04-01 13:11:58 +00:00
schematron.c applied patch from Tobias Minich to allow plugin schematron error 2008-03-14 12:46:42 +00:00
testapi.c fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
testAutomata.c repositioned #include for libxml.h to avoid compilation error on some 2007-01-31 18:38:56 +00:00
testC14N.c fixed compilation when configured --without-sax1 and other cleanups fixes 2005-08-23 22:14:02 +00:00
testchar.c add a new regression test program for testing character ranges and UTF8 2008-07-24 15:05:38 +00:00
testdict.c add the new test in 'make check' and update it to check subdictionaries 2008-08-08 12:03:22 +00:00
testdso.c warning patches from Peter Breitenlohner serious DTD parsing speedups, 2005-01-25 00:22:52 +00:00
testHTML.c a lot of small cleanups based on Linus' sparse check output. Daniel 2005-07-28 23:49:35 +00:00
testModule.c patch from Florent Guiliani to fix build on SCO OpenServer daniel 2008-02-25 15:44:43 +00:00
testOOM.c many further little changes for OOM problems. Now seems to be getting 2004-07-31 16:24:01 +00:00
testOOMlib.c Finally - found the problem with the page generation (XMLPUBFUN not 2003-11-16 06:25:42 +00:00
testOOMlib.h integrated the Out Of Memory test from Havoc Pennington #109368 a lot of 2003-04-24 16:06:47 +00:00
testReader.c a lot of small cleanups based on Linus' sparse check output. Daniel 2005-07-28 23:49:35 +00:00
testrecurse.c completely different fix for the recursion detection based on entity 2008-08-28 15:36:32 +00:00
testRegexp.c made one of the changes suggested by Brian Krahmer allow to pass '--' on 2008-02-21 22:31:55 +00:00
testRelax.c applied patch from Mark Vadoc to not use SAX1 unless necessary. Daniel 2004-01-13 20:42:02 +00:00
testSAX.c a lot of small cleanups based on Linus' sparse check output. Daniel 2005-07-28 23:49:35 +00:00
testSchemas.c applied patch from Mark Vadoc to not use SAX1 unless necessary. Daniel 2004-01-13 20:42:02 +00:00
testThreads.c repositioned #include for libxml.h to avoid compilation error on some 2007-01-31 18:38:56 +00:00
testThreadsWin32.c repositioned #include for libxml.h to avoid compilation error on some 2007-01-31 18:38:56 +00:00
testURI.c add a debug option printing all the fields within the parsed URI structure 2007-10-16 12:18:18 +00:00
testXPath.c added a parser XML_PARSE_COMPACT option to allocate small text nodes (less 2005-08-25 13:19:21 +00:00
threads.c fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
TODO small update trying to add an API to get useful error informations back 2005-01-07 13:56:19 +00:00
TODO_SCHEMAS merged the current state of XML Schemas implementation, it is not 2002-04-16 15:50:10 +00:00
tree.c fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
trio.c applied patch from Andreas Stricke to ease the compilation on Windows CE 2007-04-17 12:44:58 +00:00
trio.h Bjorn sent an update for the TRIO portability layer. Daniel 2003-04-03 15:28:28 +00:00
triodef.h applied patch from Olli Savia for LynxOS Daniel 2006-05-31 13:35:28 +00:00
trionan.c VMS patch from Craig A. Berry Daniel 2003-10-15 08:18:00 +00:00
trionan.h further small changes to elminate most of the remaining warnings. 2003-08-06 04:43:55 +00:00
triop.h applied a trio update patch from Bjorn Reese which should work with MinGW 2002-09-25 22:44:43 +00:00
triostr.c applied patch from Andreas Stricke to ease the compilation on Windows CE 2007-04-17 12:44:58 +00:00
triostr.h applied patch from Andreas Stricke to ease the compilation on Windows CE 2007-04-17 12:44:58 +00:00
uri.c bug in parsing RFC 3986 uris with port numbers Daniel 2008-08-27 17:23:41 +00:00
valid.c fix a small initialization problem raised by Ashwin increase testing 2008-08-27 11:45:41 +00:00
xinclude.c patch based on Wieant Nielander contribution to add the option of not 2008-08-26 07:26:55 +00:00
xlink.c revamped the elfgcchack.h format to cope with gcc4 change of aliasing 2005-04-01 13:11:58 +00:00
xml2-config.1 Revert directory structure changes 2001-02-23 17:55:21 +00:00
xml2-config.in apply patch from Fred Crozat to avoid outputting -L/usr/lib from 2008-01-11 06:44:00 +00:00
xml2Conf.sh.in Small fixups: - xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg - 2001-03-03 18:50:55 +00:00
xmlcatalog.c end of first pass on coverity reports. Daniel 2006-03-10 00:36:23 +00:00
xmlIO.c fix output bug reported by Petr Pajas and analyzed by Bill Daniel 2008-02-16 10:08:14 +00:00
xmllint.c strengthen some of the internal parser limits, add an XML_PARSE_HUGE 2008-08-26 13:05:34 +00:00
xmlmemory.c add xmlMemDisplayLast to help debug incremental memory leaks, and some 2008-07-30 12:58:11 +00:00
xmlmodule.c apply simple patch from Carlo Bramini to avoid compilation problems with 2008-02-08 10:49:46 +00:00
xmlreader.c add an --with-coverage configure option and a 'make cov' target based on 2008-08-27 15:33:28 +00:00
xmlregexp.c add the testchar to 'make check' Volker Grabsch pointed out a typo 2008-08-26 07:46:42 +00:00
xmlsave.c fix handling of empty CDATA nodes as reported and discussed around #514181 2008-03-07 16:50:21 +00:00
xmlschemas.c add the testchar to 'make check' Volker Grabsch pointed out a typo 2008-08-26 07:46:42 +00:00
xmlschemastypes.c horror around the definition of the lexical values for decimal and derived 2008-04-03 10:43:52 +00:00
xmlstring.c Fixed xmlStrEqual() doc, Daniel 2005-12-22 14:58:32 +00:00
xmlunicode.c applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
xmlwriter.c patch from Alex Khesin fixing CDATA output after a text node. fixed the 2008-03-04 13:19:49 +00:00
xpath.c space and tabs cleanup Daniel 2008-07-29 09:13:19 +00:00
xpointer.c fix a few warning raised by gcc-4.1 and latests changes Daniel 2006-03-10 13:40:16 +00:00

                  XML toolkit from the GNOME project

Full documentation is available on-line at
    http://xmlsoft.org/

This code is released under the MIT Licence see the Copyright file.

To build on an Unixised setup:
   ./configure ; make ; make install
To build on Windows:
   see instructions on win32/Readme.txt

To assert build quality:
   on an Unixised setup:
      run make tests
   otherwise:
       There is 3 standalone tools runtest.c runsuite.c testapi.c, which
       should compile as part of the build or as any application would.
       Launch them from this directory to get results, runtest checks 
       the proper functionning of libxml2 main APIs while testapi does
       a full coverage check. Report failures to the list.

To report bugs, follow the instructions at: 
  http://xmlsoft.org/bugs.html

A mailing-list xml@gnome.org is available, to subscribe:
    http://mail.gnome.org/mailman/listinfo/xml

The list archive is at:
    http://mail.gnome.org/archives/xml/

All technical answers asked privately will be automatically answered on
the list and archived for public access unless pricacy is explicitely
required and justified.

Daniel Veillard

$Id$