parser.c


Log

Author Commit Date CI Message
Daniel Veillard e2ac640a 2001-09-01T20:42:25 David Kaelbling found a == instead of = typo Daniel * parser.c: David Kaelbling found a == instead of = typo Daniel
Daniel Veillard a3e8fb6e 2001-08-22T00:57:10 *** empty log message ***
Daniel Veillard b3b4b07c 2001-08-22T00:36:20 xmlSAXParseDoc() fixing a memleak on ctxt->sax Daniel * parser.c: xmlSAXParseDoc() fixing a memleak on ctxt->sax Daniel
Chyla Zbigniew da27133c 2001-06-21T13:35:23 Made xmlParseChunk behaving the same way as xmlParseFile (no matter if Made xmlParseChunk behaving the same way as xmlParseFile (no matter if it's the correct behaviour or not ;-) * parser.c (xmlParseChunk): Use the old parser if xmlUseNewParserDefault is not set. Added xmlOldParseChunk declaration. * oldparser.c (xmlOldParseChunk): Made non-static.
Daniel Veillard 3a1528c5 2001-05-05T09:40:50 - entities.c tree.c parser.c: fix a problem raised after 1.8.12 non-utf document parsed with the old parser are not saved correctly force the UTF-8 encoding label on the new parser to detect it Daniel
Daniel Veillard 01861538 2001-03-26T22:51:03 parser.c: fixed line number reporting on error Daniel
Daniel Veillard 0d6a64cf 2001-03-26T21:23:18 - parser.c parserold.c: Sullivan and Darin found a parser bug, applied the patch. Daniel
Daniel Veillard 412aaa8d 2001-03-25T14:58:11 Started I18N checking on the new parser: - parser.c: fixed an I18N breakage on the new parser due to the usage of an old routine - test/i18n.xml result/i18n.xml: added a small first test Daniel
Daniel Veillard cdcb0d1e 2001-03-25T14:11:51 More checking and cleanup: - parser.c: cleanup and make sure scrollkeeper won't have problems Daniel
Daniel Veillard 8657b30c 2001-03-25T00:42:30 forgot the file Daniel forgot the file Daniel
Daniel Veillard 989765ad 2001-03-25T00:13:40 Trying to get a final solution to the problem: - added back the old parser - make it the default - allow people to switch easilly Few changes except the old parser where all names were changed and made static except 3 entry points: - Makefile.am parserold.c: added back the 1.8.11 parser for compatibility - README: updated - SAX.c: integrate back 1.8.11 callback code and call it when we are using the old parser - entities.c: fixed a small problem - parser.[ch]: allow to use either parser, add xmlUseNewParser(), and modify the Initialization code to check LIBXML_USE_NEW_PARSER or LIBXML_USE_OLD_PARSER - tester.c: make it use the new parser by default, but check LIBXML_USE_OLD_PARSER and add the --oldparser option Daniel
Daniel Veillard 1071dadc 2001-03-23T18:20:47 Seems some galeon bookmarks refuses to load, remove some cases where the problem could arose: - parser.c: remove some cases where an encoding error disable loading corrupted documents generated by previous version Daniel
Daniel Veillard aa2130c0 2001-03-21T17:21:36 - HTMLparser.c parser.c: found a hard to trigger but real I/O buffer problem fixed the multiple points where this needed fixing Daniel
Daniel Veillard a9c540cf 2001-03-21T13:52:30 Early test this crashed galeon: - parser.c: make sure the full structure is NULL initialized when allocated Daniel
Daniel Veillard 354edd89 2001-03-21T12:53:50 It's hard to estimate how much I hated to do this, but it's done ... The best way to solve the I18N problen is unfortunately to fix libxml1 parser to at least deal correctly with UTF8 and ISO-Latin-1 encodings. I have plugged in the 2.3.5 (or what will be it's not released yet) core XML parser in the libxml1 framework. No changes API wise. The only changes will be backward binary compatible extensions of some of the parser structures and the number of parser states. - configure.in: version will be 1.8.12 - Makefile.am: added .memdump tests - SAX.c entities.[ch] parser.[ch] tree.c valid.c xml-error.h xmlIO.[ch]: plugged the 2.3.5 libxml2 XML parser in, while preserving binary compatibility - uri.[ch]: the parser code really requires URI manipulation add this from 2.3.5 too - results/* : of course this changed the output of a number of tests - test/dtd12 : this test was actually not wellformed, the new parser pukes at it, fixed ... Daniel
Daniel Veillard 87bfeb50 2001-03-20T11:38:20 Fixing the bug in the libxml1 branch too: - parser.c: fixing bug 52299 strange condition leading to a parser crash due to a buffer overflow - result/attrib.xml test/attrib.xml: added the specific test case Daniel
Ali Abdin ea448bbe 2000-12-25T17:32:19 in xmlParseReference, do not split up an entity into the '&' and the rest Sun Dec 24 20:10:11 2000 Ali Abdin <aliabdin@aucegypt.edu> * parser.c: in xmlParseReference, do not split up an entity into the '&' and the rest of it (e.g. 'gt;'). This throws off the SAX parser in a certain case and makes it do SAX.characters ('&') and then SAX.characters ('gt;'). The code is only #if 0'd out. I ran 'make tests' and no errors were generated.
Daniel Veillard 9dad02a4 2000-06-29T09:38:26 Fixed &#38; parsing bug, Daniel.
Daniel Veillard 6117c6fb 2000-06-28T23:39:08 libxml 1/2 fixups, spec cleanup, 1.8.8 prerelease, Daniel.
Daniel Veillard b566ce1d 2000-03-04T11:39:42 Rebuit doc finished closing a few bugs, Daniel.
Daniel Veillard fb76c40a 2000-03-04T11:39:42 Blanks handling function, added 2.x upgrade doc, Daniel
Daniel Veillard 90fb02ca 2000-03-02T03:46:43 Trying another better solution at the <a> </a> problem, Daniel
Daniel Veillard 83a30e7a 2000-03-02T03:33:32 Fixed #6766 and satrted working on white space handling, Daniel
Daniel Veillard d0f7f74b 2000-02-02T17:42:48 Do a bit of bufferization in text mode, Daniel
Daniel Veillard 5feb8495 2000-02-02T17:15:36 - Removing warnings on various paltforms - closing bug #5281 Daniel
Daniel Veillard da07c34a 2000-01-25T18:31:22 - added a nano FTP module - removed SNAP from RPM - updated the status in doc
Daniel Veillard ad8f99df 2000-01-15T14:20:03 Updated TODO conditionnal compile of messages from the parser/tree.c code, Updated TODO conditionnal compile of messages from the parser/tree.c code, Daniel
Daniel Veillard 0142b84b 2000-01-14T14:45:24 Oops, it seems I forgot to commit 1.8.4 changes - restored xmlNewGlobalNs since this seems used - fixed a problem with INCLUDE_WINSOCK - removed all calls to exit() from the library code. - removed bugs detected by Windows compilers - started adding interfaces for parsing well balanced XML fragments - releasing 1.8.4 - rebuilt the docs Daniel
Daniel Veillard 71b656e0 2000-01-05T14:46:17 - added xmlRemoveID() and xmlRemoveRef() - added check and handling when possibly removing an ID - fixed some entities problems - added xmlParseTryOrFinish() - changed the way struct aredeclared to allow gtk-doc to expose those - closed #4960 - fixes to libs detection from Albert Chin-A-Young - preparing 1.8.3 release Daniel
Daniel Veillard 686d6b6a 2000-01-03T11:08:02 - added xmlRemoveProp - changed the way Windows socket stuff get included - removed an indetermination xmLDecl/PI(xml...) - xmlNewNs wasn't checking for double definition - fixed a problem with dist-hook duplicates - fixed the loading of external entities APIs, now xmlLoadExternalEntity() is used everywhere - now the xhtml spec validates with the xhtml DTD. - error.c: fixed crashes in case of no input stream - added the xhtml spec and dtds to the validation tests and results Daniel
Daniel Veillard 5e5c6235 1999-12-29T12:49:06 - Push mode for the HTML parser (new calls) - Improved the memory debugger to provide content informations - cleanups, last known mem leak killed Daniel
Daniel Veillard dbfd641b 1999-12-28T16:35:14 - Lots of improvements, too long to list here - Push mode for the XML parser (HTML to come) - XML shell like interface for debug - improvements on XPath and validation Daniel
Daniel Veillard 3c558c37 1999-12-22T11:30:41 - fix for PIs name starting with xml - fixed a potential problem with || and && ops - generate win32config.h for those on the Other Side ! Daniel
Daniel Veillard 0caf07a7 1999-12-21T16:25:49 Fixed = vs. == bug in parser.c (hrmless though) and type in sgml, Daniel.
Daniel Veillard f600e253 1999-12-18T15:32:46 - Fixed bug #4344 - Fixed C++ problems in headers - Released 1.8.1 Daniel - Fixed bug #4344 - Fixed C++ problems in headers - Released 1.8.1 Daniel
Daniel Veillard 10a2c653 1999-12-12T13:03:50 Large commit of changes done while travelling to XML'99 - cleanups on memory use and parsers - start of Link interfaces HTML and XLink - rebuild the doc - released as 1.8.0 Daniel
Daniel Veillard 294cbca5 1999-12-03T13:19:09 Closing #3908 and #3937 and a memory leak in the SAX API added SAX.h mostly useful for the doc generation Regenerated all the docs, Daniel
Daniel Veillard f5c2c870 1999-12-01T09:51:45 - added the patch from Carl Nygard <cnygard@bellatlantic.net> which allow impressive speed improvement on dataset with large text pieces, but at the cost of broken binary compatibility and slightly bigger memory usage. Configure with --with-buffers to activate them, they are protected with XML_USE_BUFFER_CONTENT define. - added xmlCleanupPredefinedEntities(), memory allocation cleanup Daniel
Daniel Veillard a819dace 1999-11-24T18:04:22 Added cleanup routines, cleanup with -pedantic on linux, closed #3788, Daniel
Daniel Veillard 11a48ec6 1999-11-23T10:40:46 Closing bug report #3748, changed global compression flag usage, and added xmlNewTextChild() and xmlNewDocRawNode(), Daniel
Daniel Veillard 07136650 1999-11-18T14:02:05 Fixed some wrongly space collapsing code due to misreading of the spec, Daniel.
Daniel Veillard 7f858502 1999-11-17T17:32:38 Attribute nomarlization closing bug #3597 Small fixes in encoding.c First bits of real progressive parsing, Daniel
Daniel Veillard 51e3b154 1999-11-12T17:02:31 xmlSetProp() and xmlNewProp() fixes, mem extra alloc bug in parser fixed, Daniel
Daniel Veillard 3500838f 1999-10-25T13:15:52 BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs Improvement of regression scripts, make testall should look clean Released as 1.7.4
Daniel Veillard 6077d03d 1999-10-09T09:11:45 Various small bugfixes, Daniel.
Daniel Veillard 00fdf370 1999-10-08T09:40:39 Improvement of doc, Raph patch for CORBA init, support for spaces in XPath, Daniel
Daniel Veillard 7a66ee6b 1999-09-26T11:31:02 better SAX interfaces. preparing for 1.7.2, Daniel.
Daniel Veillard dd6b3676 1999-09-23T22:19:22 Fixed CHAR, errno, alpha RPM compile, updated doc, Daniel
Daniel Veillard 7f7d1119 1999-09-22T09:46:25 Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4, etc... See Changelog, Daniel.
Daniel Veillard c08a2c6f 1999-09-08T21:35:25 Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel
Daniel Veillard 6454aec2 1999-09-02T22:04:43 Added memory debug wrappers, killed all detected memory leaks, Daniel
Daniel Veillard c26087b8 1999-08-30T11:23:51 Patched warning issued on SGI by Stephane.Conversy@lri.fr, Daniel.
Daniel Veillard b96e6438 1999-08-29T21:02:19 Release 1.6, lot of fixes, more validation, code cleanup, added namespace on attributes, Daniel.
Daniel Veillard b05deb7f 1999-08-10T19:04:08 Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel
Daniel Veillard e2d034d3 1999-07-27T19:52:06 Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel
Daniel Veillard 1566d3a9 1999-07-15T14:24:29 Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel
Daniel Veillard d79d7870 1999-07-12T10:38:12 Applied patch from John Ellson <ellson@lucent.com> closing #1646, Daniel
Daniel Veillard 7cc3c04b 1999-07-09T10:11:57 Applied a bug fix on file reading code from John Ellson <ellson@lucent.com>, Daniel.
Daniel Veillard 5233ffc8 1999-07-06T22:25:25 Restore binary compat, more HTML stuff, allow stdin input, Daniel.
Daniel Veillard be70ff71 1999-07-05T16:50:46 Closing reported bugs: 617 1591 1592, adding an HTML parser, Daniel
Daniel Veillard 97fea18b 1999-06-26T23:07:37 Allocate a per-parser SAX table, correct the SAX results, Daniel.
Daniel Veillard 14fff064 1999-06-22T21:49:07 Big changes, seems that 1.2.0 wasn't commited, here is 1.3.0, Daniel
Raph Levien 05240da8 1999-06-15T21:27:11 Fixed a buffer overrun (exhibits with very long attributes).
Daniel Veillard 011b63cb 1999-06-02T17:44:04 Release of libxml-1.1, Daniel.
Daniel Veillard 27d88744 1999-05-29T11:51:49 CORBA defines fixes, char encoding atodetection, Daniel
Daniel Veillard 5099ae89 1999-04-21T20:12:07 Removal of threading problems, update documentation, added SAX tests, Daniel
Daniel Veillard 517752b9 1999-04-05T12:20:10 Completed/revamped the SAX support, removed old namespace suppport, Daniel
Daniel Veillard 64068b3e 1999-03-24T20:42:16 Moved macros to parserInternals, applied patches for MSVC6, Daniel
Daniel Veillard 012ccc1c 1999-03-23T10:11:11 Fixed xml-config --version, Daniel.
Daniel Veillard bc50b59d 1999-03-01T12:28:53 Memory leak hunting, export more interfaces, updated the doc, Daniel.
Daniel Veillard d692aa49 1999-02-28T21:54:31 Added call to create/free parser contexts, + doc, Daniel.
Daniel Veillard 1e346af5 1999-02-22T10:33:01 Serious upgrade of internal subset support, setup for gtk-doc, Daniel
Daniel Veillard 1164e752 1999-02-16T16:29:17 Upgrade to 0.99.8 cleanup of spec and makefiles to include doc, Daniel.
Daniel Veillard 1899e853 1999-02-01T12:18:54 Header cleanup and work on parsing/output of element declarations, Daniel.
Daniel Veillard 3b9def15 1999-01-31T22:15:06 More work toward DTD parsing, informations on the mailing-list and Web, Daniel.
Daniel Veillard 39a1f9a3 1999-01-17T19:11:59 Speed, conformance testing, more parsing, general improvements, Daniel.
Daniel Veillard 8cc0d1f8 1998-11-16T01:04:26 Better entities and char ref encoding, error msg formatting, Daniel.
Daniel Veillard 242590ee 1998-11-13T18:04:35 simple bug hunting done during rpm2html and rpmfind integration.
Daniel Veillard 42dc9b30 1998-11-09T01:17:21 Added interfaces with SAX callback block, and upgraded libtool, Daniel
Daniel Veillard e3bffb99 1998-11-08T14:40:56 Redirect all errors reporting through the SAX error function, Daniel.
Daniel Veillard 0ba4d537 1998-11-01T19:34:31 CharRef handling, comments, formatting, pre UTF-8 handling, Daniel.
Daniel Veillard 27271682 1998-10-30T06:39:40 Fixed? a trange bug related to compression, Daniel.
Daniel Veillard ccb09637 1998-10-27T06:21:04 Changed the internals a lot for DOM, entity support, slight changes of API, more (if not all) formating of function comments, started documentation, Daniel.
Daniel Veillard 11e0058a 1998-10-24T18:27:49 Function blocks of parser.c, attribute handling through SAX, Daniel.
Daniel Veillard 0bef131b 1998-10-14T02:36:47 Added prev and doc pointers to Node, confomity with DOM, Daniel
Seth Alves e7f12e65 1998-10-01T20:51:15 replaced malloc.h with stdlib.h to quiet compiler
Daniel Veillard 70120ffb 1998-09-22T00:24:21 Corrected a loop if the file size is 0, Daniel.
Daniel Veillard 845664df 1998-08-13T04:43:19 Applied a small patch on numeric entities parsing from Christopher Blizzard, Daniel
Daniel Veillard 260a68fd 1998-08-13T03:39:55 Release 0.2, 80% rewrite, nothing left intact ... Daniel