Commit Graph

312 Commits

Author SHA1 Message Date
Daniel Veillard
39c7d71a3b Jumbo patch, resync of W3C/Gnome CVS trees:
- uri.c tree.c SAX.c parser.c entities.c debugXML.c: finished
  the cleanup of the computation of URI references when seeking
  external entities. The URI reference string and the resulting
  URI are both stored now.
- parser.c HTMLparser.c valid.c nanoftp.c nanohttp.c xpath.c:
  large s(n)printf checks and cleanup from Denis Barbier
  <barbier@imacs.polytechnique.fr>
- xmlversion.h.in tree.h: couple of SGML declarations for a
  possible docbook module.
- result/VC/ : a couple of test output changed due to the change
  of the entities URI
Daniel
2000-09-10 16:14:55 +00:00
Daniel Veillard
b513f5a00d Added a _private for hooking up users data to a parser context, Daniel. 2000-09-10 14:01:12 +00:00
Daniel Veillard
dd477cedf3 - parser.c parserInternals.h: demacroified most of the IS_XXX
the gain in size is significant so ...
Daniel
2000-09-10 13:23:08 +00:00
Daniel Veillard
4b5b80cf02 Fixed cases where doc is NULL when looking up entities, daniel 2000-09-08 18:54:41 +00:00
Daniel Veillard
1de5080002 Fixed a name typo in the Changelog, Daniel 2000-09-07 08:54:32 +00:00
Daniel Veillard
90e1131a60 - uri.c: applied Wayne Davidson patch
- Makefile.in test/URI/uri.data result/URI/uri.data: updated URI tests
Daniel
2000-09-05 10:42:32 +00:00
Daniel Veillard
98a7916ba1 URI work cleanup and regresssion tests,
- uri.c testUri.c: applied Wayne Davidson patches
- test/URI/uri.data result/URI/uri.data: first set of tests/results
- Makefile.in: added URItest and included thenin "make tests"
Daniel
2000-09-04 11:15:39 +00:00
Daniel Veillard
960aa53d2f Closed bug 22941, Daniel 2000-09-03 17:20:17 +00:00
Daniel Veillard
2bb89090d1 Added doc on the xmlExternalEntityLoaders and example for catalogs, Daniel 2000-08-31 14:57:50 +00:00
Daniel Veillard
a7ad452205 Fixing PRE sections, Daniel 2000-08-31 14:19:54 +00:00
Daniel Veillard
969844565f Added a doc on the I/O interfaces, Daniel 2000-08-31 13:50:12 +00:00
Daniel Veillard
f121ab7295 on-line update, Daniel 2000-08-29 23:40:42 +00:00
Daniel Veillard
e715dd25dd - parser.c: Fixed bug on invalid ontent characters and when using
push.
- xmllint.c: fixed xmllint endling of errors in push mode
Daniel
2000-08-29 18:29:38 +00:00
Daniel Veillard
4948eb4fd4 - 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
2000-08-29 09:41:15 +00:00
Daniel Veillard
e010c17d78 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.
2000-08-28 10:04:51 +00:00
Daniel Veillard
47f3f31f83 - HTMLparser.[ch]: applied some of Wayne Davison <wayned@blorf.net> patches
Daniel
2000-08-27 22:40:15 +00:00
Daniel Veillard
e0854c3f83 Bunch of new parser cleanup work:
- SAX.c tree.c debugXML.c: fixed bogus behaviour when an
  undeclared namespace prefix was used, added a warning.
  Cleaned up support w.r.t. entities, spilling out a warning
  and being pedantic on lookups.
- test/warning/ent9 : added testcase for previous example.
- TODO: updated
- parserInternals.h parser.c: changed the way names are parsed
  now allow infinite size and decrease penalty for normal use
- parser.c: Started a big cleanup/check of the parser code,
  fixed some of the most tortuous entity code, spotted code
  unused anymore
