Commit Graph

1583 Commits

Author SHA1 Message Date
Daniel Veillard
a880b12475 a lot of performance work especially the speed of streaming through the
* globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c
  xmlreader.c include/libxml/parser.h: a lot of performance work
  especially the speed of streaming through the reader and push
  interface. Some thread related optimizations. Nearly doubled the
  speed of parsing through the reader.
Daniel
2003-04-21 21:36:41 +00:00
MDT 2003 John Fleck
83c8a5cd31 doc/xmllint.xml doc/xmllint.1 update man page to explain use of --stream
Sun Apr 20 10:36:05 MDT 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml
	* doc/xmllint.1
	update man page to explain use of --stream
2003-04-20 16:45:07 +00:00
Daniel Veillard
3c908dca47 added xmlMallocAtomic() to be used when allocating blocks which do not
* DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c
  nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c
  xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c
  include/libxml/globals.h include/libxml/xmlmemory.h: added
  xmlMallocAtomic() to be used when allocating blocks which
  do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet()
  to allow registering the full set of functions needed by
  a garbage collecting allocator like libgc, ref #109944
Daniel
2003-04-19 00:07:51 +00:00
Daniel Veillard
8494271318 switched to have thread support enabled by default, didn't got troubles
* configure.in: switched to have thread support enabled by default,
  didn't got troubles with ABI compatibility on Linux, hope it
  won't break on strange OSes, if yes, report the system ID
* doc/libxml2-api.xml: just rebuilt the API
Daniel
2003-04-18 14:40:05 +00:00
Daniel Veillard
3e59fc52d5 added support for large file, tested with a 3+GB instance, and some
* libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c:
  added support for large file, tested with a 3+GB instance,
  and some cleanup.
* catalog.c: added a TODO
* Makefile.am: added some "make tests" comments
Daniel
2003-04-18 12:34:58 +00:00
Daniel Veillard
ac297930c2 some cleanups extended the document to cover RelaxNG and tree operations
* relaxng.c: some cleanups
* doc/xmlreader.html: extended the document to cover RelaxNG and
  tree operations
* python/tests/Makefile.am python/tests/reader[46].py: added some
  xmlReader example/regression tests
* result/relaxng/tutor*.err: updated the output of a number of tests
Daniel
2003-04-17 12:55:35 +00:00
Daniel Veillard
621636042b valgrind pointed out an uninitialized variable error. Daniel
* relaxng.c: valgrind pointed out an uninitialized variable error.
Daniel
2003-04-17 09:36:38 +00:00
Daniel Veillard
33300b49f0 augnemting the APIs, cleanups. cleanup bug #111005 added some missing
* include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h
  xmlreader.c: augnemting the APIs, cleanups.
* parser.c: cleanup bug #111005
* xmlIO.c: added some missing comments
Daniel
2003-04-17 09:09:19 +00:00
Daniel Veillard
ce192eb8a6 more work on RelaxNG streaming validation trying to improve the subset
* relaxng.c xmllint.c: more work on RelaxNG streaming validation
  trying to improve the subset compiled, and more testing.
* doc/downloads.html doc/xml.html doc/xmlmem.html: some updates on the
  documentation
