Commit Graph

620 Commits

Author SHA1 Message Date
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 Borgström 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
Daniel Veillard
82daa81a8b - tree.[ch] : added xmlDocCopyNode for gdome2 support
Daniel
2001-04-12 08:55:36 +00:00
Daniel Veillard
67a21303b8 - tree.h: include xmlmemory.h this seems to havoid a nasty glibc
bug where the linktime verions of free() won't work ...
Daniel
2001-04-11 14:39:16 +00:00
Daniel Veillard
27b5528986 - config.h.in configure.in xmlversion.h.in: added ansidecl.h test
Daniel
2001-04-11 12:22:25 +00:00
Daniel Veillard
afc7311e0b - doc/xml.html: added 2.3.6 release
Daniel
2001-04-11 11:51:41 +00:00
Daniel Veillard
bdb9ba7770 - tree.c: fixed xmlStringGetNodeList() to handle charrefs
- result/wml.xml: resulted in a small output change
Daniel
2001-04-11 11:28:06 +00:00
Daniel Veillard
d2f3ec780d - tree.c: xmlNewDoc was missing the charset initialization
- xmllint.c: added --auto to autogenerate a doc, allow to
  reproduce the problem fixed on xmlNewDoc
Daniel
2001-04-11 07:50:02 +00:00
Daniel Veillard
1731d6ae0a - xpath.c: trying to get 52979 solved
- tree.c result/ result/noent/: trying to get 52712 solved, this
  also made me clean up the fact that XML output in general should
  not add formating blanks by default, this changed the output of
  a few tests
Daniel
2001-04-10 16:38:06 +00:00
Daniel Veillard
73639a73c5 - xpath.c: Bill Brack pointer an error in detecting a null nodeset
Daniel
2001-04-10 14:31:39 +00:00
Daniel Veillard
fac26a1f93 Finally released 2.3.6, Daniel 2001-04-08 13:08:14 +00:00
Daniel Veillard
911f49a0a0 - xpath.c: checking for null pointer generated by new code
Daniel
2001-04-07 15:39:35 +00:00
Daniel Veillard
d8df6c0e8c Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported -
Fixes in the plane:
- xpath.c: fixed a [] evaluation problem reported
- test/XPath/tests/simpleaddr: extended test
- result/XPath/simpleaddr: updated result
Daniel
2001-04-05 16:54:14 +00:00
Daniel Veillard
3197f164a8 Fixed pointers to archive, Daniel 2001-04-04 00:40:08 +00:00
Daniel Veillard
3b2c26134e - xmllint.c: Dan Timis reported a portability problem
on Macs without mmap, fixed it.
Daniel
2001-04-04 00:09:00 +00:00
Daniel Veillard
b38bd55ae5 - testXPath.c : added a --tree option allowing to display the
tree dump of the XPath expression
Daniel
2001-04-03 18:22:00 +00:00
Daniel Veillard
4dd9346df2 Small fixes: - xpath.c: fixed a memleak when comparing nodesets -
Small fixes:
- xpath.c: fixed a memleak when comparing nodesets
- HTMLtree.c: don't invent the HTML doctype if not available (XSLT)
- tree.c: added a TODO
Daniel
2001-04-02 15:16:19 +00:00
Daniel Veillard
bc96766c0f Fixed a make distched problem w.r.t. includes from the new files, Daniel 2001-03-27 13:56:45 +00:00
Daniel Veillard
92ad210417 Spring cleanup ...: - configure.in Makefile.am config.h.in
Spring cleanup ...:
- configure.in Makefile.am config.h.in xmlversion.h.in: detect if
  we need string functions
- trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions
  to be able to use them where needed. Applied some changes
  to reduce name linking pollution and compile in only what's
  needed.
- HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c
  xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef
  for the string manipulation functions
- xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically
  to the free() function of xmlmemory.c
- entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c
  xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP
  usage.
Daniel
2001-03-27 12:47:33 +00:00
Daniel Veillard
2be30641d1 - error.c: applied the context output patch of the error
handling submitted by Chuck Griffith
- error/VC/*: this slightly change some error logs
Daniel
2001-03-27 00:32:28 +00:00
Daniel Veillard
505821145f parser.c: fixed line number reporting on error
Daniel
2001-03-26 22:52:16 +00:00
Daniel Veillard
04be4f51e4 - parser.c: Sullivan and Darin found a parser bug,
applied the patch.
Daniel
2001-03-26 21:23:53 +00:00
Daniel Veillard
c86a4fae4a - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c
testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c
  xmlversion.h.in xpointer.c: of course the way I defined
  UNUSED breaks on old gcc version. Try to be smart and
  also define it directly in xmlversion.h
- configure.in: removed -ansi flag from the pedantic set
Daniel
2001-03-26 16:28:29 +00:00
Daniel Veillard
a47fb3d9f7 Cleaned up the DOM section and linked to the Gdome2 homepage, Daniel 2001-03-25 17:23:49 +00:00
Daniel Veillard
5f0253174d file i18n.xml was initially added on branch LIB_XML_1_BRANCH. 2001-03-25 14:58:11 +00:00
Daniel Veillard
b756af2d7d file parserold.c was initially added on branch LIB_XML_1_BRANCH. 2001-03-25 00:13:40 +00:00