Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 93ce33c2 | 2020-07-23 17:34:08 | Fix several quadratic runtime issues in HTML push parser Fix a few remaining cases where the HTML push parser would scan more content during lookahead than being parsed later. Make sure that htmlParseDocTypeDecl consumes all content up to the final '>' in case of errors. The old comment said "We shouldn't try to resynchronize", but ignoring invalid content is also what the HTML5 spec mandates. Likewise, make htmlParseEndTag skip to the final '>' in invalid end tags even if not in recovery mode. This is probably the most visible change in practice and leads to different output for some tests but is also more in line with HTML5. Make sure that htmlParsePI and htmlParseComment don't abort if invalid characters are encountered but log an error and ignore the character. Change some other end-of-buffer checks to test for a zero byte instead of relying on IS_CHAR. Fix usage of IS_CHAR macro in htmlParseScript. | ||
| 0b2d5c48 | 2017-06-12 19:10:04 | Initialize keepBlanks in HTML parser This caused failures in the HTML push tests but the fix required to change the expected output of the HTML SAX tests. | ||
| 3c080d6d | 2010-03-15 15:47:50 | Don't give default HTML boolean attribute values in parser * HTMLparser.c: don't default value of HTML boolean attributes in the parser * SAX2.c: move this to SAX2 tree building backend * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax result/HTML/wired.html.sax: this changes a few HTML SAX regression tests | ||
| c47d2630 | 2006-10-17 16:13:27 | fixing HTML minimized attribute values to be generated internally if not * HTMLparser.c: fixing HTML minimized attribute values to be generated internally if not present, fixes bug #332124 * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax result/HTML/wired.html.sax: this affects the SAX event strem for a few test cases Daniel | ||
| 36d73403 | 2005-09-01 09:52:30 | Applied the last patch from Gary Coady for #304637 changing the behaviour * HTMLparser.c: Applied the last patch from Gary Coady for #304637 changing the behaviour when text nodes are found in body * result/HTML/*: this changes the output of some tests Daniel | ||
| 0a2a163d | 2001-05-11 14:18:03 | - HTMLparser.c: Patch from Jonas Borgstr | ||
| a2bc368b | 2001-05-03 08:27:20 | - HTMLparser.c: trying to fix the problem reported by Jonas Borgstr | ||
| 56098d4f | 2001-04-24 12:51:09 | - HTMLparser.c : HTML parsing still sucks ... trying to deal with madness - result/HTML/ : this modified the result of the regression tests a lot. Daniel | ||
| a3bfca59 | 2001-04-12 15:42:58 | parsing real HTML is a nightmare. - HTMLparser.c result/HTML/*: revamped the way the HTML parser handles end of tags or end of input Daniel | ||
| 126f2799 | 2000-10-24 17:10:12 | Bunch of fixes, finishing moving datastructures to the hash stuff: - hash.[ch] debugXML.c: expanded/enhanced the API, added multikey tuples, made hash structure opaque - valid.[ch]: moved elements, attributes, notations decalarations as well as ID and refs to hash tables. - entities.c: hash cleanup - xmlmemory.c: fixed a dump problem in debug mode - include/Makefile.am: problem passing in DESTDIR= values patch from Marc Christensen <marc@calderasystems.com> - nanohttp.c: removed debugging remains - HTMLparser.c: the bogus tag should be ignored (Wayne) - HTMLparser.c parser.c: fixing a number of problems with the macros in the *parser.c files (Wayne). - HTMLparser.c: close the previous option when opening a new one (Marc Sanfacon). - result/HTML/*: updated the HTML results accordingly Daniel | ||
| 970112a9 | 2000-10-03 09:33:21 | Stupid bug fix on the HTML parser: - HTMLparser.c: Doohhh, attribute name parsing was still case sensitive ! Fixed this ... - result/HTML/* : updated the tests results accordingly Daniel | ||
| 4948eb4f | 2000-08-29 09:41:15 | - HTMLparser.c testHTML.c: applied two new patches from Wayne Davison <wayned@blorf.net> - result/HTML/*.sax: regenerated HTML SAX output - parser.c: more cleanup. Daniel | ||
| e010c17d | 2000-08-28 10:04:51 | Mostly HTML generation and parsing enhancements: - HTMLparser.[ch] testHTML.c: applied the second set of patches from Wayne Davison <wayned@blorf.net>, adding htmlEncodeEntities() - HTMLparser.c: fixed an ignorable white space detection bug occuring when parsing with SAX only - result/HTML/*.sax: updated since the output is now HTML encoded... Daniel. | ||
| b8f25c91 | 2000-08-19 19:52:36 | work done on auto-opening of <p> tags and cleanup of SAX output, Daniel. | ||
| 808a3f1f | 2000-08-17 13:50:51 | cleaned up the output of SAX tests, Daniel | ||
| 1255ab77 | 2000-08-14 15:13:33 | Patch from Dave Yearke <yearke@eng.buffalo.edu>: - testHTML.c: fix core dump on Solaris 2.x systems - HTMLparser.c: fix segfault if ctxt->sax->characters() is NULL - result/HTML/*.sax: previous bug fix lead to new results Daniel | ||
| 87b95395 | 2000-08-12 21: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 |