1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
Commit Graph

594 Commits

Author SHA1 Message Date
Daniel Veillard
c654d60364 Added an entry to the FAQ, Daniel 2001-05-01 12:42:26 +00:00
Daniel Veillard
c8f620ba7f fix of an XSLT namespace bug reported on the list general/bug-8- Daniel
* xpath.c: fix of an XSLT namespace bug reported on the list general/bug-8-
Daniel
2001-04-30 20:31:33 +00:00
Daniel Veillard
5792e16f05 - strio.h trio.c: Dan McNichol suggested a couple of small
fixes for AIX 4.3.3 using Visual Age 5.0.2 compiler
Daniel
2001-04-30 17:44:45 +00:00
Daniel Veillard
02141eabb2 - tree.c parser.c encoding.c: spent a bit more time looking
at the parsing speed and DOM handling. Added a few more
  speedups.
Daniel
2001-04-30 11:46:40 +00:00
Daniel Veillard
3ed155fcdf How to bump raw SAX parsing speed from 5.8M/s to 7.4M/s in 4 lines of code:
- parser.c: small but effective parsing speed improvement
Daniel
2001-04-29 19:56:59 +00:00
Daniel Veillard
b59076b898 - configure.in: default on the DocBook parser inclusion (for Gnome)
- DOCBparser.h: fixed a header reference
Daniel
2001-04-29 17:04:07 +00:00
Daniel Veillard
b45c43be20 - configure.in xpath.c: applied Bjorn patches for FPE on the
alpha
Daniel
2001-04-28 17:02:11 +00:00
Daniel Veillard
eefd44943c - tree.[ch] xmlIO.h: applied patch from Joe McAlerney to add
xmlSaveFormatFileTo()
Daniel
2001-04-28 16:55:50 +00:00
Daniel Veillard
e39a93d0d3 This improves seriously some XSLt speed tests:
- xpath.c: simple and efficient optimization, XPath functions
  aways bind to the same code, cache this
- TODO: updated (by saying some is obsolete)
Daniel
2001-04-28 14:35:02 +00:00
Daniel Veillard
2156a56bcb - xpath.c: more cleanup work on XPath name parsing routines
Daniel
2001-04-28 12:24:34 +00:00
Daniel Veillard
61d80a2822 - parserInternals.c xpath.[ch]: some UTF8 cleanup on
xmlXPathParseName
- xpath.c: Igor Zlatkovic suggested a change for NAN and MSC
- debugXML.c: avoid compilation problems if compiling without
  HTML support, Igor Zlatkovic
- win32/libxml2/libxml2.def.src: being able to compile without
  XPath on Windows
Daniel
2001-04-27 17:13:01 +00:00
Daniel Veillard
dbb14a72f0 - parser.c: applied fixes from Christian Glahn bug report #53391
Daniel
2001-04-26 20:54:01 +00:00
Daniel Veillard
2913e4cef5 new patches from Toshio Kuratomi Daniel
* libxml.m4 libxml2-spec.in: new patches from Toshio Kuratomi
Daniel
2001-04-26 19:29:02 +00:00
Daniel Veillard
67fee94e53 - tree.[ch]: added xmlSaveFormatFile interface for saving
and indenting a file.
Daniel
2001-04-26 18:59:03 +00:00
Daniel Veillard
82e4971dc2 - xpath.c: fixed bug #53689 related to processing-instruction()
Daniel
2001-04-26 14:38:03 +00:00
Daniel Veillard
02f077a7ae - DOCBparser.c: patche from Lszl Kovcs
Daniel
2001-04-26 10:59:11 +00:00
Daniel Veillard
30211a0eef - parser.c: applied fixes from Christian Glahn bug report #53391
Daniel
2001-04-26 09:33:18 +00:00
Daniel Veillard
5a7c3459d0 - error.c: Jean Franois Lecomte provided a complete description
and a fix to bug #53537
Daniel
2001-04-26 09:16:13 +00:00
Daniel Veillard
5c4ec4c862 - libxml.m4: added AM_PATH_XML2 provided by Toshio Kuratomi
Daniel
2001-04-26 07:43:59 +00:00
Daniel Veillard
1034da2bff - DOCBparser.c SAX.c: a bit more work on entities processing.
Still Need to cleanup XML output and references in attributes
Daniel
2001-04-25 19:06:28 +00:00
Daniel Veillard
4ec0b0f4c3 - DOCBparser.c include/Makefile.am: two patches from Lszl Kovcs
Daniel
2001-04-25 15:53:40 +00:00
Daniel Veillard
b33c201978 - tree.c: trying to fix #53574, not completely complete,
I would like xmllint --copy --debug test/ent1 and
  xmllint --debug test/ent1 to show the same result.