* test/relaxng/tutor11_1_3.xml: fixes the DTD path
* result/relaxng/*.err: fix some of the outputs
Daniel
2003-04-16 15:58:05 +00:00
Daniel Veillard
f4e5576f8f implemented streaming of RelaxNG (when possible) on top of the xmlReader
* relaxng.c xmlreader.c xmllint.c include/libxml/relaxng.h
  include/libxml/xmlreader.h: implemented streaming of
  RelaxNG (when possible) on top of the xmlReader interface,
  provided it as xmllint --stream --relaxng .rng .xml
  This seems to mostly work.
* Makefile.am: updated to test RelaxNG streaming
Daniel
2003-04-15 23:32:22 +00:00
Daniel Veillard
c58f4efbd4 integrated the regexp based validity checking of fragments of the document
* relaxng.c include/libxml/relaxng.h: integrated the regexp
  based validity checking of fragments of the document for
  which the RNG can be compiled to regexps. Works on all regression
  tests, only fix needed is related to error messages.
Daniel
2003-04-14 16:11:26 +00:00
Daniel Veillard
52b48c7a7b Starting work precompiling parts of RelaxNG schemas. Not plugged onto
* relaxng.c xmlregexp.c include/libxml/xmlautomata.h
  include/libxml/xmlregexp.h: Starting work precompiling
  parts of RelaxNG schemas. Not plugged onto validity checking
  yet, just the regexp building part. Needed to extend some
  of the automata and regexp APIs.
Daniel
2003-04-13 19:53:42 +00:00
Daniel Veillard
f6bad798cf make sure xmllint --stream and xmllint --stream --valid returns errors
* xmllint.c xmlreader.c include/libxml/xmlreader.h: make sure
  xmllint --stream and xmllint --stream --valid returns errors
  code appropriately
Daniel
2003-04-11 19:38:54 +00:00
Daniel Veillard
c6cae7b690 Added the Expand() and Next() operation to work on subtrees within the
* xmlreader.c include/libxml/xmlreader.h: Added the Expand()
  and Next() operation to work on subtrees within the reader
  framework.
* doc/libxml2-api.xml python/libxml2class.txt: resulting updates
* python/tests/reader5.py: added an example for those new
  functions of the reader.
Daniel
2003-04-11 09:02:11 +00:00
Daniel Veillard
645c690d49 patch from Vasily Tchekalkin to fix #109865 Daniel
* HTMLtree.c: patch from Vasily Tchekalkin to fix #109865
Daniel
2003-04-10 21:40:49 +00:00
Daniel Veillard
9e07710b95 fixing HasValue for namespace as raised by Denys Duchier Daniel
* xmlreader.c: fixing HasValue for namespace as raised by
  Denys Duchier
Daniel
2003-04-10 13:36:54 +00:00
Daniel Veillard
02ea141495 exported htmlCreateMemoryParserCtxt() it was static Daniel
* HTMLparser.c include/libxml/HTMLparser.h:  exported
  htmlCreateMemoryParserCtxt() it was static
Daniel
2003-04-09 12:08:47 +00:00
Daniel Veillard
d3b9cd88d5 update from Charles Bozeman for date and duration types updated too Daniel
* xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h:
  update from Charles Bozeman for date and duration types
* test/schemas/date_0.* test/schemas/dur_0.*
  result/schemas/date_0.* result/schemas/dur_0.*: updated too
Daniel
2003-04-09 11:24:17 +00:00
Daniel Veillard
c00cda8c06 fixing bug #107129, removing excessive allocation and calls to *printf in
* tree.c valid.c xpath.c include/libxml/tree.h include/libxml/valid.h:
  fixing bug #107129, removing excessive allocation and calls
  to *printf in the code to build QName strings.
Daniel
2003-04-07 10:22:39 +00:00
Igor Zlatkovic
6965118d3c *** empty log message *** 2003-04-05 09:43:30 +00:00
Daniel Veillard
adba5f1b0a fixed a possible problem with xmlRecoverMemory() Daniel
* parser.c: fixed a possible problem with xmlRecoverMemory()
Daniel
2003-04-04 16:09:01 +00:00
Daniel Veillard
a48ed3d6de Bjorn sent an update for the TRIO portability layer. Daniel
* trio.c trio.h triodef.h trionan.c trionan.h triop.h triostr.c
  triostr.h: Bjorn sent an update for the TRIO portability layer.
Daniel
2003-04-03 15:28:28 +00:00
Igor Zlatkovic
d6c8650b5a *** empty log message *** 2003-04-01 20:00:42 +00:00
Daniel Veillard
c2d4a93d4f preparing release 2.5.6 updated and rebuilt the docs Daniel
* configure.in NEWS: preparing release 2.5.6
* doc/*: updated and rebuilt the docs
Daniel
2003-04-01 11:13:05 +00:00
Daniel Veillard
e502041f5b fixed an uninitialized memory access pointed by valgrind on C14Ntests
* SAX.c: fixed an uninitialized memory access pointed by valgrind
  on C14Ntests
Daniel
2003-04-01 09:55:20 +00:00
Daniel Veillard
7fe1f3a502 one more fixup of error message reporting Daniel
* relaxng.c: one more fixup of error message reporting
Daniel
2003-03-31 22:13:33 +00:00
Daniel Veillard
5f1946ad7c more work on bug #109225, and fixed an uninitialized variable pointed out
* relaxng.c: more work on bug #109225, and fixed an uninitialized
  variable pointed out by valgrind
Daniel
2003-03-31 16:38:16 +00:00
Daniel Veillard
a507fbf3c2 try to work on bug #109225 and provide better error reports. this change
* relaxng.c: try to work on bug #109225 and provide better
  error reports.
* result/relaxng/* : this change the output of a number of tests
* xinclude.c: fixing the parsed entity redefinition problem
  raised on the list.
* test/schemas/date_0.xsd: updated the date test c.f. E2-12
Daniel
2003-03-31 16:09:37 +00:00
Daniel Veillard
b3721c2523 fixed date comparison to handle the tzo The only failures left are
* xmlschemastypes.c: fixed date comparison to handle the tzo
  The only failures left are disagreements on Notations and
  '+1' not being allowed for ulong, uint, ushort and ubyte.
Daniel
2003-03-31 11:22:25 +00:00
Daniel Veillard
455cc07308 fixed gMonth parsing routine accordingly to the XML Schemas errata
* xmlschemastypes.c: fixed gMonth parsing routine accordingly
  to the XML Schemas errata
  http://www.w3.org/2001/05/xmlschema-errata#e2-12
Daniel
2003-03-31 10:13:23 +00:00
Daniel Veillard
e637c4ad2e more work on XML Schemas datatypes and facets support. Currently only
* relaxng.c xmlschemastypes.c: more work on XML Schemas datatypes
  and facets support. Currently only schemas with binHex or
  base64 don't compile. A few error left in the test suite:
  found 1035 test instances: 919 success 23 failures
  most are gdate or gdateyear failing check, and a few cases where
  James clark tests results are strange.
* valid.c: allow to reuse the Notation checking routine without
  having a validation context.
* SAX.c: removed a #if 0
Daniel
2003-03-30 21:10:09 +00:00
Daniel Veillard
b6c7f415b7 forgot to apply one check from #106931 patch more work on XML Schemas
* xinclude.c: forgot to apply one check from #106931 patch
* xmlschemastypes.c: more work on XML Schemas datatypes
Daniel
2003-03-29 16:41:55 +00:00
Daniel Veillard
c4c215519f more work on cleaning up XML Schemas datatypes based on James Clark tests
* relaxng.c include/libxml/relaxng.h xmlschemastypes.c: more work
  on cleaning up XML Schemas datatypes based on James Clark tests
  test/xsdtest/xsdtest.xml
Daniel
2003-03-29 10:53:38 +00:00
Daniel Veillard
80b19092f2 implemented comparisons for Schemas values. fixed some bugs in duration
* relaxng.c: implemented comparisons for Schemas values.
* xmlschemastypes.c include/libxml/xmlschemastypes.h: fixed
  some bugs in duration handling, comparisons for durations
  and decimals, removed all memory leaks pointed out by James
  testsuite. Current status is now
  found 238 test schemas: 197 success 41 failures
  found 1035 test instances: 803 success 130 failures
Daniel
2003-03-28 13:29:53 +00:00
Daniel Veillard
91a1325beb fixed bugs and memory leaks in the W3C XML Schemas code implemented
* xmlschemas.c include/libxml/xmlschemas.h: fixed bugs and memory
  leaks in the W3C XML Schemas code
* xmlschemastypes.c: implemented nonPositiveInteger
* test/schemas/length2_0.xsd result/schemas/length2_0_0.err:
  fixed the test and result.
Daniel
2003-03-27 23:44:43 +00:00
Daniel Veillard
6560a42c7b two patches from James Bursa on the HTML parser and a typo reindenting,
* HTMLparser.c tree.c: two patches from James Bursa on the HTML
  parser and a typo
* xmlschemastypes.c: reindenting, fixing a memory access
  problem with dates.
Daniel
2003-03-27 21:25:38 +00:00
Daniel Veillard
6c5b2d3fff fixing #109227 providing more context in case of start/end tag mismatch
* parser.c: fixing #109227 providing more context in case of
  start/end tag mismatch
* python/tests/ctxterror.py python/tests/readererr.py: update the
  tests accordingly
Daniel
2003-03-27 14:55:52 +00:00
Daniel Veillard
d9b72839b3 should fix #109327 errors on memory accesses Daniel
* xinclude.c: should fix #109327 errors on memory accesses
Daniel
2003-03-27 14:24:00 +00:00
Daniel Veillard
c7e9b194e7 Fixed reopening of #78662 <form action="..."> is an URI reference Daniel
* HTMLtree.c: Fixed reopening of #78662 <form action="...">
  is an URI reference
Daniel
2003-03-27 14:08:24 +00:00
Daniel Veillard
e209b33055 fixed bug #109160 on non-ASCII IDs Daniel
* xpath.c: fixed bug #109160 on non-ASCII IDs
Daniel
2003-03-26 21:40:13 +00:00
Daniel Veillard
642104e116 Norm suggested a nicer error message for xml:space values errors Daniel
* parser.c: Norm suggested a nicer error message for xml:space values
  errors
Daniel
2003-03-26 16:32:05 +00:00
Daniel Veillard
e4fa293265 first part of the fix to performance bug #108905, adds
* xpath.c include/libxml/xpath.h: first part of the fix to
  performance bug #108905, adds xmlXPathOrderDocElems() providing
  document order for nodes.
* python/libxml.c: Python may require TRIO as Albert Chin pointed out
Daniel
2003-03-26 00:38:10 +00:00
Daniel Veillard
09628210bd removing a warning with Sun compiler bug #109154 Daniel
* xmlschemastypes.c: removing a warning with Sun compiler
  bug #109154
Daniel
2003-03-25 15:10:27 +00:00
MST 2003 John Fleck
da27174001 doc/xmllint.xml doc/xmllint.1 update xmllint man page with --relaxng
Tue Mar 25 07:02:56 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml
	* doc/xmllint.1
	update xmllint man page with --relaxng option
2003-03-25 14:05:17 +00:00
Daniel Veillard
2032d294ac was missing "drv_libxml2.py" Daniel
* python/setup.py.in : was missing "drv_libxml2.py"
Daniel
2003-03-25 11:09:40 +00:00
Daniel Veillard
9adc0469d4 some changes related to the new way of handling Result Value Tree, before
* tree.c xpath.c: some changes related to the new way of
  handling Result Value Tree, before 2.5.5
Daniel
2003-03-24 18:39:54 +00:00
Daniel Veillard
d8da01cf37 preparing release 2.5.5 updated the documentation and regenerated it.
* configure.in NEWS: preparing release 2.5.5
* doc/* : updated the documentation and regenerated it.
Daniel
2003-03-24 15:58:23 +00:00
Daniel Veillard
ef0b450163 fixed some problems related to #75813 about handling of Result Value Trees
* xpath.c: fixed some problems related to #75813 about handling
  of Result Value Trees
Daniel
2003-03-24 13:57:34 +00:00
Daniel Veillard
9231ff9250 applied a set of patches from Lorenzo Viali correcting URI parsing errors.
* uri.c: applied a set of patches from Lorenzo Viali correcting
  URI parsing errors.
Daniel
2003-03-23 22:00:51 +00:00
Daniel Veillard
5f8d1a3570 validity status was not passed back when validating in entities, but
* parser.c: validity status was not passed back when validating in
  entities, but raised by Oliver Fischer
Daniel
2003-03-23 21:02:00 +00:00
Daniel Veillard
04ee2f2d00 avoid escaping ',' in URIs Daniel
* HTMLtree.c: avoid escaping ',' in URIs
Daniel
2003-03-23 20:31:46 +00:00
Daniel Veillard
ef8dd7be29 fixing bug #108976 get the ID/REFs to reference the ID in the document
* parser.c: fixing bug #108976 get the ID/REFs to reference
  the ID in the document content and not in the entity copy
* SAX.c include/libxml/parser.h: more checking of the ID/REF
  stuff, better solution for #107208
* xmlregexp.c: removed a direct printf, dohhh
* xmlreader.c: fixed a bug on streaming validation of empty
  elements in entities
* result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml:
  cleanup of the validation tests
* test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*:
  added more ID/IDREF tests to the suite
Daniel
2003-03-23 12:02:56 +00:00
Daniel Veillard
2cfd9dff28 fixed #107043 removing 2 warnings with Sun One compiler. Daniel
* xmlreader.c: fixed #107043 removing 2 warnings with Sun One
  compiler.
Daniel
2003-03-22 22:39:16 +00:00
Daniel Veillard
2086382959 valgrind'ed and cleaned up a couple of memory issues. Daniel
* relaxng.c: valgrind'ed and cleaned up a couple of memory issues.
Daniel
2003-03-22 17:51:47 +00:00
Daniel Veillard
9ff2d4785c fix bug #107208 avoid false duplicates when ID/REFs are defined in
* SAX.c: fix bug #107208 avoid false duplicates when ID/REFs are
  defined in entities content
Daniel
2003-03-22 15:18:01 +00:00
Daniel Veillard
99737f5053 Fixed validation bug #108858 on namespace names using entities and
* SAX.c: Fixed validation bug #108858 on namespace names using
  entities and reported by Brent Hendricks
* xmllint.c: report xmlTextReaderHasValue() result in --stream
  --debug output.
Daniel
2003-03-22 14:55:50 +00:00
Daniel Veillard
48ef4c98d2 fixed bug #108801 reported by Malcolm Tredinnick about the DocType node
* xmlreader.c: fixed bug #108801 reported by Malcolm Tredinnick
  about the DocType node not being reported sometimes.
* python/tests/reader.py: added to test to the regression checks
Daniel
2003-03-22 12:38:15 +00:00
Daniel Veillard
120e8eb291 fixed bug #108546 on long CDATA (or text nodes) reported by Edd Dumbill
* xmlreader.c: fixed bug #108546 on long CDATA (or text nodes)
  reported by Edd Dumbill
Daniel
2003-03-22 01:00:34 +00:00
Daniel Veillard
77a90a7f8e patch from johan@evenhuis.nl for #107937 fixing some line counting
* HTMLparser.c parser.c parserInternals.c: patch from
  johan@evenhuis.nl for #107937 fixing some line counting
  problems, and some other cleanups.
* result/HTML/: this result in some line number changes
Daniel
2003-03-22 00:04:05 +00:00
Daniel Veillard
580ced8ee2 fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixed
* configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec
  instead of libxml.spec
* relaxng.c: fixed some of the error reporting excessive
  verbosity
* catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c
  xmlschemastypes.c: removed some warnings from gcc
* doc/libxml2-api.xml: rebuilt
Daniel
2003-03-21 21:22:48 +00:00
Daniel Veillard
e063f4829d another optimization, for choice this time cleanups. Daniel
* relaxng.c: another optimization, for choice this time
* result/relaxng/spec1* result/relaxng/tutor12_1*
  result/relaxng/tutor3_7: cleanups.
Daniel
2003-03-21 16:53:17 +00:00
Daniel Veillard
0e3d3ce267 fixed xmlRelaxNGNodeMatchesList augmented the test suite this fixes some
* relaxng.c: fixed xmlRelaxNGNodeMatchesList
* test/relaxng/testsuite.xml: augmented the test suite
* result/relaxng/spec1* result/relaxng/tutor12_1*: this fixes
  some schemas validation tests in the presence of foreign
  namespaces.
Daniel
2003-03-21 12:43:18 +00:00
Daniel Veillard
bbb78b5d6d added another interleave speedup. Daniel
* relaxng.c: added another interleave speedup.
Daniel
2003-03-21 01:24:45 +00:00
Daniel Veillard
ef2e4ec1a2 added integer and fixed one of the IDREFS regression tests pbm updated
* xmlschemastypes.c: added integer and fixed one of the
  IDREFS regression tests pbm
* result/relaxng/docbook_0.err: updated
Daniel
2003-03-20 16:23:26 +00:00
Daniel Veillard
249d7bbee2 attempt to cope with ID/IDREF(S) declared both in the DTD and in the
* valid.c xmlschemastypes.c: attempt to cope with ID/IDREF(S)
  declared both in the DTD and in the Schemas <grin/>
* relaxng.c: more debug, added a big optimization for <mixed>
* test/relaxng/testsuite.xml: augmented the testsuite
* test/relaxng/ result/relaxng: added the RelaxNG spec and a
  DocBook example to the regression tests
Daniel
2003-03-19 21:02:29 +00:00
Daniel Veillard
798024a110 cosmetic change for output try to minimize calls to malloc/free for
* check-xsddata-test-suite.py: cosmetic change for output
* relaxng.c: try to minimize calls to malloc/free for states.
Daniel
2003-03-19 10:36:09 +00:00
Daniel Veillard
a1a9d04100 removed a warning more cleanup, added ENTITY and ENTITIES support
* tree.c: removed a warning
* xmlschemastypes.c: more cleanup, added ENTITY and ENTITIES
  support
* check-relaxng-test-suite.py check-xsddata-test-suite.py:
  cleanup/improvements of the regression tests batch
* test/relaxng/testsuite.xml: augmented libxml2 own testsuite
Daniel
2003-03-18 16:53:17 +00:00
Daniel Veillard
28c52ab518 fixed error msg cleanup deallocation added a function to handle lists of
* relaxng.c: fixed error msg cleanup deallocation
* xmlschemastypes.c: added a function to handle lists of
  atomic types, added support for IDREFS
Daniel
2003-03-18 11:39:17 +00:00
Daniel Veillard
c3da18a148 added Datatype ID and IDREF, usable from RelaxNG now need to add a new
* relaxng.c valid.c xmlschemastypes.c: added Datatype ID
  and IDREF, usable from RelaxNG now
* include/libxml/xmlschemastypes.h: need to add a new interface
  because the validation modifies the infoset
* test/relaxng/testsuite.xml: extended the testsuite
Daniel
2003-03-18 00:31:04 +00:00
Daniel Veillard
952379b780 fixed the last core RelaxNG bug known #107083, shemas datatype ID/IDREF
* relaxng.c: fixed the last core RelaxNG bug known #107083,
  shemas datatype ID/IDREF support still missing though.
* xmlreader.c: fix a crashing bug with prefix raised by
  Merijn Broeren
* test/relaxng/testsuite.xml: augmented the testsuite with
  complex inheritance tests
Daniel
2003-03-17 15:37:12 +00:00
Daniel Veillard
fd573f18a5 switched back to the previous Relax-NG code base, the derivation algorithm
* relaxng.c: switched back to the previous Relax-NG code base,
  the derivation algorithm need severe constraining code to avoid
  combinatorial explosion. Fixed the problem with Sebastian Rahtz
  TEI based example and other bugs
* result/relaxng/*err: updated the results
* test/relaxng/testsuite.xml: started a new test suite
Daniel
2003-03-16 17:52:32 +00:00
Daniel Veillard
1564e6e52e After coming to the conclusion that the original RelaxNG validation code
* relaxng.c include/libxml/relaxng.h: After coming to the conclusion
  that the original RelaxNG validation code was un-fixeable, it got
  rewritten to use the derivation algorithm from James Clark and
  redebugged it (nearly) from scratch:
  found 373 test schemas: 372 success 1 failures
  found 529 test instances: 529 success 0 failures
<sigh/>
Daniel
2003-03-15 21:30:25 +00:00
Daniel Veillard
39eb88b4ca fix some recursion problems introduced in the last release. more debugging
* SAX.c parser.c: fix some recursion problems introduced in the
  last release.
* relaxng.c: more debugging of the RNG validation engine, still
  problems though.
Daniel
2003-03-11 11:21:28 +00:00
Daniel Veillard
5add868b2e stop generating wrong result file with * in name fixing the include bug
* Makefile.am: stop generating wrong result file with * in name
* relaxng.c: fixing the include bug raised by Sebastian Rahtz
* result/relaxng/demo* test/relaxng/demo: added the tests from
  Sebastian reproducing the problem.
Daniel
2003-03-10 13:13:58 +00:00
MST 2003 John Fleck
5094cb2fbf doc/xmllint.1 regenerating man page from xmllint.xml to pick up Aleksey's
Sun Mar  9 18:02:31 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.1
	regenerating man page from xmllint.xml to pick up Aleksey's
	change
2003-03-10 01:03:53 +00:00
Aleksey Sanin
693c9bc11f use XMLLING_INDENT environment variable to control indentation for the xmllint "--format" option 2003-03-09 22:36:52 +00:00
Igor Zlatkovic
47ba1c799a *** empty log message *** 2003-03-08 13:29:42 +00:00
Daniel Veillard
42f12e99d1 after and exchange with James Clark it appeared I had bug in URI parsing
* test/xsdtest/xsdtest.xml uri.c: after and exchange with James
  Clark it appeared I had bug in URI parsing code ...
* relaxng.c include/libxml/relaxng.h: completely revamped error
  reporting to not loose message from optional parts.
* xmllint.c: added timing for RNG validation steps
* result/relaxng/*: updated the result, all error messages changed
Daniel
2003-03-07 18:32:59 +00:00
Daniel Veillard
edfd588e95 fix bug #107804, the algorithm used for document order computation was
* xpath.c: fix bug #107804, the algorithm used for document order
  computation was failing on attributes.
Daniel
2003-03-07 14:20:40 +00:00
Daniel Veillard
8339128106 fix bug #107764 , possibility of buffer overflow in xmlValidDebug() Daniel
* valid.c: fix bug #107764 , possibility of buffer overflow
  in xmlValidDebug()
Daniel
2003-03-06 21:37:30 +00:00
Daniel Veillard
6c73cb8b67 adding xmlNanoFTPDele() from Philipp Dunkel Daniel
* nanoftp.c include/libxml/nanoftp.h: adding xmlNanoFTPDele()
  from Philipp Dunkel
Daniel
2003-03-05 16:45:40 +00:00
Daniel Veillard
5f704afe98 made powten array static it should not be exported fix bug #107361 by
* xmlschemastype.c: made powten array static it should not be exported
* HTMLparser.c: fix bug #107361 by reusing the code from the XML
  parser function.
* testHTML.c: get rid of valgrind messages on the HTML SAX tests
Daniel
2003-03-05 10:01:43 +00:00
Daniel Veillard
7b72ee5cfc fixed a node dump crash on attributes fixed an URI test bug and get better
* tree.c: fixed a node dump crash on attributes
* test/xsdtest/xsdtest.xml test/xsdtest/xsdtest.xsl: fixed
  an URI test bug and get better output.
Daniel
2003-02-27 23:24:53 +00:00
Daniel Veillard
463a5479a8 give more infos fix a bug reported by Sebastian Rahtz and REF->DEF in
* check-xsddata-test-suite.py: give more infos
* relaxng.c: fix a bug reported by Sebastian Rahtz and
  REF->DEF in attribute values.
Daniel
2003-02-27 21:30:32 +00:00
Daniel Veillard
eb7189ff35 import of the XSD Datatype regression tests from James Clark. Daniel
* check-xsddata-test-suite.py test/xsdtest/xsdtest.xml
  test/xsdtest/xsdtest.xsl: import of the XSD Datatype
  regression tests from James Clark.
Daniel
2003-02-27 20:11:13 +00:00
Daniel Veillard
8bc6cf9a80 added param support for relaxng type checking, started to increment the
* relaxng.c xmlschemas.c xmlschemastypes.c
  include/libxml/xmlschemastypes.h: added param support for relaxng
  type checking, started to increment the pool of simple types
  registered, still much work to be done on simple types and
  facets checkings.
Daniel
2003-02-27 17:42:22 +00:00
Daniel Veillard
19ab45b5a5 fixes again one of the problem raised by James Clark in #106788 Daniel
* entities.c: fixes again one of the problem raised by
  James Clark in #106788
Daniel
2003-02-26 15:49:03 +00:00
Daniel Veillard
c482e261ad Fixed a couple of problem raised by James Clark in bug #107083, the
* relaxng.c: Fixed a couple of problem raised by James Clark
  in bug #107083, the support for ID/IDREF/IDREFS at the WXS
  datatype level still not fixed though.
Daniel
2003-02-26 14:48:48 +00:00
Daniel Veillard
17bed98106 preparing release 2.5.4 updated and rebuilt the docs removed warnings
* configure.in: preparing release 2.5.4
* doc/*: updated and rebuilt the docs
* relaxng.c: removed warnings
* result/relaxng/*: updated the results
Daniel
2003-02-24 20:11:43 +00:00
Daniel Veillard
f4be0180c3 fixes a DTD regexp generation problem. Daniel
* valid.c: fixes a DTD regexp generation problem.
Daniel
2003-02-24 19:54:33 +00:00
Daniel Veillard
02111c1d56 fixes bug #105998 about false detection of attribute consumption loop.
* parser.c: fixes bug #105998 about false detection of
  attribute consumption loop.
Daniel
2003-02-24 19:14:52 +00:00
Daniel Veillard
2406abda9c Fixes bug #106931 in XInclude entities merging. Daniel
* xinclude.c: Fixes bug #106931 in XInclude entities merging.
Daniel
2003-02-24 18:16:47 +00:00
Daniel Veillard
fcc822e2db fixed bug #105992 Daniel
* SAX.c: fixed bug #105992
Daniel
2003-02-24 17:52:08 +00:00
Daniel Veillard
3ebc7d43f7 fixed xmlSetProp and al. when the node passed is not an element. fixed
* tree.c: fixed xmlSetProp and al. when the node passed is not an
  element.
* relaxng.c: fixed bugs 7.3 (though not complete) and memory leaks
  found 373 test schemas: 369 success 4 failures
  found 529 test instances: 525 success 4 failures
* check-relaxng-test-suite.py: added memory debug reporting
Daniel
2003-02-24 17:17:58 +00:00
Daniel Veillard
c64b8e984c some warning removal on Igor's patch seems I messed up with #106788 fix
* uri.c parser.c: some warning removal on Igor's patch
* tree.c: seems I messed up with #106788 fix
* python/libxml.c: fixed some base problems when Python provides
  the resolver.
* relaxng.c: fixed the interleave algorithm
  found 373 test schemas: 364 success 9 failures
  found 529 test instances: 525 success 4 failures
  the resulting failures are bug in the algorithm from 7.3 and
  lack of support for params
Daniel
2003-02-24 11:47:13 +00:00
Daniel Veillard
0046c0fec2 another fix for nodeinfo in entities problem fixed bug #106788 from James
* parser.c: another fix for nodeinfo in entities problem
* tree.c entities.c: fixed bug #106788 from James Clark
  some spaces need to be serialized as character references.
Daniel
2003-02-23 13:52:30 +00:00
Igor Zlatkovic
40ed73b73d *** empty log message *** 2003-02-23 13:40:12 +00:00
Daniel Veillard
44e1dd0027 fixing some nodeinfo in entities problem raised by Glenn W. Bach
* parser.c: fixing some nodeinfo in entities problem raised
  by Glenn W. Bach
* relaxng.c: implemented the first section 7.3 check
* result/relaxng/*: updated the results
Daniel
2003-02-21 23:23:28 +00:00
Daniel Veillard
c5312d7c76 fixed some problems in the previous commit and finished implementing 4.16
* relaxng.c: fixed some problems in the previous commit
  and finished implementing 4.16 rules checking
  found 373 test schemas: 353 success 20 failures
  found 529 test instances: 519 success 6 failures
* result/relaxng/*: updated the results
Daniel
2003-02-21 17:14:10 +00:00
Daniel Veillard
4c5cf7092e implemented checks from section 7.2 Daniel
* relaxng.c: implemented checks from section 7.2
Daniel
2003-02-21 15:40:34 +00:00
Daniel Veillard
77648bbe61 implemented the checks from section 7.1, fixed some of the 4.20 and 4.21
* relaxng.c: implemented the checks from section 7.1, fixed
  some of the 4.20 and 4.21 problems.
  found 373 test schemas: 338 success 35 failures
  found 529 test instances: 519 success 6 failures
* result/relaxng/*: updated the results
Daniel
2003-02-20 15:03:22 +00:00
Daniel Veillard
1c745ade5d implemented the 4.20 and 4.21 simplification rules. updated the results
* relaxng.c: implemented the 4.20 and 4.21 simplification rules.
* result/relaxng/*: updated the results
Daniel
2003-02-20 00:11:02 +00:00
Daniel Veillard
ce14fa545f more bugfixes updated the results Daniel
* relaxng.c: more bugfixes
* result/relaxng/*: updated the results
Daniel
2003-02-19 17:32:48 +00:00
Igor Zlatkovic
7e1d158a73 *** empty log message *** 2003-02-19 14:51:44 +00:00
Daniel Veillard
2e9b165f9e patched to have shared libraries for Python regression tests and static
* Makefile.am configure.in: patched to have shared libraries
  for Python regression tests and static binaries for gdb debug
  in my development environment
* relaxng.c: more bugfixes
  found 373 test schemas: 296 success 77 failures
  found 529 test instances: 516 success 8 failures
* result/relaxng/*: updated the results
Daniel
2003-02-19 13:29:45 +00:00
Daniel Veillard
8fe98710a5 guess what ! Relax-NG bugfixing, what a surprize... Daniel
* relaxng.c: guess what ! Relax-NG bugfixing, what a surprize...
Daniel
2003-02-19 00:19:14 +00:00
Daniel Veillard
d431074c46 float/double check bugfix exported a function for NMTOKEN validation add a
* xmlschemastypes.c: float/double check bugfix
* tree.c include/libxml/tree.h: exported a function for NMTOKEN
  validation
* xmlreader.c: add a TODO for Jody
* relaxng.c: bugfix bugfix bugfix
  found 373 test schemas: 300 success 73 failures
  found 529 test instances: 507 success 10 failures
* result/relaxng/*: updated the results
Daniel
2003-02-18 21:12:46 +00:00
Daniel Veillard
2df2de225a more RelaxNG bug hunting Daniel
* relaxng.c check-relaxng-test-suite.py: more RelaxNG bug hunting
Daniel
2003-02-17 23:34:33 +00:00
Daniel Veillard
416589ae78 more work on the RelaxNG implementation conformance testing. found 373
* relaxng.c check-relaxng-test-suite.py: more work on the
  RelaxNG implementation conformance testing.
  found 373 test schemas: 284 success 89 failures
  found 529 test instances: 448 success 47 failures
* result/relaxng/*: updated the results
Daniel
2003-02-17 17:25:42 +00:00
Daniel Veillard
784b93587b applied a patch from Kjartan Maraas to fix some typos Daniel
* ChangeLog tree.c doc/libxml-doc.el doc/libxml2-api.xml: applied
  a patch from Kjartan Maraas to fix some typos
Daniel
2003-02-16 15:50:27 +00:00
Daniel Veillard
febcca40d4 more bug-hunting added --tree to dump the intermediate rng tree patch from
* relaxng.c: more bug-hunting
* testRelax.c include/libxml/relaxng.h: added --tree to dump the
  intermediate rng tree
* python/generator.py: patch from Stephane Bidoul to fix the generator
  on python < 2.2
Daniel
2003-02-16 15:44:18 +00:00
Daniel Veillard
d2298791af more testing on the Relax-NG front, cleaning up the regression tests
* check-relaxng-test-suite.py relaxng.c: more testing on the
  Relax-NG front, cleaning up the regression tests failures
  current state and I forgot support for "mixed":
  found 373 test schemas: 280 success 93 failures
  found 529 test instances: 401 success 68 failures
* tree.c include/libxml/tree.h xmlschemastypes.c: finished and
  moved the Name, NCName and QName validation routine in tree.c
* uri.c: fixed handling of URI ending up with #, i.e. having
  an empty fragment ID.
* result/relaxng/*: updated the results
Daniel
2003-02-14 16:54:11 +00:00
Daniel Veillard
9a237c9d26 improved the script accordingly to the XInclude regression tests updates
* check-xinclude-test-suite.py: improved the script accordingly
  to the XInclude regression tests updates
* xpointer.c: Implemented XPointer element() Scheme W3C PR of 13
  November 2002
* result/XPath/xptr/chapterschildseq result/XPath/xptr/vidchildseq
  test/XPath/xptr/chapterschildseq test/XPath/xptr/vidchildseq:
  augmented the Xpointer testsuite for the element() scheme
Daniel
2003-02-13 15:52:58 +00:00
Daniel Veillard
f4b4f98839 added TODO for the DTD compatibility spec more bug fixes driven by the
* relaxng.c: added TODO for the DTD compatibility spec
* xinclude.c: more bug fixes driven by the testsuite
Daniel
2003-02-13 11:02:08 +00:00
Daniel Veillard
d581b7edd4 Work on the W3C/NIST regression tests for XInclude, improved the script,
* check-xinclude-test-suite.py xinclude.c: Work on the W3C/NIST
  regression tests for XInclude, improved the script, improving
  XInclude error reporting mechanism
Daniel
2003-02-11 18:03:05 +00:00
Daniel Veillard
1d788d244c preparing release 2.5.3 Daniel
* NEWS doc/* configure.in: preparing release 2.5.3
Daniel
2003-02-10 16:21:58 +00:00
Daniel Veillard
fd7ce5f7e1 trying to fix #104934 about some XHTML1 serialization issues. Daniel
* tree.c: trying to fix #104934 about some XHTML1 serialization
  issues.
Daniel
2003-02-10 16:12:39 +00:00
Daniel Veillard
809faa5237 fixing bug #104646 about iconv based encoding conversion when the input
* encoding.c xmlIO.c: fixing bug #104646 about iconv based
  encoding conversion when the input buffer stops in the
  middle of a multibyte char
Daniel
2003-02-10 15:43:53 +00:00
Daniel Veillard
1703c5fc23 OASIS RelaxNG testsuite python script to run regression against OASIS
* test/relaxng/OASIS/spectest.xml: OASIS RelaxNG testsuite
* check-relaxng-test-suite.py: python script to run regression
  against OASIS RelaxNG testsuite
* relaxng.c: some cleanup tweaks
* HTMLparser.c globals.c: cleanups in comments
* doc/libxml2-api.xml: updated the API
* result/relaxng/*: errors moved files, so large diffs but
  no changes at the semantic level.
Daniel
2003-02-10 14:28:44 +00:00
Daniel Veillard
6aa2f60373 fixing #105678 problem when dumping a namespace node. Daniel
* tree.c: fixing #105678 problem when dumping a namespace node.
Daniel
2003-02-10 00:01:56 +00:00
Daniel Veillard
591b4be0fe fixed doc comment problems adding RelaxNG wrappers added a specific test
* xpath.c: fixed doc comment problems
* python/generator.py python/libxml_wrap.h python/types.c: adding
  RelaxNG wrappers
* python/tests/Makefile.am python/tests/relaxng.py: added a specific
  test of those early Python RelaxNG bindings
Daniel
2003-02-09 23:33:36 +00:00
Daniel Veillard
231d791fc4 fixes a libtool problem on AMD 64bits builds found the validation problem
* libxml.spec.in: fixes a libtool problem on AMD 64bits builds
* relaxng.c: found the validation problem I had with interleave
  when not covering all remaining siblings
* Makefile.am test.relaxng/* result/relaxng/*: augmented the
  testsuite and check the RNG schemas against the RNG schemas
  given in appendix A
Daniel
2003-02-09 14:22:17 +00:00
Igor Zlatkovic
6dacee6736 *** empty log message *** 2003-02-08 17:52:57 +00:00
Daniel Veillard
97fd5670df applied another bug fix from Sean Chittenden Daniel
* xinclude.c: applied another bug fix from Sean Chittenden
Daniel
2003-02-07 13:01:54 +00:00
Daniel Veillard
ef4d3bc36c I f...ed up the default configuration of schemas and --relaxng option
* configure.in xmllint.c: I f...ed up the default configuration
  of schemas and --relaxng option display in xmllint, pointed by
  Morus Walter.
* xlink.c: Sean Chittenden pointed a couple of errors in the XLink
  detection module, fixes bug #105374.
Daniel
2003-02-07 12:38:22 +00:00
Daniel Veillard
c5a70f2645 added the boolean base type. Daniel
* xmlschemastypes.c: added the boolean base type.
Daniel
2003-02-06 23:41:59 +00:00
Daniel Veillard
96a4b25245 started implementing some of the missing default simple types updated the
* xmlschemastypes.c: started implementing some of the missing
  default simple types
* result/relaxng/*: updated the results
Daniel
2003-02-06 08:22:32 +00:00
Daniel Veillard
72fef16e5c updated the docs, ready for 2.5.2 release Daniel
* NEWS doc/*: updated the docs, ready for 2.5.2 release
Daniel
2003-02-05 14:31:19 +00:00
Daniel Veillard
71531f3345 comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2
* HTMLparser.c tree.c xmlIO.c: comments cleanups
* Makefile.am: use xmllint for doing the RelaxNG tests
* configure.in: preparing 2.5.2 made schemas support default to
  on instead of off
* relaxng.c: removed the verbosity
* xmllint.c: added --relaxng option
* python/generator.py python/libxml_wrap.h: prepared the integration
  of the new RelaxNG module and schemas
* result/relaxng/*: less verbose output
Daniel
2003-02-05 13:19:53 +00:00
Daniel Veillard
ec498e1b33 do not run content model validation if the content is not determinist
* valid.c: do not run content model validation if the
  content is not determinist
Daniel
2003-02-05 11:01:50 +00:00
Daniel Veillard
de590ca180 added the redefinition of namespaced attribute check that was missing as
* SAX.c: added the redefinition of namespaced attribute
  check that was missing as Fabrice Desré pointed out.
Daniel
2003-02-05 10:45:26 +00:00
Daniel Veillard
930dfb6324 applied HTML improvements from Nick Kew, allowing to do more checking to
* HTMLparser.c include/libxml/HTMLparser.h: applied HTML
  improvements from Nick Kew, allowing to do more checking
  to HTML elements and attributes.
Daniel
2003-02-05 10:17:38 +00:00
Daniel Veillard
4287c57a0e fixing bug #105137 about entities declaration needing to be copied to the
* xinclude.c: fixing bug #105137 about entities declaration
  needing to be copied to the including document.
Daniel
2003-02-04 22:48:53 +00:00
Daniel Veillard
652d8a9494 fixed bug #104817 with delegateURI fixing bugs #104123 and #104125 Daniel
* catalog.c: fixed bug #104817 with delegateURI
* xpath.c: fixing bugs #104123 and #104125
Daniel
2003-02-04 19:28:49 +00:00
Daniel Veillard
0e298ad23f fixing #104096 to compile without regexps Daniel
* configure.in valid.c xmlreader.c python/libxml_wrap.h
  python/types.c: fixing #104096 to compile without regexps
Daniel
2003-02-04 16:14:33 +00:00
Daniel Veillard
57e79b302b fixing bug #103969 forgot to add an epsilon transition when building the
* valid.c: fixing bug #103969 forgot to add an epsilon transition
  when building the automata for elem*
Daniel
2003-02-04 15:33:12 +00:00
Daniel Veillard
358a98961b applied patch from Arne de Bruijn fixing bug #103827 Daniel
* HTMLparser.c: applied patch from Arne de Bruijn fixing
  bug #103827
Daniel
2003-02-04 15:22:32 +00:00
Daniel Veillard
eb1371795f updating a comment, fixing #103776 Daniel
* HTMLparser.c: updating a comment, fixing #103776
Daniel
2003-02-04 15:18:06 +00:00
Daniel Veillard
8d589046b4 fixing bug 105049 for validity checking of content within recursive
* parser.c: fixing bug 105049 for validity checking of content
  within recursive entities.
Daniel
2003-02-04 15:07:21 +00:00
Daniel Veillard
e5b110b384 try to fix # 105049 a couple of changes and extensions updated a function
* HTMLparser.c: try to fix # 105049
* relaxng.c xmlschemastypes.c: a couple of changes and extensions
* tree.c: updated a function comment
Daniel
2003-02-04 14:43:39 +00:00
Daniel Veillard
419a7688d0 more work on grammars and refs/defs augmented/updated the regression tests
* relaxng: more work on grammars and refs/defs
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-02-03 23:22:49 +00:00
Daniel Veillard
144fae1635 more work on name classes, except support augmented/updated the regression
* relaxng: more work on name classes, except support
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-02-03 13:17:57 +00:00
Daniel Veillard
1ed7f364bd more work on name classes, the "validate all" schemas seems to work now.
* relaxng: more work on name classes, the "validate all" schemas
  seems to work now.
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-02-03 10:57:45 +00:00
Daniel Veillard
3b2e4e1c14 removed an unprotedted debug message Aleksi Suhonen put a guard against
* python/libxml.c: removed an unprotedted debug message Aleksi Suhonen
* parser.c: put a guard against infinite document depth, basically
  trying to avoid another kind of DoS attack.
* relaxng.c: some code w.r.t. nameClasses
Daniel
2003-02-03 08:52:58 +00:00
Daniel Veillard
fc1a4503fb check all the namespace support was actually correct based on tutorial
* test/relaxng/* result/relaxng/*: check all the namespace support
  was actually correct based on tutorial section 10.
Daniel
2003-02-02 16:02:55 +00:00
Daniel Veillard
e2a5a08b0f include seems to work okay now augmented/updated the regression tests
* relaxng: include seems to work okay now
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-02-02 14:35:17 +00:00
Daniel Veillard
a9d912de79 a bit of work done in the train back. added one of the include tests
* relaxng.c: a bit of work done in the train back.
* test/relaxng/*: added one of the include tests
Daniel
2003-02-01 17:43:10 +00:00
Daniel Veillard
154877e554 more work done in the train augmented/updated the regression tests Daniel
* relaxng: more work done in the train
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-30 12:17:05 +00:00
Daniel Veillard
e431a27d45 debugging of externalRef augmented/updated the regression tests Daniel
* relaxng.c: debugging of externalRef
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-29 23:02:33 +00:00
Daniel Veillard
d41f4f4888 more work on Relax-NG, implementing externalRef augmented/updated the
* relaxng.c: more work on Relax-NG, implementing externalRef
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
* Makefile.am: cleanup to Relaxtests target
Daniel
2003-01-29 21:07:52 +00:00
Daniel Veillard
b08c9815d2 more work on Relax-NG, implementing interleave augmented/updated the
* relaxng.c: more work on Relax-NG, implementing interleave
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-28 23:09:49 +00:00
Daniel Veillard
76fc5edab6 more work on Relax-NG, implementing interleave augmented/updated the
* relaxng.c: more work on Relax-NG, implementing interleave
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-28 20:58:15 +00:00
MST 2003 John Fleck
da81d19229 doc/tutorial/customfo.xsl doc/tutorial/customhtml.xsl adding stylesheet
Mon Jan 27 07:35:29 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/customfo.xsl
	* doc/tutorial/customhtml.xsl
	adding stylesheet customizations used to generate fo
	for pdf and html
2003-01-27 14:35:56 +00:00
Daniel Veillard
c6e997c9a8 more work on Relax-NG augmented/updated the regression tests added a
* relaxng.c: more work on Relax-NG
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
* xmlschemastypes.c: added a number of base type definition but not
  the associated checks, those are still TODOs
Daniel
2003-01-27 12:35:42 +00:00
MST 2003 John Fleck
731967ea57 in docs/tutorial: apa.html apb.html apc.html apd.html ape.html apf.html
Sun Jan 26 17:37:06 MST 2003 John Fleck <jfleck@inkstain.net>

	in docs/tutorial:
	* apa.html
	* apb.html
	* apc.html
	* apd.html
	* ape.html
	* apf.html
	* apg.html
	* ar01s02.html
	* ar01s03.html
	* ar01s04.html
	* ar01s05.html
	* ar01s06.html
	* ar01s07.html
	* ar01s08.html
	* index.html
	* xmltutorial.pdf
	* xmltutorial.xml
	add index to tutorial
2003-01-27 00:39:50 +00:00
MST 2003 John Fleck
937362d30c doc/xmlcatalog.1 doc/xmlcatalog_man.html doc/xmlcatalog_man.xml belatedly
Sun Jan 26 17:02:29 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmlcatalog.1
	* doc/xmlcatalog_man.html
	* doc/xmlcatalog_man.xml
	belatedly fixing bug #93622 (adds rewriteURI type to
	"--add" option in xmlcatalog man page
2003-01-27 00:04:32 +00:00
Daniel Veillard
3be27518c9 applied patch for FreeBSD by Julio Merino, closing #104475 Daniel
* xmlcatalog.c xmllint.c: applied patch for FreeBSD by
  Julio Merino, closing #104475
Daniel
2003-01-26 19:49:04 +00:00
Daniel Veillard
ea3f398c39 more work on Relax-NG augmented/updated the regression tests Daniel
* relaxng.c: more work on Relax-NG
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-26 19:45:18 +00:00
Daniel Veillard
edc91928dc more work on Relax-NG augmented/updated the regression tests Daniel
* relaxng.c: more work on Relax-NG
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-26 00:52:04 +00:00
Daniel Veillard
dd1655c579 updated the policy on private mail answers more work on Relax-NG
* README: updated the policy on private mail answers
* relaxng.c: more work on Relax-NG
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-01-25 18:01:32 +00:00
Daniel Veillard
7424eb6008 applied a documentation patch from Stefan Kost Daniel
* error.c parser.c tree.c: applied a documentation patch from Stefan Kost
Daniel
2003-01-24 14:14:52 +00:00
Daniel Veillard
276be4a6e5 more work on Relax-NG regenerated the docs updated and augmented the
* relaxng.c: more work on Relax-NG
* doc/*: regenerated the docs
* test/relaxng/* result/relaxng/*: updated and augmented the
  Relax-NG regression tests and results
Daniel
2003-01-24 01:03:34 +00:00
Daniel Veillard
6eadf63ca6 First commit of the new Relax-NG validation code, not generally useful
* Makefile.am configure.in relaxng.c include/libxml/relaxng.h:
  First commit of the new Relax-NG validation code, not generally
  useful yet.
* test/relaxng/* result/relaxng/*: current state of the regression
  tests
Daniel
2003-01-23 18:29:16 +00:00
Daniel Veillard
814a76db87 minimized the memory allocated for GetContent and a bit of cleanup. Daniel
* tree.c: minimized the memory allocated for GetContent
  and a bit of cleanup.
Daniel
2003-01-23 18:24:20 +00:00
Daniel Veillard
ff12c494f7 seems there is no good reasons to not generate bindings for XPointer
* python/generator.py: seems there is no good reasons to
  not generate bindings for XPointer
Daniel
2003-01-23 16:42:55 +00:00
Daniel Veillard
540a31a361 applied a new patch from Stéphane Bidoul for cleanups rebuilt the API
* xmlreader.c doc/apibuild.py: applied a new patch from
  Stéphane Bidoul for cleanups
* doc/libxml2-api.xml: rebuilt the API description with
  new entry points
Daniel
2003-01-21 11:21:07 +00:00
Daniel Veillard
417be3ae08 patch from Stéphane Bidoul for better per context error message APIs
* xmlreader.c python/drv_libxml2.py python/generator.py
  python/libxml.c python/libxml.py python/libxml_wrap.h
  python/types.c: patch from Stéphane Bidoul for better per
  context error message APIs
* python/tests/ctxterror.py python/tests/readererr.py:
  update of the tests
Daniel
2003-01-20 21:26:34 +00:00
MST 2003 John Fleck
97ddfc0b29 doc/guidelines.html grammar and spelling cleanup
Sun Jan 19 17:09:28 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/guidelines.html
	grammar and spelling cleanup
2003-01-20 00:09:57 +00:00
Daniel Veillard
26f70269c8 applied a patch from Stéphane Bidoul to allow per XMLtextReader error and
* xmlreader.c include/libxml/xmlreader.h python/generator.py
  python/libxml.c python/libxml.py win32/libxml2.def.src: applied
  a patch from Stéphane Bidoul to allow per XMLtextReader error
  and warning handling
* python/tests/Makefile.am python/tests/readererr.py: adding the
  specific regression test
Daniel
2003-01-16 22:45:08 +00:00
Daniel Veillard
71f9d7310c Alexey Efimov pointed out that concat('a', 'b', ) should raise a syntax
* xpath.c: Alexey Efimov pointed out that concat('a', 'b', )
  should raise a syntax error
Daniel
2003-01-14 16:07:16 +00:00
Daniel Veillard
e4a07e7b77 cleanup patch from Stéphane Bidoul Daniel
* python/libxml.c: cleanup patch from Stéphane Bidoul
Daniel
2003-01-14 14:40:25 +00:00
Daniel Veillard
81601f9834 fixing bug #103100 with a dummy UTF8ToUTF8 copy Daniel
* encoding.c: fixing bug #103100 with a dummy UTF8ToUTF8 copy
Daniel
2003-01-14 13:42:37 +00:00
Daniel Veillard
e6227e0549 applied and fixed a patch from Stephane Bibould to provide per parser
* python/generator.py python/libxml.c python/libxml.py
  python/libxml_wrap.h python/types.c: applied and fixed a patch
  from Stephane Bibould to provide per parser error handlers at the
  Python level.
* python/tests/Makefile.am python/tests/ctxterror.py: added a
  regression test for it.
Daniel
2003-01-14 11:42:39 +00:00
Daniel Veillard
4dbe77a84f fixed the streaming property of the reader, it was generating tree faster
* xmlreader.c: fixed the streaming property of the reader,
  it was generating tree faster than consuming it. Pointed out
  by Nate Myers
* tree.c: fixed a bug in xmlSaveFormatFileEnc if passed a NULL doc
Daniel
2003-01-14 00:17:42 +00:00
Igor Zlatkovic
d31876c175 *** empty log message *** 2003-01-12 21:43:13 +00:00
Igor Zlatkovic
9df2474fe3 *** empty log message *** 2003-01-12 21:15:55 +00:00
Daniel Veillard
8e7e1c00ce fix to the XPath implementation for parent and ancestors axis when
* xpath.c: fix to the XPath implementation for parent and
  ancestors axis when operating on a Result Value Tree.
  Fixes bug #100271
Daniel
2003-01-10 17:06:09 +00:00
Daniel Veillard
cacbe5d110 patch from Stefano Zacchiroli to fix some URI/file escaping problems
* nanoftp.c nanohttp.c xmlIO.c: patch from Stefano Zacchiroli
  to fix some URI/file escaping problems
Daniel
2003-01-10 16:09:51 +00:00
Daniel Veillard
3b87b6b398 fixed a bug raised by Raymond Wiker, docSetRootElement() should not raise
* python/generator.py: fixed a bug raised by Raymond Wiker,
  docSetRootElement() should not raise an exception if the
  return is None
Daniel
2003-01-10 15:21:50 +00:00
Daniel Veillard
3e20a29213 fixed bug #102181 by applying the suggested change and fixing the
* python/libxml.py python/libxml.c python/libxml2-python-api.xml:
  fixed bug #102181 by applying the suggested change and fixing
  the generation/registration problem.
Daniel
2003-01-10 13:14:40 +00:00
Daniel Veillard
e55e8e4833 fixed bug #102960 by reusing the XML name parsing routines. Daniel
* HTMLparser.c: fixed bug #102960 by reusing the XML name parsing
  routines.
Daniel
2003-01-10 12:50:02 +00:00
Daniel Veillard
8f87244206 one more IsEmptyElement crazyness, that time in external parsed entities
* parser.c: one more IsEmptyElement crazyness, that time in
  external parsed entities if substitution is asked.
* python/tests/reader3.py: added a specific test.
Daniel
2003-01-09 23:19:02 +00:00
Daniel Veillard
e329fc2467 update from Stéphane Bidoul: python 2.1 support and improved error handler
* python/drv_libxml2.py: update from Stéphane Bidoul: python 2.1
  support and improved error handler registration
Daniel
2003-01-09 21:36:42 +00:00
Daniel Veillard
5ecaf7f9a7 fixes #102920 about namespace handling in HTML output and section 16.2
* HTMLtree.c tree.c: fixes #102920 about namespace handling in
  HTML output and section 16.2 "HTML Output Method" of XSLT-1.0
* README: fixed a link
Daniel
2003-01-09 13:19:33 +00:00
Daniel Veillard
e2830f1e65 preparing 2.5.1 release fixing XmlTextReader bug Daniel
* configure.in doc/* NEWS: preparing 2.5.1 release
* SAX.c parser.c: fixing XmlTextReader bug
Daniel
2003-01-08 17:47:49 +00:00
Daniel Veillard
8bf70b956a fuck, I introduced a memory leak on external parsed entities in 2.5.0 :-(
* SAX.c: fuck, I introduced a memory leak on external parsed
  entities in 2.5.0 :-(
Daniel
2003-01-07 23:14:24 +00:00
Daniel Veillard
56ada1ddbb another fix needed as pointed by Christophe Merlet for --stream --debug if
* xmllint.c: another fix needed as pointed by Christophe Merlet
  for --stream --debug if compiled without debug support.
Daniel
2003-01-07 11:17:25 +00:00
MST 2003 John Fleck
7e54be15b5 doc/xmllint.xml doc/xmllint.1 update man page with --stream and
Mon Jan  6 20:53:08 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml
	* doc/xmllint.1
	update man page with --stream and --chkregister
2003-01-07 03:54:25 +00:00
Daniel Veillard
8326e73bc1 fixed --with-threads compile fixed --without-debug compile cleanup add a
* globals.c: fixed --with-threads compile
* xmllint.c: fixed --without-debug compile
* include/libxml/globals.h: cleanup
* include/libxml/schemasInternals.h: add a missing include
Daniel
2003-01-07 00:19:07 +00:00
Daniel Veillard
7b4b2f9d8f preparing 2.5.0 release only warn in pedantic mode about namespace name
* configure.in NEWS: preparing 2.5.0 release
* SAX.c: only warn in pedantic mode about namespace name
  brokeness
* globals.c: fix a doc generation problem
* uri.c: fix #101520
* doc/*: updated and rebuilt the doc for the release, includuding
  stylesheet update
* python/Makefile.am: fix a filename bug
Daniel
2003-01-06 13:11:20 +00:00
Daniel Veillard
e0ed10cb0f fixed #101894 if doc == NULL xmlFreeDoc should not be called. Daniel
* doc/tutorial/* : fixed #101894 if doc == NULL xmlFreeDoc
  should not be called.
Daniel
2003-01-06 11:06:26 +00:00
Daniel Veillard
0aaaacdb43 applied the patch to fix #101894 Daniel
* libxml-2.0.pc.in: applied the patch to fix #101894
Daniel
2003-01-06 10:59:57 +00:00
Daniel Veillard
8a1b1853fc applied patch from Lukas Schroeder for register callbacks modified patch
* tree.c : applied patch from Lukas Schroeder for register callbacks
* valid.c: modified patch from Lukas Schroeder to test
  register callbacks with --chkregister
Daniel
2003-01-05 22:37:17 +00:00
Daniel Veillard
067bae5ff8 seriously changed the way data are pushed to the underlying parser, go by
* xmlreader.c: seriously changed the way data are pushed to
  the underlying parser, go by block of 512 bytes instead of
  tryng to detect tag boundaries at that level. Changed the
  way empty element are detected and tagged.
* python/tests/reader.py python/tests/reader2.py
  python/tests/reader3.py: small changes mostly due to context
  reporting being different and DTD node being reported. Some
  errors previously undetected are now caught and fixed.
* doc/xmlreader.html: flagged last section as TODO
Daniel
2003-01-05 01:27:54 +00:00
Daniel Veillard
51a447a578 integrated the Python 2.2 optimizations from Hannu Krosing, while
* python/libxml.py: integrated the Python 2.2 optimizations
  from Hannu Krosing, while maintaining compatibility with
  1.5 and 2.1
Daniel
2003-01-04 19:42:46 +00:00
Daniel Veillard
e59494fa54 a bit of cleanup small fix more work on the XmlTextReader tutorial a few
* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
2003-01-04 16:35:29 +00:00
Daniel Veillard
623a9eb2df patch from Stéphane Bidoul to include drv_libxml2.py in setup.py Daniel
* python/setup.py.in: patch from Stéphane Bidoul to include
  drv_libxml2.py in setup.py
Daniel
2003-01-04 12:47:20 +00:00
Daniel Veillard
66b82892f1 starting documenting the new XmlTextReader interface. Daniel
* doc/xmlreader.html: starting documenting the new XmlTextReader interface.
Daniel
2003-01-04 00:44:13 +00:00
Daniel Veillard
7704fb1d9f added the --stream flag to use the TextReader API small performance tweak
* xmllint.c: added the --stream flag to use the TextReader API
* xmlreader.c: small performance tweak
Daniel
2003-01-03 16:19:51 +00:00
Daniel Veillard
a80ff6ec18 okay the DTD validation code on top of the XMLTextParser API should be
* xmlreader.c python/tests/reader2py: okay the DTD validation
  code on top of the XMLTextParser API should be solid now.
Daniel
2003-01-03 12:52:08 +00:00