6 Commits

Author SHA1 Message Date
Ettore Perazzoli
f5cd6c9bd7 [Patch from Ian Goldberg <ian@cypherpunks.ca>.]
* parserold.c (xmlOldParseAttValue): Ensure you've got enough
characters in your readahead buffer before you check NXT(1).
2002-01-23 17:45:03 +00:00
Alex Larsson
9426f165f8 Fix a parser bug. When reading attribute values with &#34; the parser
2001-08-13  Alex Larsson  <alexl@redhat.com>

	* parserold.c:
	Fix a parser bug. When reading attribute values with &#34; the parser
	thought this was the ending quote. Also fixes problems with some other
	escaped values (<, & and escaped whitespace).
	This fixes a bug in nautilus where sometimes the tree view didn't show
	up.
2001-08-13 17:54:14 +00:00
Chyla Zbigniew
da27133c8f 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.
2001-06-21 13:35:23 +00:00
Daniel Veillard
0d6a64cf64 - parser.c parserold.c: Sullivan and Darin found a parser bug,
applied the patch.
Daniel
2001-03-26 21:23:18 +00:00
Daniel Veillard
925eedf83b - parserold.c : reapplied bug 52299 fix
Daniel
2001-03-26 07:52:39 +00:00
Daniel Veillard
989765adcd 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
2001-03-25 00:13:40 +00:00