- xpath.c: fix a bug when trying to sort namespace nodes
Daniel
2001-04-25 12:59:04 +00:00
Daniel Veillard
5146f20c6c - HTMLtree.c: real fix for #53402
Daniel
2001-04-25 10:29:44 +00:00
Daniel Veillard
7533cc8fda Good old cycle: new release, new bug reports, new fixes ...
- HTMLtree.c HTMLtree.h : closing #53402 i.e. output of
  PIs when using xsl:output
- valid.c: closing #53537 some case generate segfaults if there
  is validity errors
Daniel
2001-04-24 15:52:00 +00:00
Daniel Veillard
61b33d5733 - SAX.c testDocbook.c DOCBparser.c: more work on the support
of external parsed entities, added --noent to testDocbook
- valid.c: Garry Pennington found an uninitialized variable
  access in xmlValidateElementContent()
Daniel
2001-04-24 13:55:12 +00:00
Daniel Veillard
56098d4f35 - HTMLparser.c : HTML parsing still sucks ... trying to deal
with madness
- result/HTML/ : this modified the result of the regression tests
  a lot.
Daniel
2001-04-24 12:51:09 +00:00
Daniel Veillard
122376b8ef Staring to receive bug reports on 2.3.7:
- entities.c: xmlEncodeEntitiesReentrant fixed a few accesses
  to doc where it wasn't checked against NULL reported by
  Jens Laas
Daniel
2001-04-24 12:12:30 +00:00
Daniel Veillard
43dadebd41 - HTMLparser.c: Jonas Borgstrm patch, the <td>, and <th> elements
now means the end of any open <span>,<font>,<a>,<b>,<i>,<u>.
Daniel
2001-04-24 11:23:35 +00:00
Daniel Veillard
eae522a0d8 Time to work on helping the Gnome Doc project, first step is reintegrating
the SGML DocBook parser in libxml2 distrib:
- DOCBparser.c DOCBparser.h testDocbook.c configure.in Makefile.am
  xmlversion.h.in: started (re)integrating the DocBook SGML parser.
- SAX.[ch]: cleanup and updates for DocBook
- debugXML.c parser.h tree.[ch] valid.c xpath.c: small macro or
  ex SGML identifier changes