- test/*: added tests for very long names and related nasty
  things.
Daniel
2000-08-27 21:12:29 +00:00
Daniel Veillard
f0cc7ccc7d 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
2000-08-26 21:40:43 +00:00
Daniel Veillard
088f428a20 Added a section on aliases, Daniel. 2000-08-25 23:46:50 +00:00
Daniel Veillard
8c6d6af17a Added pointer to gtk-doc, Daniel. 2000-08-25 17:14:13 +00:00
Daniel Veillard
7b9c4b752d Added Warning about SAX en entities support. Daniel. 2000-08-25 16:26:50 +00:00
Daniel Veillard
ec78c0f8d5 Updated for clearer message of the content, DV. 2000-08-25 10:25:23 +00:00
Daniel Veillard
0d6b17088e Fixes from Martin Duerst for encoding.html, Daniel. 2000-08-22 23:52:16 +00:00
Daniel Veillard
52402ce7eb bug fixes, bugfixes, bugfixes ...
- parser.c: Fixed Bug#21552: libxml fails to decode &amp;
- uri.c testUri.c patches, by Marc Sanfacon (1 left)
- parser.c HTMLparser.c: HTML/encoding push problems reportedi by Wayne Davison
Daniel
2000-08-22 23:36:12 +00:00
Daniel Veillard
af7fc34f22 Changed the title external parsed entity in tests, Daniel 2000-08-20 15:32:58 +00:00
Daniel Veillard
2f2bf417f8 Small cleanups, updates, Daniel 2000-08-20 15:11:02 +00:00
Daniel Veillard
244ece9787 Minor fix and add to testsuite, Daniel 2000-08-19 20:58:02 +00:00
Daniel Veillard
b8f25c9118 work done on auto-opening of <p> tags and cleanup of SAX output, Daniel. 2000-08-19 19:52:36 +00:00
Daniel Veillard
979e55e889 Added man pages, Daniel 2000-08-19 16:48:54 +00:00
Daniel Veillard
4540be4af6 Updated the doc a bit, Daniel. 2000-08-19 16:40:28 +00:00
Daniel Veillard
808a3f1f9f cleaned up the output of SAX tests, Daniel 2000-08-17 13:50:51 +00:00
Daniel Veillard
29579360a7 Patch from Albert Chin-A-Young <china@thewrittenword.com>:
- xmllint.c: workaround a MAP_FAILEd definition bug in DU-4.0
Daniel
2000-08-14 17:57:48 +00:00
Daniel Veillard
1255ab7780 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
2000-08-14 15:13:33 +00:00
Daniel Veillard
0310929cc4 Patch from Albert Chin-A-Young <china@thewrittenword.com>:
- configure.in: added --with-readline=DIR to accept alternate
  path for readline include/library
- configure.in: added AM_C_PROTOTYPES to add -Aa -D_HPUX_SOURCE
  for ANSI under HP-UX
- config.in: Removed @LIBS@ from xml-config because @XML_LIBS@
  includes @LIBS@
Daniel
2000-08-14 14:58:22 +00:00
Daniel Veillard
786d7c8dcf on-line update, Daniel 2000-08-12 23:38:57 +00:00
Daniel Veillard
7c29ce2b4b Rebuilt the docs Daniel
Rebuilt the docs
Daniel
2000-08-12 21:20:53 +00:00
Daniel Veillard
87b9539573 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
2000-08-12 21:12:04 +00:00
Daniel Veillard
7ebb1eebda Fix on the patch, Daniel 2000-08-04 18:24:45 +00:00
Daniel Veillard
88a172f75f Patch for HP compilers and patch to xmllint.c from Sven Heinicke, Daniel 2000-08-04 18:23:10 +00:00
Daniel Veillard
a2679fa421 on-line update, Daniel 2000-07-22 02:38:15 +00:00
Daniel Veillard
69f94a3b72 Released 2.2.1, Daniel. 2000-07-21 23:24:36 +00:00
Daniel Veillard
46e370e69f - 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
2000-07-21 20:32:03 +00:00
Daniel Veillard
3665069745 - nanohttp.c: fixed socklen_t replacement to unsigned int
- parser.c: fixed a space handdling missing at the end of
  production 28 DOCTYPE.
- xmlmemory.c: fixed a stupid bug on the routine to override
  allocation functions
- TODO: updated
Daniel
2000-07-21 15:16:39 +00:00
Daniel Veillard
94e906032a on-line update, Daniel 2000-07-17 14:38:19 +00:00
Daniel Veillard
e46e20d3f5 Regenerated the docs on my work station, Daniel 2000-07-14 15:02:46 +00:00
Daniel Veillard
71f93fca5a Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
Daniel Veillard
32bc74ef98 - 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
2000-07-14 14:49:25 +00:00
Daniel Veillard
8d86964a4a Linked the I18N support, Daniel. 2000-07-14 12:12:59 +00:00
Daniel Veillard
be40c8b2d2 First version of the encoding doc, Daniel. 2000-07-14 12:10:59 +00:00
Daniel Veillard
60979bdcb3 on-line update, Daniel 2000-07-10 12:17:33 +00:00