- valid.c: removed a static unused function.
Daniel
2001-04-23 13:41:34 +00:00
Daniel Veillard
de57c61c9d - HTMLtree.c: applied change for Paul Sponagl on script saving
- Makefile.am: the warning about entity title.xml are normal.
Daniel
2001-04-23 09:13:36 +00:00
Daniel Veillard
393df01cac Finally pushing 2.3.7 out:
- configure.in: release of 2.3.7
- Makefile.am: fixing make distcheck
Daniel
2001-04-22 20:11:18 +00:00
Daniel Veillard
a41123ce95 - doc/html/* doc/xml.html: updated and regenerated the docs
Daniel
2001-04-22 19:31:20 +00:00
Daniel Veillard
fd0c3ebb09 Fixed the XPointer crap ...
- xpath.c: fixed the XPointer problem introduced in 2.3.6
Daniel
2001-04-22 19:13:10 +00:00
Daniel Veillard
e82a992bf5 - tree.c: fixed #53388 with the provided patch
Daniel
2001-04-22 12:12:58 +00:00
Daniel Veillard
0680399c8d - valid.c: Bjorn detected an invalid memory access. Fixed
vstateVPush()
Daniel
2001-04-22 10:35:56 +00:00
Daniel Veillard
40af649f9b - xpath.c: fixed xmlXPathCompile to detected unproperly ended expr
Daniel
2001-04-22 08:50:55 +00:00
Bjorn Reese
70a9da54eb trio upgrade and integration 2001-04-21 16:57:29 +00:00
Daniel Veillard
34b1b3a81e Cleanup and testing with the KDE help center files:
- valid.c: cleanup, more useful debugging
- parserInternals.c: cleanup vctxt.nodeTab (de)allocation
- xmlIO.c: entity loading is printed as an error when validating
Daniel
2001-04-21 14:16:10 +00:00
Daniel Veillard
1c14b8de44 The last main work left on non-determinist validation:
- valid.c: fixed to validate within entities
- test/VCM/v22.xml: added a specific testcase
Daniel
2001-04-21 10:28:59 +00:00
Daniel Veillard
ca1f1724ed The lesson of the day is
"never forget an epsilon transition or DocBook will raise it"
- valid.c: forgot an epsilon transition in for ()+
- test/VCM/v21.xml : added a specific test case
Daniel
2001-04-20 15:47:35 +00:00
Daniel Veillard
8534905f62 - valid.c: removed a state explosion exhibited by RSS
- test/valid/rss.xml result/valid/rss.xml*: added the testcase
  from bug #51872
Daniel
2001-04-20 13:48:21 +00:00
Daniel Veillard
dab4cb37d8 Geez, this one was painful ! I still need to handle entities references
for the validation step but I have a clean way to add this without touching
the algorithm:
- valid.[ch] tree.h: worked *hard* to get non-determinist content
  validation without using an ugly NFA -> DFA algo in the source.
  Made a specific algorithm easier to maintain, using a single
  stack and without recursion.
- Makefile.am test/VCM/*.xml: added more tests to "make Validtests"
- hash.c: made the growing routine static
- tree.h parser.c: added the parent information to an
  xmlElementContent node.
Daniel
2001-04-20 13:03:48 +00:00
Daniel Veillard
e470df7fdd 3 hours of debug, this was hell:
- SAX.c parser.c xpath.c: generating IDs when not validating
  from an external parsed entity was poisoning the ID has table
  with removed values. This was killing XSLT on the KDE help
  browser.
Daniel
2001-04-18 21:41:07 +00:00
Daniel Veillard
ceacdd964d - entities.h: andrew@ugh.net.au detected a double declaration
Daniel
2001-04-18 15:10:35 +00:00
Daniel Veillard
a10efa8aa6 - debugXML.c hash.c tree.h valid.c : some changes related to
the validation suport to improve speed with DocBook
- result/VC/OneID2 result/VC/OneID3 : this slightly changes
  the way validation errors get reported
Daniel
2001-04-18 13:09:01 +00:00
Daniel Veillard
1ed3f88b8b - HTMLparser.c HTMLtree.c: applied part of the patches provided
by P C Chow and William M. Brack for XSLT HTML output
Daniel
2001-04-18 09:45:35 +00:00
Daniel Veillard
5d7a9fe6b3 Quick fix of a couple of bad links, Daniel 2001-04-17 21:03:15 +00:00
Daniel Veillard
2d90de4b16 - xmlversion.h.in win32config.h win32/libxml2/*: applied
Igor Zlatkovic patches for MSC compilation and added his
  updates
Daniel
2001-04-16 17:46:18 +00:00
Daniel Veillard
e043ee17c2 - xpath.c: fixed xmlXPathNodeCollectAndTest() to do proper
prefix lookup.
- parserInternals.c: fixed the bug reported by Morus Walter
  due to an off by one typo in xmlStringCurrentChar()
Daniel
2001-04-16 14:08:07 +00:00
Daniel Veillard
a3bfca59bf 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
2001-04-12 15:42:58 +00:00