Fri Jul 8 20:04:29 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: tiny fix in xmlSchemaValidateStream() if a
user-provided SAX handler is given.
Fri Jul 8 19:25:26 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fix some potential leaks in error cases.
* xmllint.c: added --sax, to allow testing of --schemas --sax and
various other combinations.
* xmlschemas.c: fix a couple of tiny problems in
xmlSchemaValidateStream()
Fri Jul 8 18:34:22 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Changed xmlSchemaValidateFile() to use
xmlSchemaValidateStream() internally.
Fri Jul 8 17:02:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
* test/relaxng/docbook_0.xml: added the missing entity to the
document internal subset to avoid errors if the DocBook catalogs
are not there
* xmlschemas.c: first cut at implementing xmlSchemaValidateStream()
untested yet
Wed Jul 6 15:45:48 PDT 2005 William Brack <wbrack@mmm.com.hk>
* parser.c: fixed problem with free on dupl attribute in
dtd (bug309637).
* test/errors/attr3.xml, result/errors/attr3.*: added
regression test for this
Wed Jul 6 13:11:35 PDT 2005 William Brack <wbrack@mmm.com.hk>
* win32/Makefile.msvc: try again to fix file format for Windows
Wed Jul 6 12:20:13 PDT 2005 William Brack <wbrack@mmm.com.hk>
* win32/Makefile.msvc: removed spurious ^M
* runtest.c: added check for option O_BINARY
* test/schemas/bug309338*, result/schemas/bug309338*: changed
sticky tag to 'binary'
Wed Jul 6 10:38:02 PDT 2005 William Brack <wbrack@mmm.com.hk>
* debugXML.c: excluded content string check for XML_ELEMENT_DECL
in xmlCtxtGenericNodeCheck
* runtest.c: changed "open" calls to include O_BINARY for Windows
Wed Jul 6 17:14:03 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixing bug #166777 (and #169838), it was an heuristic
in areBlanks which failed.
* result/winblanks.xml* result/noent/winblanks.xml test/winblanks.xml:
added the input file to the regression tests
Wed Jul 6 13:40:22 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Fixed bug #309338, reported by Kupriyanov
Anotolij.
* test/schemas/bug309338* result/schemas/bug309338*:
Added a regression test for the above bug.
Tue Jul 5 16:03:05 CEST 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am: first steps toward a testsuite dist
* SAX2.c include/libxml/xmlerror.h: fixed bug #307870
Tue Jul 5 12:38:36 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* runsuite.c runtest.c: Tiny portability adjustment for win.
* win32/Makefile.*: Added runtest.exe and runsuite.exe to
be created.
Mon Jul 4 17:44:26 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c: first stb at unimplemnted detection
* runtest.c: fixing Windows code
Mon Jul 4 17:19:31 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c: fix on schemas error
* runtest.c: portability glob() on Windows
Mon Jul 4 16:23:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c runtest.c: cleanups, logfile and portability
* xmllint.c: fixed a memory leak
Mon Jul 4 13:11:12 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed a bug failing to detect UTF-8 violations in
CData in push mode.
* result/errors/cdata.xml* test/errors/cdata.xml: added the test
to the regressions
Mon Jul 4 11:26:57 CEST 2005 Daniel Veillard <daniel@veillard.com>
* debugXML.c: added enhancement for #309057 in xmllint shell
Mon Jul 4 00:58:44 CEST 2005 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: applied patch from James Bursa fixing an html parsing
bug in push mode
* result/HTML/repeat.html* test/HTML/repeat.html: added the test to the
regression suite
Sun Jul 3 23:42:31 CEST 2005 Daniel Veillard <daniel@veillard.com>
* testapi.c tree.c: fixing a leak detected by testapi in
xmlDOMWrapAdoptNode, and fixing another side effect in testapi
seems to pass tests fine now.
* include/libxml/parser.h parser.c: xmlStopParser() is no more limited
to push mode
* error.c: remove a warning
* runtest.c xmllint.c: avoid compilation errors if only some parts
of the library are compiled in.
Mon Jul 4 00:39:35 CEST 2005 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: fix a problem with previous patch to
testapi.c
Sun Jul 3 22:59:28 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c runtest.c tree.c: fixing compilations when
disabling parts of the library at configure time.
Sun Jul 3 18:17:58 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parserInternals.c: fix bug raised by zamez on IRC
* testapi.c: regenerated, seems to pop-up leaks in new tree functions
* tree.c: added comments missing.
* doc/*: regenerated
Sun Jul 3 18:06:55 CEST 2005 Daniel Veillard <daniel@veillard.com>
* testapi.c runsuite.c runtest.c: fixing #307823 and a couple of
assorted bugs
* python/generator.py python/libxml2-python-api.xml: fixed
conditionals in generator too
* doc/apibuild.py doc/libxml2-api.xml doc/* elfgcchack.h: some
cleanups too and rebuilt
Sun Jul 3 16:42:00 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: fixed bug #307503 misplaced #ifdef
Sun Jul 3 16:34:47 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c: expanded test
* xmlregexp.c: found and fixed the leak exposed by Microsoft regtests
Sat Jul 2 23:38:24 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c: a bit of progresses on xstc
Sat Jul 2 09:30:13 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c: completed the simple checks for Relax-NG suites
back to the same 11 errors as in the Python runs.
Thu Jun 30 15:01:52 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: complete, checking on other platforms is needed
* README: updated
* debugXML.c: fix a bug raised by bill on IRC
* relaxng.c: fix a leak in weird circumstances
* runsuite.c Makefile.am: standalone test tool agaisnt
the regression suites, work in progress
Tue Jun 28 08:30:26 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: adding URI tests
Mon Jun 27 23:55:56 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: adding xml:id
Mon Jun 27 23:29:36 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: finishing XPath, adding XPointer
Mon Jun 27 17:39:27 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: adding more coverage, XInclude and starting XPath
Mon Jun 27 17:02:14 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* tree.c include/libxml/tree.h: Added allocation/deallocation
functions for the DOM-wrapper context.
Mon Jun 27 15:41:30 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* tree.c: Commented the new functions to be experimental.
Mon Jun 27 14:41:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
* error.c valid.c: working some weird error reporting problem for
DTD validation.
* runtest.c: augmented with DTD validation tests
* result/VC/OneID*: slight change in validation output.
Mon Jun 27 13:44:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: added most HTML tests
Mon Jun 27 14:06:10 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/namespaces/reconcile/tests.xml
test/namespaces/reconcile/tests-to-c.xsl: Added initial tests
for some new DOM-wrapper helping functions.
Mon Jun 27 14:01:06 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/xstc-to-python.xsl: Cleanup.
* xstc/sun-test-def.xml xstc/nist-test-def.xml xstc/ms-test-def.xml:
Removed, those are not needed anymore due to the new test suite.
Mon Jun 27 11:39:50 CEST 2005 Daniel Veillard <daniel@veillard.com>
* result/*.sax2 MAkefile.am: added SAXv2 regression tests apparently
missing.
* runtest.c: added SAX1/SAX2 checks.
Mon Jun 27 12:24:54 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* tree.c include/libxml/tree.h: Added
xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and
xmlDOMWrapRemoveNode() to the API. These are functions intended
to be used with DOM-wrappers.
Mon Jun 27 10:14:57 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: continue to increase the tests
Mon Jun 27 09:21:49 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: continue to increase the tests
Mon Jun 27 01:01:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runtest.c: continue to increase the tests
Sun Jun 26 20:08:24 CEST 2005 Daniel Veillard <daniel@veillard.com>
* include/libxml/valid.h valid.c: avoid name glob in agruments as
it matches the glob() routine.
* runtest.c Makefile.am: first steps toward a C regression test
framework.
Sat Jun 25 01:37:22 PDT 2005 William Brack <wbrack@mmm.com.hk>
* configure.in: fixed a problem with the detection of
ss_family for ipV6, as reported on the mailing list by
Doug Orleans.
Tue Jun 21 10:44:34 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/schemas/empty-value* result/schemas/empty-value*:
Added regression tests (from Dhyanesh).
Tue Jun 21 10:35:43 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed NULL values to be validated as empty
string values (reported by Dhyanesh to the mailing list).
Adjusted text concatenation of mixed content.
Mon Jun 20 18:11:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
* tree.c valid.c: applied patch from Rob Richards for removal
of ID (and xml:id)
* xmlreader.c: applied patch from James Wert implementing
xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml
Thu Jun 16 14:38:22 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed SAX2 validation: grow of internal
namespace list, appending of element character content.
* xstc/xstc.py: Added "--sax" option for SAX2 validation.
Wed Jun 15 15:34:52 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Added missing function descriptions.
Wed Jun 15 15:26:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmllint.c: if sax1 is used and input is a file use the old
API xmlParseFile()
* xmlschemas.c: cleanups
* doc/* testapi.c elfgcchack.h: rebuilt to add python bindings
for the new functions in Schemas.
Wed Jun 15 14:50:48 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/xmlschemas.h: Added
xmlSchemaValidateFile() to the public API. This will use
SAX2-driven validation.
Wed Jun 15 11:11:38 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* result/schemas/bug306806_1_0 result/schemas/bug306806_1_0.err:
Added schema test results (Tom Browder, bug #306806).
Wed Jun 15 11:08:34 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/schemas/bug306806_1.xsd test/schemas/bug306806_0.xml:
Added schema tests submitted by Tom Browder (bug #306806).
Tue Jun 14 15:03:22 PDT 2005 William Brack <wbrack@mmm.com.hk>
* pattern.c: adjusted last change to xmlCompilePathPattern,
fixed one compilation warning
Tue Jun 14 21:19:16 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* pattern.c: Some changes/fixes to the streaming evaluation.
* xmlschemas.c: A bit of support for parsing the schema for
schema. Fixed attribute derivation when the use is
"prohibited" and was "optional". Fixed an attribute construction
bug, a left-over from the time, where <complexContent>,
<extension>, etc. where created as structs.
Tue Jun 14 12:35:12 CEST 2005 Daniel Veillard <daniel@veillard.com>
* libxml-2.0.pc.in: removed a redundant include path
Mon Jun 13 14:58:33 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/Makefile.am: Some more adjustments.
Mon Jun 13 14:35:59 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/Makefile.am: Changed test extraction process, since some
boxes don't know about "tar --strip-path".
Mon Jun 13 13:39:43 CEST 2005 Daniel Veillard <daniel@veillard.com>
* relaxng.c: fixed a bug exposed by Rob Richards in the mailing-list
* result//compare0* test//compare0*: added the regression test in
the suite as this went unnoticed !
Wed Jun 9 11:07:42 PDT 2005 William Brack <wbrack@mmm.com.hk>
* pattern.c, xpath.c, include/libxml/pattern.h: Further
enhancement for XPath streaming, consolidated with
schemas usage of pattern.c. Added a new enum
xmlPatternFlags.
* doc/*, testapi.c, elfgcchack.h: updated to reflect new
enum.
* test/XPath/tests/mixedpat, test/XPath/docs/mixed,
result/XPath/mixedpat: added regression test for problems
reported in bug306348
Thu Jun 9 16:51:31 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Changed non-prefixed QNames to be bound to a
default namespace if existent.
Thu Jun 9 15:11:38 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Fixed a bug which I invented: hexBinary's string
values were not duplicated corrently when creating a computed value
in xmlSchemaValAtomicType.
Thu Jun 9 13:20:57 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c result/schemas/include1_0_0.err:
Fixed an attribute fixed/default value constraint error.
Thu Jun 9 12:51:23 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* result/schemas/*: Adapted regression test results.
Thu Jun 9 12:22:45 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h
include/libxml/xmlschemastypes.h: Changed the validation process
to be able to work in streaming mode. Some datatype fixes,
especially for list and union types. Due to the changes the
error report output has changed in most cases. Initial migration to
functions usable by both, the parser and the validator. This should
ease a yet-to-come XS construction API in the long term as well.
Thu Jun 9 10:16:11 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from Malcolm Rowe to avoid namespace
troubles on rollback parsing of elements start #304761
* test/nsclean.xml result/noent/nsclean.xml result/nsclean.xml*:
added it to the regression tests.
Thu Jun 9 00:33:50 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c include/libxml/xmlerror.h: applied patch from Rob Richards
for xml:space and xml:lang handling with SAX2 api.
Wed Jun 8 19:41:38 CEST 2005 Daniel Veillard <daniel@veillard.com>
* globals.c: applied patch from Morten Welinder, closing bug #306901
on compiling subsets of the library
Wed Jun 8 19:11:42 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/Makefile.am xstc.py xstc-to-python.xsl: Adapted the
XS tests to use the new release of tests and test-definitions.
2005-06-07 Aleksey Sanin <aleksey@aleksey.com>
* c14n.c: fix rendering of attributes when parent node
is not in the node set
2005-06-06 Aleksey Sanin <aleksey@aleksey.com>
* c14n.c: fixed xml attributes processing bug in exc c14n
* xmllint.c: added --exc-c14n command line option
Mon Jun 6 06:43:33 PDT 2005 William Brack <wbrack@mmm.com.hk>
* xpath.c, pattern.c: Enhanced xmlXPathRunStreamEval, fixed
handling of depth/level for cases like union operator
(bug #306348 reported by Bob Stayton). Also enhanced
several comments throughout pattern.c.
* doc/apibuild.py: fixed problem in handling of
'signed' declaration. Rebuilt the docs.
Tue May 31 20:35:27 PDT 2005 William Brack <wbrack@mmm.com.hk>
* xinclude.c: Enhanced handling of xml:base for included
elements, fixing bugs 169209 and 302353.
Wed May 25 18:59:53 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed facet errors to be channelled back for
union type members; facet-validation will stop now on the
first error. Reported by GUY Fabrice to the mailing-list.
* xmlschemastypes.c: Changed to ignore lengh-related facet
validation for QNames and NOTATIONs as proposed by the
schema people.
* test/schemas/union2* result/schemas/union2*: Added
regression tests for union types (by GUY Fabrice).
Fri May 20 20:48:08 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlsave.c: applied patch from Mark Vakoc fixing saving of
CDATA with NULL content.
Thu May 12 15:14:26 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Changed the VALID_TZO macro to restrict
the timezone to -840 to 840.
Thu May 12 15:05:11 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Applied patch from Steve Nairn (bug #303670)
for "signed int" of the date-time timezone field. Silenced
a warning.
Wed May 11 20:04:09 CEST 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: applied patch for replaceNode from Brent Hendricks
Tue May 10 17:27:52 CEST 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: fixed bug #303682 of a leak reported by Malcolm Rowe
Tue May 10 11:50:16 CEST 2005 Daniel Veillard <daniel@veillard.com>
* testapi.c: applied patch from Steve Nairn tof fix the compilation
problem exposed in bug #303640
Tue May 10 11:11:26 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/schemas/bug303566_1* result/schemas/bug303566_1_1*:
Added regression a test provided by Heiko Oberdiek (bug #303566).
Mon May 9 17:56:58 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* pattern.c: Changed the XPath "." to resolve only on the first
level for XML Schema IDCs (bug #303566 reported by Heiko Oberdiek).
This should not affect pattern-like resolution on every level.
Sun May 8 13:35:39 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlmemory.c: fixed #169630 segfault in xmlMemDisplay
Fri May 6 13:40:03 CEST 2005 Daniel Veillard <daniel@veillard.com>
* nanoftp.c: fixing bug #303068 increasing the nanoftp buffer.
* doc/apibuild.py: fixed __attribute() parsing problem
* doc/* testapi.c: regenerated the descriptions and docs.
Wed May 4 11:16:00 CEST 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in threads.c: on linux/gcc use weak definitions
to avoid linking with pthread library on non-threaded environments.
* xpath.c: applied patch from Mark Vakoc w.r.t. a buggy namespace
list allocation.
Fri Apr 29 11:27:37 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* parser.c: Fixed a test for duplicate attributes: Non-prefixed
attributes were treated as being bound to the default namespace.
Tue Apr 19 17:51:32 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Fixed date-time related validation
(reported by David Crossley, bug #300576).
Tue Apr 19 16:55:40 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c xmlregexp.c: Removed 5 unnecessary
dereferences (reported by Andriy, bug #301074).
Tue Apr 19 22:33:18 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xpath.c: Added some code to avoid integer overflow for
ceil, floor and round functions (bug 301162)
Tue Apr 19 13:21:54 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Removed workaround for bug #172215, since it
does more harm in some scenarios. Added some of the
"Particle Restriction OK" constraints - not yet enabled.
Mon Apr 18 13:02:55 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* result/schemas/changelog093*: Added test results.
Mon Apr 18 12:42:14 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added output of canonical values in
identity-constraint error messages.
* xmlschemastypes.c include/libxml/xmlschemastypes.h:
Added xmlSchemaGetCanonValueWhtsp() to the API.
Further enhancement of the canonical value
conversion.
* test/schemas/changelog093_0.*: Added test with an XSD
submitted by Randy J. Ray.
Fri Apr 15 09:33:21 HKT 2005 William Brack <wbrack@mmm.com.hk>
* valid.c: Applied Daniel's fix for memory leak in dtd
prefix (bug 300550).
* xpath.c: minor change to comment only
Thu Apr 14 20:52:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlmemory.c: added the call to the breakpoint routine
when a monitored block is reallocated or freed
Wed Apr 13 05:55:51 CEST 2005 Daniel Veillard <daniel@veillard.com>
* nanohttp.c: applied patch from Aron Stansvik for bug #172525
about HTTP query string parameter being lost
Tue Apr 12 04:03:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
* python/libxml.c python/libxml.py: applied patch from Brent Hendricks
adding namespace removal at the python level #300209
* python/tests/Makefile.am python/tests/nsdel.py: added the regression
test
Sun Apr 10 09:03:22 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xpath.c: fixed several places where memory cleanup was not
properly done after an error was detected (problem was
reported on the mailing list by Pawel Palucha)
Fri Apr 8 21:58:04 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added substitution group constraints; changed
the build of the pre-computed substitution groups. Channeled
errors during xsi assembling of schemas to the validation
context. Fixed a big memory leak, which occured when using
IDCs: the precomputed value of attributes was not freed if
the attribute did not resolve to an IDC field (discovered
with the help of Randy J. Ray's schema, posted to the
xmlschema-dev maling list).
Fri Apr 8 13:22:01 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added "Particle correct 2" to parsing of model groups.
Added handling substitution groups inside <choice> and <sequence>;
for <all> this is not supported yet. Changed circular checks for
model groups definitions. "memberTypes" are processed at different
levels now: component resolution first, construction later; this
goes hand in hand with a global change to handle component
resolution in a distinct phase. Fixed invalid default values for
elements to mark the schema as invalid; this just resulted in an
error report previously, but the schema was handled as valid.
Separated the assignment of the model groups to referencing
model group definition references (i.e. particles); this was
needed to perform the circularity check for model group definitions.
Added "Element Declaration Properties Correct (e-props-correct)"
constraints. Separated component resolution for simple/complex
types.
* include/libxml/schemasInternals.h: Added a flag for substitution
group heads.
Wed Apr 6 23:14:03 CEST 2005 Igor Zlatkovic <igor@zlatkovic.com>
* win32/Makefile.*: make install cleanup
Wed Apr 6 22:42:23 CEST 2005 Igor Zlatkovic <igor@zlatkovic.com>
* win32/Makefile.mingw: fixed mingw compilation
* testModule.c: removed mingw warnings
Wed Apr 6 21:59:11 CEST 2005 Igor Zlatkovic <igor@zlatkovic.com>
* .cvsignore: added Eclipse project files to ignore list
Wed Apr 6 16:08:10 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xpath.c: fixed the bug in lang() as raised by Elliotte Rusty Harold
* result/XPath/tests/langsimple test/XPath/tests/langsimple
test/XPath/docs/lang: added a regression test
Tue Apr 5 23:48:35 CEST 2005 Daniel Veillard <daniel@veillard.com>
* nanoftp.c: applied fix from Rob Richards to compile on Windows.
Tue Apr 5 17:02:58 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added "Type Derivation OK (Complex)" constraints
and anchored them in the "Element Locally Valid (Element)"
constraints. This restricts the type substitution via "xsi:type".
Tue Apr 5 13:10:06 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: patch from Matthew Burgess to improve some schemas
facets validation messages.
Sat Apr 2 12:48:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
* doc/* configure.in NEWS: preparing release 2.6.19, updated docs and
rebuilding.
Sat Apr 2 13:27:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xstc/Makefile.am: integrated fixup-tests.py
Fri Apr 1 19:14:18 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemastypes.c: fixed a lack of comment and missing test for
a pointer in the API.
Fri Apr 1 17:54:22 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/fixup-tests.py: A tiny script to fixup some of the schema
files used for the tests.
Fri Apr 1 17:33:50 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/schemasInternals.h
result/schemas/src-element2-*.err result/schemas/element-*.err:
Committing again, since the CVS server aborted.
Fri Apr 1 15:29:27 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Corrected 'length' facet validation for
QNames and notations. Corrected xmlSchemaGetCanonValue: some
data types did not return a value if already in normalized
form.
* xmlschemas.c include/libxml/schemasInternals.h:
Eliminated creation of structs for <restriction>, <extension>,
<simpleContent>, <complexContent>, <list> and <union>: the
information is now set directly on the corresponding simple/
complex type. Added some more complex type constraints.
Added facet derivation constraints. Introduced "particle"
components, which seem to be really needed if applying
constraints. Corrected/change some of the parsing functions.
This is all a bit scary, since a significant change to the code.
* result/schemas/src-element2-*.err result/schemas/element-*.err:
Adapted regression test results.
Fri Apr 1 16:07:59 CEST 2005 Daniel Veillard <daniel@veillard.com>
* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
format to cope with gcc4 change of aliasing allowed scopes, had
to add extra informations to doc/libxml2-api.xml to separate
the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Thu Mar 31 17:20:32 CEST 2005 Daniel Veillard <daniel@veillard.com>
* xmlsave.c: fixed bug reported by Petr Pajas, in the absence of
encoding UTF-8 should really be assumed. This may break if
the HTTP headers indicates for example ISO-8859-1 since this
then becomes a well formedness error.
Thu Mar 31 16:57:18 CEST 2005 Daniel Veillard <daniel@veillard.com>
* SAX.c: fixed #172260 redundant assignment.
* parser.c include/libxml/parser.h: fixed xmlSAXParseDoc() and
xmlParseDoc() signatures #172257.
Thu Mar 31 16:11:10 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fix potential crash if ctxt->sax->ignorableWhitespace
is NULL as reported by bug #172255
Thu Mar 31 15:36:52 CEST 2005 Daniel Veillard <daniel@veillard.com>
* relaxng.c: fixed a problem in Relax-NG validation #159968
* test/relaxng/list.* result/relaxng/list_*: added the test
to the regression suite
Thu Mar 31 13:06:02 CEST 2005 Daniel Veillard <daniel@veillard.com>
* python/libxml.c: fixed bug #168504
Thu Mar 31 12:22:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
* config.h.in configure.in nanoftp.c nanohttp.c xmllint.c
macos/src/config-mac.h: use XML_SOCKLEN_T instead of SOCKLEN_T
since apparently IBM can't avoid breaking common defines #166922
Thu Mar 31 10:41:45 CEST 2005 Daniel Veillard <daniel@veillard.com>
* encoding.c: fix unitinialized variable in not frequently used
code bug #172182
Thu Mar 31 00:45:18 CEST 2005 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml.py: another patch from Brent
Hendricks to add new handlers with the various validity contexts
* python/tests/Makefile.am python/tests/validDTD.py
python/tests/validRNG.py python/tests/validSchemas.py: also
added the regression tests he provided
Wed Mar 30 09:39:27 CEST 2005 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml.c: applied patch from Brent
Hendricks to avoid leak in python bindings when using schemas
error handlers.
Tue Mar 29 22:29:28 CEST 2005 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c: fixing bug 168196, <a name=""> must be URI escaped too
Sun Mar 27 13:24:24 CEST 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: cleanup of the Prop related functions and xmlNewNodeEatName
by Rob Richards
Thu Mar 24 19:01:22 PST 2005 William Brack <wbrack@mmm.com.hk>
* gentest.py, testapi.c: fixed problem with 'minimal library'
compilation (LIBXML_PATTERN_ENABLED not properly checked) reported
by Greg Morgan
Thu Mar 24 12:01:30 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed call to a facet error report: the type of
the error was wrong, resulting in a segfault (bug #171220, reported
by GUY Fabrice).
Mon Mar 21 22:58:37 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Removed a stupid bug in xmlSchemaValidateAttributes,
failing to build a linked list correctly (bug #169898, reported
by bing song, hmm...).
Mon Mar 21 21:09:07 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed a segfault, which occured during bubbling
of IDC nodes (bug #170779 and #170778, reported by GUY Fabrice):
a variable was missed to be reset in a loop. Deactivated bubbling,
if not referenced by a keyref.
Sun Mar 20 11:13:02 PST 2005 Aleksey Sanin <aleksey@aleksey.com>
* c14n.c include/libxml/xmlerror.h: special case "DAV:" namespace
in c14n relative namespaces check and add structured error messages
to c14n code
Thu Mar 17 12:55:23 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Removed inheritance of "mixed" content type for
short-hand restrictions of "anyType" (reported by Guy Fabrice
to the mailing list). Added the namespace conversion (chameleon
includes) for the base type reference of <restriction> and
<extension>.
* test/schemas/bug152470_1.xsd: Adapted due to the above change
of "mixed" inheritance.
Thu Mar 17 11:03:59 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixed a = -> == error pointed by GUY Fabrice
Wed Mar 16 22:53:53 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: more debug messages from Matthew Burgess
* xmlschemastypes.c: xmlSchemaValidateLengthFacet API missing check.
Wed Mar 16 17:37:04 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Aaaannnd putting back the previous changes done
by Daniel, which I overwrote with the previous commit.
Wed Mar 16 17:20:25 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c xmlschemastypes.c include/libxml/xmlschemastypes.h:
Hopefully finished validation against facets to use the normalized
value of both, the facets and instance values. Added
xmlSchemaValidateLengthFacetWhtsp(), xmlSchemaValidateFacetWhtsp()
and xmlSchemaGetValType() to the schema API.
Wed Mar 16 13:55:31 CET 2005 Daniel Veillard <daniel@veillard.com>
* libxml.spec.in: do not package .la files
* xmllint.c: applied patch from Gerry Murphy for xmllint return code
* xmlschemastypes.c: fixed a couple of missing tests of parameters
at public API entry points.
Tue Mar 15 23:31:14 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xmlschemastypes.c: a couple of more changes to various
decimal-handling routines. Fixes python some problems
turned up by the python tests.
* Makefile.am: change SchemasPythonTests message to warn
that there are 10 'expected' errors (rather than 6) since
we now reject a '+' sign on an unsigned.
Tue Mar 15 15:43:27 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c xmlschemastypes.h: In preparation to use
normalized values of facets during validation: changed the
arguments of some string comparison functions; added a static
xmlSchemaValidateFacetInternal() with more arguments to be
more flexible. Prepared XML_SCHEMA_FACET_ENUMERATION validation
to use the comparison functions. Fixed some assignments in
xmlSchemaValAtomicType(): total digit count, lo, mi, hi.
Sun Mar 13 19:32:03 CET 2005 Daniel Veillard <daniel@veillard.com>
* NEWS configure.in testapi.c doc/*: preparing release of 2.6.18
updated docs and rebuilt
* libxml.spec.in: reactivated gcc profiling for gcc >= 4.0.0
Sat Mar 12 19:50:22 CET 2005 Daniel Veillard <daniel@veillard.com>
* encoding.c: removed a static buffer in xmlByteConsumed(),
as pointed by Ben Maurer, fixes #170086
* xmlschemas.c: remove a potentially uninitialized pointer warning
Fri Mar 11 23:53:13 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xmlschemastypes.c: enhanced the parsing of XML_SCHEMAS_DECIMAL
and much of the routine xmlSchemaCompareDecimals. The
changes were necessary to fix a problem reported on the
mailing list by John Hockaday.
Fri Mar 11 13:22:52 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: The schema parser will stop if components could
not be resolved. This is not conforming to the spec but for now
will avoid internal errors during type fixup and content model
creation. Restructured inclusion/import of schemata: this avoids
duplicate, self and circular inclusion. Chameleon includes are
still workarounded. Added restriction to disallow references to
non-imported namespaces. Corrected parsing of <group>.
* result/schemas/bug167754_0_0*: Added a missing test result.
Thu Mar 10 16:02:17 CET 2005 Daniel Veillard <daniel@veillard.com>
* doc/xml.html doc/encoding.html: Enriched encoding.html with more
link and foreword warning to avoid problem with ignorant
programmers, c.f #169721
Thu Mar 10 15:01:34 CET 2005 Daniel Veillard <daniel@veillard.com>
* python/tests/Makefile.am python/tests/readernext.py: added
a regression test from Rob Richards for the previous bug
Thu Mar 10 13:22:36 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlreader.c: applied fix for xmlTextReaderNext() bug from
Rob Richards
Thu Mar 10 11:35:57 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlmodule.c: second patch from Rick Jones, portability fix for
HP-UX
* doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones
to avoid warnings.
Thu Mar 10 10:20:23 CET 2005 Daniel Veillard <daniel@veillard.com>
* include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability
patches, including a serious aliasing bug exposed in s390
when trying to convert data pointer to code pointer.
Mon Mar 7 18:34:00 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Tiny restructuring of the validation start-up
functions. Added cleanup of the validation context at the
end of validation. This takes care of the validation context
being reused.
Mon Mar 7 12:12:01 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemastypes.c: Tiny changes in the comparison functions
I forgot to commit last time.
Fri Mar 4 22:51:42 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added IDC validation of anySimpleType attribute
values; anyway the IDC key comparison is restricted to
anySimpleType <--> string based types. For other types we
would possibly need the canonical lexical representation of
them; this sounds not performant, since we would need to
build such a representation each time we want to compare against
anySimpleType. TODO: think about buffering the canonical values
somewhere. Fixed error reports for default attributes to work
without a node being specified. This all and the enabling of IDC
validation fixes bug #165346 (reported by Benoit Gr?goire - could
not read his last name correctly from bugzilla).
Fri Mar 4 18:57:44 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Enabled IDC parsing and validation.
* xmlschemastypes.c include/libxml/xmlschemastypes.h:
Added xmlSchemaCopyValue to the API; this was done due to
validation of default attributes against IDCs: since IDC keys
consume the precomputed value, one needs a copy.
* pattern.c: Enabled IDC support; this is currently done
via calling xmlPatterncompile with a flag arg of 1.
Wed Mar 2 11:45:18 CET 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am doc/examples/Makefile.am python/tests/Makefile.am
xstc/Makefile.am: try to fix a problem with valgrind.
* python/generator.py python/libxml.c python/tests/Makefile.am
python/tests/tstmem.py: applied memory leak fix from Brent Hendricks
c.f. bug #165349
Mon Feb 28 11:18:24 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* tree.c: Changed xmlSearchNsByHref to call xmlNsInScope with
the prefix instead of the namespace name.
* test/schemas/annot-err_0.xsd test/schemas/element-err_0.xsd:
Adapted invalid values of the "id" attribute, since they are
validated now.
Fri Feb 25 08:31:16 CET 2005 Daniel Veillard <daniel@veillard.com>
* threads.c: new version with fixes from Rob Richards
Thu Feb 24 16:37:51 CET 2005 Daniel Veillard <daniel@veillard.com>
* threads.c: applied patch from Rich Salz for multithreading on
Windows.
Wed Feb 23 15:04:46 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlwriter.c: applied a patch from Rob Richards fixing a couple
of bugs in the writer
Mon Feb 21 21:51:03 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033).
* xpath.c: fixed compilation warning, no change to logic.
* xmlschemastypes.c: fixed compilation warning, no change to logic.
Mon Feb 21 14:48:27 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlwriter.c: applied patch from Rob Richards to fix a problem with
xmlTextWriterStartAttributeNS
Mon Feb 21 11:41:41 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c xpath.c: fixed remaining known bugs in the XPath streaming,
and switched XPath to use it by default when possible
Sat Feb 19 19:25:14 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemastypes.c: a bit of cleanup
* elfgcchack.h testapi.c doc/*: rebuilt the API the tests and
the documentation as a result.
Fri Feb 18 20:34:03 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlreader.c include/libxml/xmlreader.h: applied patch from
Aron Stansvik to add xmlTextReaderByteConsumed()
* testReader.c: added a test option
* xmlschemastypes.c: fix a lack of pointer checking in APIs
Fri Feb 18 12:41:10 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/schemas/bug167754_0*: Added the regression test of Frans
Englich for bug #167754.
Fri Feb 18 12:31:49 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Started support for IDC resolution to default
attributes. If building the content model for <all>: ensured
to put element declarations and not the particles into the
content model automaton (this was bug #167754, reported by
Frans Englich).
Thu Feb 17 22:31:58 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* pattern.c pattern.h: Some experimental addition for parsing
of expressions and streamable validation.
Added xmlStreamPushAttr to the API.
Thu Feb 17 19:57:35 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added validation for the attribute "id" in the
schemata; doing this needed error report fixes for notations,
facets and group. Changed NOTATION validation to work with the
declared NOTATIONs in the schema; this does have no impact on
the validation via the relaxng module.
* xmlschemastypes.c include/libxml/xmlschemastypes.h:
Added xmlSchemaNewNOTATIONValue to the API to be able to do
the NOTATION validation described above.
* test/schemas/element-err_0.xsd test/schemas/annot-err_0.xsd:
Fixed the values of the "id" attributes, which were not validated
previously.
Thu Feb 17 12:03:46 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed comparison for default/fixed attribute
values, if the type was 'xsd:string'. Changed the comparison
for IDCs to use the whitespace aware comparison function.
* xmlschemastypes.c include/libxml/xmlschemastypes.h:
Added xmlSchemaGetCanonValue, xmlSchemaNewStringValue and
xmlSchemaCompareValuesWhtsp to the API. Added functions
to compare strings with whitespace combinations of "preserve",
"replace" and "collapse".
Wed Feb 16 13:24:35 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Further work on IDCs, especially evaluation for
attribute nodes.
Wed Feb 16 01:19:27 CET 2005 Daniel Veillard <daniel@veillard.com>
* encoding.c: fix the comment to describe the real return values
* pattern.c xpath.c include/libxml/pattern.h: lot of work on
the patterns, pluggin in the XPath default evaluation, but
disabled right now because it's not yet good enough for XSLT.
pattern.h streaming API are likely to be changed to handle
relative and absolute paths in the same expression.
Tue Feb 15 15:33:32 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added IDC evaluation for attribute nodes.
Made 'nil'ed elements work. Added a specific error message
for 'strict' attribute wildcards.
* include/libxml/xmlerror.h: Added an error code for
wildcards.
* result/schemas/anyAttr-processContents-err1_0_0.err: Adapted.
Sun Feb 13 16:15:03 HKT 2005 William Brack <wbrack@mmm.com.hk>
This change started out as a simple desire to speed up the
execution time of testapi.c, which was being delayed by
nameserver requests for non-existent URL's. From there it
just sort of grew, and grew....
* nanohttp.c, nanoftp.c: changed the processing of URL's
to use the uri.c routines instead of custom code.
* include/libxml/xmlerror.h: added code XML_FTP_URL_SYNTAX
* uri.c: added accepting ipV6 addresses, in accordance with
RFC's 2732 and 2373 (TODO: allow ipV4 within ipV6)
* gentest.py, testapi.c: fixed a few problems with the
testing of the nanoftp and nanohttp routines.
* include/libxml/xmlversion.h: minor change to fix a
warning on the docs generation
* regenerated the docs
Sat Feb 12 09:07:11 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xinclude.c: fixed xmlXIncludeParseFile to prevent
overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset
(bug 166199)
* Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added
code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever
PYTHONPATH is set, to assure new libxml2 routines are used.
Fri Feb 11 22:20:41 HKT 2005 William Brack <wbrack@mmm.com.hk>
* parser.c: fixed problem when no initial "chunk" was
given to xmlCreatePushParser (bug 162613)
Fri Feb 11 18:37:22 HKT 2005 William Brack <wbrack@mmm.com.hk>
* dict.c: fixed compilation warning
* parser.c: changed xmlWarningMsg so ctxt->errNo is not set
* xmllint.c: changed to return non-zero status if error
on xinclude processing
* xmlsave.c: minor deletion of a redundant condition statement
Wed Feb 9 17:47:40 CET 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: applied patch to xmlSetNsProp from Mike Hommey
Sun Feb 6 00:17:57 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c xmllint.c: fixed implementation for |
* test/pattern/conj.* result/pattern/conj: added a specific regression
test
Sat Feb 5 18:36:56 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c: first implementation for | support
Sat Feb 5 14:58:46 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c: fixed the namespaces support
* tree.c: fixed xmlGetNodePath when namespaces are used
* result/pattern/multiple result/pattern/namespaces
test/pattern/multiple.* test/pattern/namespaces.*: added
more regression tests
Fri Feb 4 18:26:43 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixed one internal function
* doc/Makefile.am doc/wiki.xsl: applied patch from Joel Reed
* testapi.c doc/libxml2-api.xml doc/libxml2-refs.xml: regenerated
Fri Feb 4 00:25:43 CET 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am: use the walker to test the patterns instead of
the normal reader
* pattern.c xmllint.c: bug fixes in the train including fixing the
stupid build break.
Tue Feb 1 18:15:52 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c: more bug fixes for the XPath streaming code.
Mon Jan 31 17:59:24 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Integrated the streaming pattern from the
pattern module. Fixed some IDC code bugs. Changed
fallback for attribute declaration addition to work like for
element declarations.
Mon Jan 31 01:27:22 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c xmllint.c: bugfixes around the streaming patterns
Sun Jan 30 23:35:19 CET 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in result/pattern/simple
test/pattern/simple.*: added first test for the patterns
* pattern.c xmllint.c: a few fixes
Sun Jan 30 19:27:23 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c include/libxml/pattern.h xmllint.c: added a
streaming pattern detector for a subset of XPath, should
help Kasimier for identity constraints
* python/generator.py: applied Stephane Bidoul patch to find
paths without breaking.
Fri Jan 28 18:53:40 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixed an untested pointer dereference and a & vs &&
Fri Jan 28 18:37:18 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlreader.c: implementation of xmlTextReaderReadString by
Bjorn Reese
Fri Jan 28 16:51:47 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Corrected an ambigious symbol-space for
local attribute declarations. IFDEFed more IDC code to
surpress compiler warnings.
Fri Jan 28 00:57:04 CET 2005 Daniel Veillard <daniel@veillard.com>
* bakefile/Readme.txt bakefile/Bakefiles.bkgen bakefile/libxml2.bkl:
files for the Bakefile generator for Makefiles from Francesco
Montorsi
* win32/configure.js: fixes for Windows compilation with non-default
flags by Joel Reed
Thu Jan 27 18:23:50 CET 2005 Daniel Veillard <daniel@veillard.com>
* tree.c: fixed xmlCopyDoc to also copy the doc->URL as pointed
by Martijn Faassen
Thu Jan 27 13:39:04 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/schemasInternals.h:
Added an initial skeleton for indentity-constraints. This is all
defined out, since not complete, plus it needs support from other
modules.
Added machanism to store element information for the
ancestor-or-self axis; this is needed for identity-constraints
and should be helpfull for a future streamable validation.
* include/libxml/xmlerror.h: Added an error code for
identity-constraints.
Wed Jan 26 01:03:37 CET 2005 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: had to fix generation and rebuild.
* valid.c: the testapi found a bug in the last code of course !
Wed Jan 26 00:43:05 CET 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am testapi.c doc/Makefile.am: fixing the way testapi.c
is generated, fixes bug #161386
* dict.c: fix a comment typo
* elfgcchack.h doc/*: regenerated
Tue Jan 25 22:39:33 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: found and fixed 2 problems in the internal subset scanning
code affecting the push parser (and the reader), fixes #165126
* test/intsubset2.xml result//intsubset2.xml*: added the test case
to the regression tests.
Tue Jan 25 01:20:11 CET 2005 Daniel Veillard <daniel@veillard.com>
* testdso.c xmlregexp.c: warning patches from Peter Breitenlohner
* include/libxml/valid.h valid.c parser.c: serious DTD parsing
speedups, start to deprecate 3 ElementDef related entry point
and replace them with better ones.
Mon Jan 24 00:47:41 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: more hash dictionary interning changes
Sun Jan 23 23:54:39 CET 2005 Daniel Veillard <daniel@veillard.com>
* hash.c include/libxml/hash.h: added xmlHashCreateDict where
the hash reuses the dictionnary for internal strings
* entities.c valid.c parser.c: reuse that new API, leads to a decent
speedup when parsing for example DocBook documents.
Sun Jan 23 21:14:20 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: small speedup in skipping blanks characters
* entities.c: interning the entities strings
Sun Jan 23 18:35:00 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: boosting common commnent parsing code, it was really
slow.
* test/comment[3-5].xml result//comment[3-5].xml*: added sprecific
regression tests
Sun Jan 23 01:00:09 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: small optimization back.
Sat Jan 22 00:40:31 CET 2005 Daniel Veillard <daniel@veillard.com>
* dict.c parser.c include/libxml/dict.h: a single lock version
mostly avoid the cost penalty of the lock in case of low
parallelism, so applying that version instead.
Fri Jan 21 17:54:06 CET 2005 Daniel Veillard <daniel@veillard.com>
* dict.c: patch from Gary Coady to fix a race in dict reference
counting in multithreaded apps.
Fri Jan 21 16:08:21 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed bug #164556 where non-fatal errors stopped
push parsing and xmlreader.
* Makefile.am: fixup
* test/errors/webdav.xml result/errors/webdav*: adding regression
test for this problem.
Wed Jan 19 17:24:34 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Corrected targetNamespace in
xmlSchemaElementDump. Cosmetic changes to the dump output.
Sun Jan 16 21:00:53 CET 2005 Daniel Veillard <daniel@veillard.com>
* configure.in NEWS doc/*: preparing release of 2.6.17,
updated and rebuilt the docs
Sun Jan 16 19:58:36 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: better fix for #151694 not killing c14n regression tests
* xmlschemastypes.c: fixing bug #157653
Sun Jan 16 19:01:06 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixing bug #151694, line should always be set in the
elements.
Sun Jan 16 01:04:18 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemastypes.c: trying to fix at least the message from
bug #158628
* include/libxml/xmlsave.h xmlsave.c: added first xmlsave option
for format, c.f. bug #159997
Sat Jan 15 18:44:30 CET 2005 Daniel Veillard <daniel@veillard.com>
* python/libxml.py: make __str__ call serialize() on nodes, c.f.
bug #157872
Sat Jan 15 18:18:07 CET 2005 Daniel Veillard <daniel@veillard.com>
* nanoftp.c: applied patch from Dan McNichol for compilation on AIX
Sat Jan 15 13:35:19 CET 2005 Daniel Veillard <daniel@veillard.com>
* relaxng.c: fixed bug #157633 in relaxng choice optimization
* result/relaxng/choice0* test/relaxng/choice0*: added regression
tests about it.
* doc/*: rebuilt
* testdso.c: removed a warning due to a missing void in signature.
Thu Jan 13 17:42:55 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* include/libxml/schemasInternals.h xmlschemas.c:
Exposed targetNamespace for simple/complex types, model groups,
attribute groups and notations (reported by Michael Hewarth
to the mailing list). Added targetNamespace to xmlSchemaType,
xmlSchemaAttributeGroup and xmlSchemaNotation.
Tiny cosmetic change to the content model error report output.
* result//all_*.err result//any3_0_0.err result//choice_*.err
result//list0_0_1.err result//list0_1_1.err: Adapted output
of regression tests.
Thu Jan 13 13:20:51 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Put the fix of Daniel (from Tue Jan 11 14:41:47 CET)
back in, since I missed to update xmlschemas.c before doing
the previous commit.
Thu Jan 13 12:59:25 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Integrated xmlRegExecErrInfo and xmlRegExecNextValues
from xmlregexp.c to report expected elements on content model errors.
* all_*.err any3_0_0.err choice_*.err list0_0_1.err list0_1_1.err:
Adapted output of regression tests.
Thu Jan 13 12:24:09 CET 2005 Daniel Veillard <daniel@veillard.com>
* config.h.in configure.in xmlmodule.c: trying to work around
the compilation problem on HP-UX
Wed Jan 12 22:03:33 CET 2005 Daniel Veillard <daniel@veillard.com>
* pattern.c: fixed the fixed size array structure problem reported by
Patrick Streule
Wed Jan 12 15:15:02 CET 2005 Daniel Veillard <daniel@veillard.com>
* elfgcchack.h testapi.c doc/libxml2-api.xml doc/*: regenerated
the API description, rebuilt, improved navigation in documentation
a bit.
Wed Jan 12 14:17:14 CET 2005 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlregexp.h xmlregexp.c: extended xmlRegExecErrInfo()
and xmlRegExecNextValues() to return error transition strings too,
and sink state detection and handling.
Tue Jan 11 14:41:47 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixed bug #163641 when the value passed for
an atomic list type is NULL.
Tue Jan 11 10:14:33 HKT 2005 William Brack <wbrack@mmm.com.hk>
* Makefile.am configure.in: fixed dependency on python 2.3,
also small improvement for cygwin (bug 163273)
Sun Jan 9 18:46:32 CET 2005 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: William noticed I forgot to add special
support for xmlmodules.c define
* xmlregexp.c include/libxml/xmlregexp.h: added terminal to
xmlRegExecErrInfo() API, adding new xmlRegExecNextValues()
entry point and refactored to use both code.
Mon Jan 10 01:02:41 HKT 2006 William Brack <wbrack@mmm.com.hk>
* doc/xml.html, doc/FAQ.html: added an FAQ under Developer for
setting up a "private" library (after some list posts about
people having trouble doing it)
Sat Jan 8 23:04:10 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlregexp.c: fixing behaviour for xmlRegExecErrInfo in case of
rollback
Fri Jan 7 14:54:51 CET 2005 Daniel Veillard <daniel@veillard.com>
* TODO: small update
* xmlregexp.c: trying to add an API to get useful error informations
back from a failing regexp context.
Thu Jan 6 17:35:41 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xpath.c: fixed problem with xmlXPathErr when error number
subscript was out of range (bug 163055)
Thu Jan 6 09:57:03 HKT 2005 William Brack <wbrack@mmm.com.hk>
* uri.c: fixed problem with xmlURIEscape when query part was
empty (actually fixed xmlURIEscapeStr to return an empty
string rather than NULL for empty string input) (bug 163079)
Tue Jan 4 17:08:45 PST 2005 Aleksey Sanin <aleksey@aleksey.com>
* parser.c, parserInternal.c: fixed "col" calculation for
struct _xmlParserInput (based on patch from Rob Richards)
* include/libxml/xmlerror.h, error.c: propagated error column
number in the xmlError structure
Tue Jan 4 22:47:22 CET 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed namespace bug in push mode reported by
Rob Richards
* test/ns6 result//ns6*: added it to the regression tests
* xmlmodule.c testModule.c include/libxml/xmlmodule.h:
added an extra option argument to module opening and defined
a couple of flags to the API.
Tue Jan 4 21:16:05 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlmodule.c include/libxml/xmlmodule.h: applied patch from
Bjorn Reese, plus some cleanups
* elfgcchack.h doc/elfgcchack.xsl: fixed the stylesheet to
add the new header
* doc/* testapi.c: regenerated the API
Tue Jan 4 18:47:19 CET 2005 Daniel Veillard <daniel@veillard.com>
* configure.in: making DSO support an option
* xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code
and documentation cleanups
* elfgcchack.h testapi.c doc/*: regenerated the docs and
checks for new module
* test/valid/REC-xml-19980210.xml: fix a small change introduced
previously
Tue Jan 4 16:07:52 CET 2005 Daniel Veillard <daniel@veillard.com>
* Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in
testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c
include/libxml/Makefile.am include/libxml/xmlerror.h
include/libxml/xmlmodule.h include/libxml/xmlversion.h.in
include/libxml/xmlwin32version.h.in: applied DSO support
patch 2 from Joel Reed
Tue Jan 4 15:30:15 CET 2005 Daniel Veillard <daniel@veillard.com>
* configure.in: applied patch from Marcin Konicki for BeOS
Mon Jan 3 13:57:21 PST 2005 Aleksey Sanin <aleksey@aleksey.com>
* parser.c: added GetLineNumber and GetColumnNumber functions for xmlReader
Sun Jan 2 17:51:18 HKT 2005 William Brack <wbrack@mmm.com.hk>
Re-examined the problems of configuring a "minimal" library.
Synchronized the header files with the library code in order
to assure that all the various conditionals (LIBXML_xxxx_ENABLED)
were the same in both. Modified the API database content to more
accurately reflect the conditionals. Enhanced the generation
of that database. Although there was no substantial change to
any of the library code's logic, a large number of files were
modified to achieve the above, and the configuration script
was enhanced to do some automatic enabling of features (e.g.
--with-xinclude forces --with-xpath). Additionally, all the format
errors discovered by apibuild.py were corrected.
* configure.in: enhanced cross-checking of options
* doc/apibuild.py, doc/elfgcchack.xsl, doc/libxml2-refs.xml,
doc/libxml2-api.xml, gentest.py: changed the usage of the
<cond> element in module descriptions
* elfgcchack.h, testapi.c: regenerated with proper conditionals
* HTMLparser.c, SAX.c, globals.c, tree.c, xmlschemas.c, xpath.c,
testSAX.c: cleaned up conditionals
* include/libxml/[SAX.h, SAX2.h, debugXML.h, encoding.h, entities.h,
hash.h, parser.h, parserInternals.h, schemasInternals.h, tree.h,
valid.h, xlink.h, xmlIO.h, xmlautomata.h, xmlreader.h, xpath.h]:
synchronized the conditionals with the corresponding module code
* doc/examples/tree2.c, doc/examples/xpath1.c, doc/examples/xpath2.c:
added additional conditions required for compilation
* doc/*.html, doc/html/*.html: rebuilt the docs
Sat Dec 25 18:10:02 HKT 2004 William Brack <wbrack@mmm.com.hk>
* parserInternals.c: fixed to skip (if necessary) the BOM for
encoding 'utf-16'. Completes the fix for bug #152286.
* tree.c, parser.c: minor warning cleanup, no change to logic
Fri Dec 24 16:31:22 HKT 2004 William Brack <wbrack@mmm.com.hk>
* python/generator.py: added most required entires to
foreign encoding table, plus some additional logic to
assure only the 1st param uses the 't#' format. Fixes
bug #152286, but may still have some other UTF-16 problems.
Thu Dec 23 23:44:08 HKT 2004 William Brack <wbrack@mmm.com.hk>
* Makefile.am, gentest.py: enhanced for enabling build in
a different directory. Added (optional) param to gentest.py
to specify the source directory (bug #155468)
* doc/Makefile.am: changed destination of NEWS from (top_srcdir)
to (top_builddir) (bug #155468)
* python/Makefile.am, python/generator.py: enhanced for enabling
build in a different directory(bug #155468). Added (optional)
param to generator.py to specify the source directory. Added
a new table of functions which have possible "foreign" encodings
(e.g. UTF16), and code to use python 't' format instead of
'z' format (mostly solving bug #152286, but still need to
populate the table).
Tue Dec 21 08:10:44 MST 2004 John Fleck <jfleck@inkstain.net>
* doc/site.xsl, doc/xml.html, plus rebuilt all the html pages
Change reference to new site for Solaris binaries, fixing bug
160598
Mon Dec 20 08:02:57 PST 2004 William Brack <wbrack@mmm.com.hk>
* parser.c: reset input->base within xmlStopParser
* xmlstring.c: removed call to xmlUTF8Strlen from within
xmlUTF8Strpos (Bill Moseley pointed out it was not
useful)
Fri Dec 17 16:03:41 PST 2004 William Brack <wbrack@mmm.com.hk>
* valid.c: changed xmlErrValidWarning to use ctxt->warning
instead of ctxt->error for its reports (bug #160662)
Fri Dec 17 14:52:17 PST 2004 William Brack <wbrack@mmm.com.hk>
* python/generator.py: modified to allow the ns and nsDefs
accessors to return None instead of error when no namespace
is present (bug #)
Fri Dec 17 11:40:21 PST 2004 William Brack <wbrack@mmm.com.hk>
* doc/Makefile.am: changed maintainer-clean dependency with
suggestion from Crispin Flowerday (bug #157634)
* debugXML.c: fixed crash when ATTRIBUTE or DOCUMENT nodes
were specified with debugDumpNode (bug #160621)
Fri Dec 10 11:24:41 CET 2004 Daniel Veillard <daniel@veillard.com>
* valid.c: fixed ID deallocation problem based on patch from
Steve Shepard fixes bug #160893
* xmlmemory.c: improving comment.
* testapi.c: new test for xmlDictExists() is generated.
Wed Dec 1 22:35:37 HKT 2004 William Brack <wbrack@mmm.com.hk>
* dict.c, xpath.c, include/libxml/hash.h: fixed up some gcc warnings,
no change to logic. New macro XML_CAST_FPTR to circumvent gcc
warnings on function pointer <-> object pointer (a hack).
Mon Nov 29 14:07:18 CET 2004 Daniel Veillard <daniel@veillard.com>
* xpath.c: fixed a memory leak on errors in some circumstances #159812
Fri Nov 26 23:20:48 HKT 2004 William Brack <wbrack@mmm.com.hk>
* xmlIO.c: added a check within xmlOutputBufferWriteEscape to prevent
a dead loop on bad data (bug 159550)
Fri Nov 26 13:09:04 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed strict/lax element wildcards: the children
of elements for which a declaration existed were still processed
by the wildcard mechanism (reported by philippe ventrillon to the
mailing list).
Changed the import and include machanism to share dictionaries.
Fri Nov 26 11:44:36 CET 2004 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c parser.c: make sure xmlCtxtReadFile and htmlCtxtReadFile
go through the catalog resolution.
* gentest.py testapi.c: fix a side effect wrning of the change
Wed Nov 24 13:41:52 CET 2004 Daniel Veillard <daniel@veillard.com>
* dict.c include/libxml/dict.h: added xmlDictExists() to the
dictionnary interface.
* xmlreader.c: applying xmlTextReaderHasAttributes fix for namespaces
from Rob Richards
Wed Nov 17 13:54:37 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: tiny enhancement for content model error reports
(#157190, #143948). Removed abbreviations: CT, ST and WC
(#157190, reported by Frans Englich).
Initial: no report of local components.
* result/schemas/all* result/schemas/any3_0_0.err
result/schemas/choice*
result/schemas/cos-st-restricts-1-2-err_0_0.err
result/schemas/derivation-ok-extension-err_0_0.err
result/schemas/derivation-ok-extension_0_0.err
result/schemas/derivation-ok-restriction-2-1-1_0_0.err
result/schemas/derivation-ok-restriction-4-1-err_0_0.err
result/schemas/deter0_0_0.err result/schemas/extension1_0_2.err
result/schemas/facet-unionST-err1_0_0.err
result/schemas/hexbinary_0_1.err
result/schemas/list* result/schemas/restriction-attr1_0_0.err
result/schemas/vdv-first4_0_1.err result/schemas/vdv-first4_0_2.err:
Adapted output.
Mon Nov 15 13:04:28 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Moved execution of xmlSchemaCheckDefaults to
xmlSchemaTypeFixup; this ensures facets of inherited types to be
checked prior to facets of derived types - which caused a seg
fault otherwise (bug #158216, reported by Frans Englich).
Sun Nov 14 22:23:18 HKT 2004 William Brack <wbrack@mmm.com.hk>
* gentest.py, testapi.c: further enhancement, now all
compilation warnings have been fixed.
* xmlschemastypes.c: added NULL check for one function
Fri Nov 12 23:58:14 HKT 2004 William Brack <wbrack@mmm.com.hk>
* xpath.c: trivial change (changed CHECK_CONTEXT to CHECK_CTXT
on a couple of lines)
* gentest.py, testapi.c: enhanced to reduce compilation warnings
Fri Nov 12 16:12:48 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Un-commented a TODO in xmlSchemaParseElement.
Fri Nov 12 14:55:36 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Correct symbol space for 'all' and 'choice'.
* xmlschemastypes.c include/xmlschemastypes.h: Added 'replace'
normalization for 'normalizedString'.
Added xmlSchemaWhiteSpaceReplace to the API.
Thu Nov 11 21:43:02 CET 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am: forgot a $(srcdir)
* encoding.c: stupid error wrong name #157976
Wed Nov 10 15:35:25 CET 2004 Daniel Veillard <daniel@veillard.com>
* NEWS configure.in doc/*: preparing release of libxml2-2.6.16
Wed Nov 10 12:55:18 CET 2004 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml.c python/libxml2class.txt
python/libxml_wrap.h python/types.c: Applied patch from Brent
Hendricks adding support for late DTD validation.
* python/tests/Makefile.am python/tests/dtdvalid.py
python/tests/test.dtd: integrated the provided regression test
Tue nov 9 19:24:31 CET 2004 Dodji Seketeli <dodji@seketeli.org>
* configure.in: detect when struct sockaddr_storage
has the __ss_family member instead of ss_family and
behave accordingly. We now can use ipv6 on aix.
Tue Nov 9 17:15:46 CET 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am gentest.py testapi.c: integrated in "make tests"
added -q option, and more conditional features fixes
* catalog.c debugXML.c parser.c testThreads.c xmllint.c
xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h
include/libxml/debugXML.h: various compilation and conditional
cleanups.
* doc/*: regenerated
Tue Nov 9 15:59:50 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: better handling of conditional features
* HTMLparser.c SAX2.c parserInternals.c xmlwriter.c: more testing
on parser contexts closed leaks, error messages
Tue Nov 9 10:21:37 GMT 2004 William Brack <wbrack@mmm.com.hk>
* xpath.c: fixed problem concerning XPath context corruption
during function argument evaluation (bug 157652)
Mon Nov 8 18:54:52 CET 2004 Daniel Veillard <daniel@veillard.com>
* testapi.c: more types.
* parserInternals.c xpath.c: more fixes
Mon Nov 8 18:16:43 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: better parser options coverage
* SAX2.c xpath.c: more cleanups.
Tue Nov 9 01:50:08 CET 2004 Daniel Veillard <daniel@veillard.com>
* testapi.c: trying to fix some optional support brokenness
Mon Nov 8 17:25:27 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more coverage
* debugXML.c parser.c xmlregexp.c xpath.c: more fixes
Mon Nov 8 15:02:39 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more coverage
* SAX2.c parser.c parserInternals.c: more fixes
Mon Nov 8 12:55:16 CET 2004 Daniel Veillard <daniel@veillard.com>
* parser.c testapi.c xmlIO.c xmlstring.c: more fixes.
Mon Nov 8 11:24:57 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more types, more coverage
* parser.c parserInternals.c relaxng.c valid.c xmlIO.c
xmlschemastypes.c: more problems fixed
Mon Nov 8 10:24:28 HKT 2004 William Brack <wbrack@mmm.com.hk>
* gentest.py: fixed test file corruption problem
Sun Nov 7 13:18:05 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: fixed typos and avoid Catalogs verbosity
Sat Nov 6 23:25:16 CET 2004 Daniel Veillard <daniel@veillard.com>
* testapi.c: augmented the number of types
Sat Nov 6 20:24:07 CET 2004 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c tree.c xmlreader.c xmlwriter.c: a number of new
bug fixes and documentation updates.
Sat Nov 6 15:50:11 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: augmented type autogeneration for enums
* xpath.c include/libxml/xpath.h: removed direct error reporting.
Sat Nov 6 14:27:18 CET 2004 Daniel Veillard <daniel@veillard.com>
* encoding.c: fixed a regression in iconv support.
Fri Nov 5 18:19:23 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: autogenerate a minimal NULL value sequence
for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
xpointer.c: This uncovered an impressive amount of entry points
not checking for NULL pointers when they ought to, closing all
the open gaps.
Fri Nov 5 16:26:28 UTC 2004 William Brack <wbrack@mmm.com.hk>
* catalog.c: fixed problem with NULL entry (bug 157407)
* xpath.c: fixed a couple of warnings (no change to logic)
Fri Nov 5 15:30:43 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more coverage
* xmlunicode.c: one fix
Fri Nov 5 23:15:51 CET 2004 Daniel Veillard <daniel@veillard.com>
* entities.c: fixed a compilation problem on a recent change
Fri Nov 5 12:50:09 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more coverage
* nanoftp.c tree.c: more fixes
Fri Nov 5 11:02:28 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: fixed the way the generator works,
extended the testing, especially with more real trees and nodes.
* HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch
of real problems found and fixed.
* entities.c: fix error reporting to go through the new handlers
Thu Nov 4 18:44:56 CET 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: dohh ... stupid change killing xmlParseDoc()
Thu Nov 4 18:32:22 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: changing the way the .c is generated,
extending the tests coverage
* include/libxml/nanoftp.h nanoftp.c elfgcchack.h doc/*: fixing some
function signatures, regenerating stuff
* SAX2.c parser.c xmlIO.c: another set of bug fixes and API hardening
Thu Nov 4 13:32:19 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: extending the tests coverage
Thu Nov 4 11:52:28 CET 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am: gentest.py was missing from the EXTRA_DIST
Thu Nov 4 11:48:47 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: extending the tests coverage
* HTMLtree.c tree.c xmlsave.c xpointer.c: more fixes and cleanups
Thu Nov 4 00:25:36 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more fixes and extending the tests coverage
* nanoftp.c xmlIO.c: more fixes and hardening
Wed Nov 3 20:16:24 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more fixes and extending the tests coverage
* valid.c: bunch of cleanups and 2 leaks removed
Wed Nov 3 18:06:44 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more fixes and extending the tests coverage
* list.c tree.c: more fixes and hardening
Wed Nov 3 15:19:22 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more fixes and extending the tests coverage
* relaxng.c include/libxml/relaxng.h: adding a type init interface
* include/libxml/xmlerror.h parser.c xmlreader.c xmlwriter.c: more
cleanups and bug fixes raised by the regression tests
Wed Nov 3 12:49:30 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more fixes and extending the tests coverage
* xmlwriter.c list.c: more hardeing of APIs
* doc/apibuild.py: skip testapi.c when scanning the C files.
Tue Nov 2 23:09:06 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more testing and coverage
* elfgcchack.h xmlstring.c include/libxml/xmlstring.h: more cleanups
* doc/*: rebuilt
Tue Nov 2 19:44:32 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: more developments on the API testing
* HTMLparser.c tree.c: more cleanups
* doc/*: rebuilt
Tue Nov 2 15:49:34 CET 2004 Daniel Veillard <daniel@veillard.com>
* xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks()
* Makefile.am gentest.py testapi.c: work on generator of an
automatic API regression test tool.
* SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c
xmlstring.c: various API hardeing changes as a result of running
teh first set of automatic API regression tests.
* test/slashdot16.xml: apparently missing from CVS, commited it
Mon Nov 1 15:54:18 CET 2004 Daniel Veillard <daniel@veillard.com>
* xpath.c: fixed an UTF-8 parsing bug reported by Markus Bertheau
on #fedora-devel
Sun Oct 31 22:03:38 CET 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed a bug reported by Petr Pajas on the list and
affecting XML::Libxml
Sun Oct 31 16:33:54 CET 2004 Daniel Veillard <daniel@veillard.com>
* encoding.c doc/examples/testWriter.c: Fixed bug #153937, making
sure the conversion functions return the number of byte written.
Had to fix one of the examples.
Fri Oct 29 14:16:56 CEST 2004 Daniel Veillard <daniel@veillard.com>
* doc/xmllint.1 doc/xmllint.xml: indicate - means stdin closing #156626
Fri Oct 29 14:03:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/libxml.c: register xmlSchemaSetValidErrors, patch from
Brent Hendricks in the mailing-list
* include/libxml/valid.h HTMLparser.c SAX2.c valid.c
parserInternals.c: fix #156626 and more generally how to find out
if a validation contect is part of a parsing context or not. This
can probably be improved to make 100% sure that vctxt->userData
is the parser context too. It's a bit hairy because we can't
change the xmlValidCtxt structure without breaking the ABI since
this change xmlParserCtxt information indexes.
Wed Oct 27 19:26:20 CEST 2004 Daniel Veillard <daniel@veillard.com>
* ChangeLog NEWS configure.in doc/*: preparing release 2.6.15
* debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups
Wed Oct 27 09:31:24 PDT 2004 William Brack <wbrack@mmm.com.hk>
* uri.c: fixed a stupid mistake in xmlBuildRelativeURI
(bug 156527)
Wed Oct 27 11:44:35 CEST 2004 Daniel Veillard <daniel@veillard.com>
* nanoftp.c nanohttp.c: second part of the security fix for
xmlNanoFTPConnect() and xmlNanoHTTPConnectHost().
Tue Oct 26 23:57:02 CEST 2004 Daniel Veillard <daniel@veillard.com>
* nanoftp.c: applied fixes for a couple of potential security problems
* tree.c valid.c xmllint.c: more fixes on the string interning checks
Tue Oct 26 18:09:59 CEST 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c include/libxml/xmlerror.h: added checking for names
values and dictionnaries generates a tons of errors
* SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c
include/libxml/tree.h: fixing the errors in the regression tests
Mon Oct 25 16:04:22 PDT 2004 William Brack <wbrack@mmm.com.hk>
* parser.c: modified the handling of _private for entity
expansion (bug 155816)
Mon Oct 25 17:11:37 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed the leak reported by Volker Roth on the list
* test/ent10 result//ent10*: added a specific test for the problem
Sat Oct 23 11:07:41 PDT 2004 William Brack <wbrack@mmm.com.hk>
* valid.c: unlinked the internal subset within xmlValidateDtd
(bug 141827)
* configure.in: added -Wall to developer's flags
* doc/examples/reader4.res: added to CVS
Fri Oct 22 16:36:50 CEST 2004 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: added support for HTML PIs #156087
* test/HTML/python.html result/HTML/python.html*: added specific tests
Fri Oct 22 15:20:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* threads.c: fixed nasty bug #156087
Fri Oct 22 21:04:20 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/libxml.c: fixed a problem occuring only in x86_64 when
very large error messages are raised to the Python handlers.
Thu Oct 21 18:03:21 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: fixed a memory bug
* doc/examples/reader4.c doc/examples/*: added test from Graham Bennett
and regenerated the directory
Tue Oct 19 11:06:39 CEST 2004 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlreader.h xmlreader.c: applied patch from
Graham Bennett adding 4 convenience functions to the reader API.
Fri Oct 15 11:22:48 PDT 2004 William Brack <wbrack@mmm.com.hk>
* debugXML.c: excluded a few nodes (with no content) from the
string check routine.
Fri Oct 15 10:48:30 EDT 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c include/libxml/xmlerror.h: added UTF-8 string checking,
raise a problem, need debug
Wed Oct 13 02:17:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/Makefile.am: applied patch from Thomas Fitzsimmons fixing
#155240 building outside the source tree. but make tests fails.
Mon Oct 11 16:26:51 CEST 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c include/libxml/xmlerror.h: added namespace checking
Sat Oct 9 22:36:21 CEST 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c: some framework preparation to add namespace checkings
Thu Oct 7 15:12:58 CEST 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h:
adding the tree debug mode
* parser.c relaxng.c tree.c xpath.c: fixing various problems reported
by the debug mode.
* SAX2.c: another tree fix from Rob Richards
Wed Oct 6 10:50:03 PDT 2004 William Brack <wbrack@mmm.com.hk>
* catalog.c: small change to last fix, to get xml:base right
Wed Oct 6 09:33:51 PDT 2004 William Brack <wbrack@mmm.com.hk>
* catalog.c: added code to handle <group>, including dumping
to output (bug 151924).
* xmlcatalog.c, xmlstring.c, parser.c: minor compiler warning
cleanup (no change to logic)
Mon Oct 4 16:09:07 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in debugXML.c include/libxml/xmlversion.h.in
include/libxml/xmlwin32version.h.in: revamped the XML debugging
module and prepare for a new checking mode
Mon Oct 4 13:53:24 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426
Mon Oct 4 12:26:28 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml.c python/tests/outbuf.py:
applied patch from Malcolm Tredinnick fixing bug #154294
related to saving to python file objects.
Sat Oct 2 21:08:51 PDT 2004 William Brack <wbrack@mmm.com.hk>
* tree.c: changed xmlHasNsProp to properly handle a request for
the default namespace (bug 153557)
Sat Oct 2 18:18:27 PDT 2004 William Brack <wbrack@mmm.com.hk>
* parser.c: fixed problem with dictionary handling within
xmlParseInNodeContext (bug 153175)
Sat Oct 2 15:46:37 PDT 2004 William Brack <wbrack@mmm.com.hk>
* check-relaxng-test-suite.py, check-relaxng-test-suite2.py,
check-xinclude-test-suite.py, check-xml-test-suite.py,
check-xsddata-test-suite.py, doc/examples/index.py: changed
changed sys.path setting from 'append' to 'insert' (patch
supplied by Malcolm Tredinnick) (bug 153716)
Sat Oct 2 15:03:14 PDT 2004 William Brack <wbrack@mmm.com.hk>
* include/libxml/parserInternals.h: added two new macros
IS_ASCII_LETTER and IS_ASCII_DIGIT used with (html)
parsing and xpath for testing data not necessarily
unicode.
* HTMLparser.c, xpath.c: changed use of IS_LETTER_CH and
IS_DIGIT_CH macros to ascii versions (bug 153936).
Fri Oct 1 20:37:25 PDT 2004 William Brack <wbrack@mmm.com.hk>
* error.c: added some coding to attempt to display which file
contains an error when using XInclude (bug 152623)
Thu Sep 30 11:19:17 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in: stupid cut'n paste bug in xmllint detection
Wed Sep 29 17:47:56 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in doc/*: releasing 2.6.14, rebuilding the docs
Wed Sep 29 15:00:11 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h
include/libxml/schemasInternals.h: Parsing of <complexContent>
- handle attribute 'mixed', catch illegal attributes.
Parsing of <complexType> - handle attributes 'abstract',
'final' and 'block', catch illegal attributes.
Validation of complex types - handle abstract types.
Added handling of default/fixed attributes and element values.
Per validation option attribute nodes/text nodes are created
on the instance.
Added the corresponding constraints for fixed/default.
Added xmlSchemaSetValidOptions, xmlSchemaGetValidOptions
to the external API.
Extended element declaration constraints.
Got rid of perseverative creation of temporery validation/parser
contexts.
Added handling of xsi:schemaLocation and
xsi:noNamespaceSchemaLocation.
Fixed xsi:type component resolution if using non-prefixed
QNames.
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h:
Enabled namespace awareness of the content model if using the
model group "all".
* test/schemas/bug152470_1.xsd: Removed an "abstract" attribute,
which broke the test.
* xstc/xstc.py: Workaround to accomodate case insensitive
test definitions in ms-test.def.xml (was missing in a previous
commit).
Wed Sep 29 11:03:10 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/drv_libxml2.py: another patch from Malcolm Tredinnick
adding option not to load dtd from the drv_libxml2.py module
#134633
Tue Sep 28 14:30:22 CEST 2004 Daniel Veillard <daniel@veillard.com>
* acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c
xmlschemastypes.c: another patch from Malcolm Tredinnick fixing
warning generated by the Nonstop Kernel Open System Services
compiler #151710
Tue Sep 28 13:07:37 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/libxml.py: applied patch from Malcolm Tredinnick fixing
python exception hierarchy #139824
Sun Sep 26 16:40:24 CEST 2004 Daniel Veillard <daniel@veillard.com>
* valid.c TODO: applied patch from Malcolm Tredinnick fixing errata
E20 concerning NMTOKENS and co. validation #153722
* result/VC/AttributeNmtokens test/VC/AttributeNmtokens
test/VCM/AttributeNmtokens.xml: also added tests from Malcolm
Sun Sep 26 16:24:44 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xstc/xstc.py: applied patch from Malcolm Tredinnick fixing space/tabs
#153713
* xpath.c: fixed a realloc potential problem
Fri Sep 24 16:14:12 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am: fixed make valgrind xstc
Thu Sep 23 18:23:46 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemastypes.c: fixing an out of bound adressing issue
Thu Sep 23 15:14:12 CEST 2004 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related
code cleanups.
Thu Sep 23 01:04:30 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed a bunch of errors when realloc failed.
Wed Sep 22 23:56:05 CEST 2004 Daniel Veillard <daniel@veillard.com>
* threads.c uri.c: couple of memory fixes from Mark Vakoc reported
by Purify on Windows.
Mon Sep 20 22:01:47 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmllint.c: added --timing --copy timing for the copy
* vms/build_libxml.com: applied patch from Craig Berry
to build with recent releases
Fri Sep 17 21:25:33 PDT 2004 William Brack <wbrack@mmm.com.hk>
* nanohttp.c, include/libxml/nanohttp.h: added the routine
xmlNanoHTTPContentLength to the external API (bug151968).
* parser.c: fixed unnecessary internal error message (bug152060);
also changed call to strncmp over to xmlStrncmp.
* encoding.c: fixed compilation warning (bug152307).
* tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed
a couple of compilation warnings.
* HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation
warnings; no change to logic.
Fri Sep 17 10:40:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: removed some extern before function code reported by
Kjartan Maraas on IRC
* legacy.c: fixed compiling when configuring out the HTML parser
* Makefile.am: added a declaration for CVS_EXTRA_DIST
* HTMLparser.c: beginning of an attempt at cleaning up the construction
of the HTML parser data structures, current data generate a huge
amount of ELF relocations at loading time.
Fri Sep 17 10:36:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* ChangeLog: applied fix from Stepan Kasal to fix duplication
in the change log and cleanup of space/tabs issues.
Thu Sep 16 13:24:27 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/schemasInternals.h
test/schemas/bug152470_1.* result/schemas/bug152470_1_1*:
Simpified attribute wildcard creation and assignment to get rid
of memory leaks.
Restructured the validation process.
Restructured and expanded parsing of <attributeGroup>.
Added initial handing of xsi:type.
Advanced handling of xsi:nil (should work now for simple types).
Added construction of schemata using xsi:schemaLocation and
xsi:noNamespaceSchemaLocation; this is not enabled, since
no corresponding API exists yet.
Moved the content model to complex type components.
Resolution of types for attributes will look for simple types
only (incl. all the built-in simple types).
Extended parsing of 'anyAttribute'.
Fixed content-type type for complex types if derived from
'anyType' using the short-hand form (see bug # 152470,
submitted by Thilo Jeremias).
* include/libxml/xmlschematypes.h: Cleaned up some comments.
* xstc/xstc.py: Workaround to accomodate case insensitive
test definitions in ms-test.def.xml.
* result/schemas/deter0_0_0.err result/schemas/ns0_0_2.err
result/schemas/ns0_1_2.err: Adapted.
Sat Sep 11 09:04:22 PDT 2004 William Brack <wbrack@mmm.com.hk>
* xmlwriter.c: changed char array initialisation to avoid a
complaint from some compiler(s) (bug 152308)
Thu Sep 9 07:22:11 PDT 2004 William Brack <wbrack@mmm.com.hk>
* encoding.c: applied fixes for the UTF8ToISO8859x transcoding
routine suggested by Mark Itzcovitz
Wed Sep 8 22:50:27 CEST 2004 Daniel Veillard <daniel@veillard.com>
* valid.c xmlsave.c: fixed 2 problems raised by #152140, one
which is that notation not in the internal subset should
not be saved, and the second more nasty on an error saving
NOTATIONs, if there is a proof that nobody uses notations !
Wed Sep 8 11:04:27 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/xmlschemas.h: Added the function
xmlSchemaValidateOneElement to the XML Schema validation API,
as proposed by Jeffrey Fink - see bug # 152073.
Tue Sep 7 11:10:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in doc/Makefile.am xstc/Makefile.am: some cleanup
checking for xmllint and xsltproc in configure.in, fixed
make dist w.r.t. the new xstc subdir.
* doc/*: rebuilt
Mon Sep 6 16:42:59 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/xstc.py: Changed to finally validate instance documents.
Mon Sep 6 16:04:01 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xstc/Makefile.am Makefile.am: integrated to "make valgrind",
heavy ... weight 250MB of VM !
Mon Sep 6 14:54:39 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xstc/Makefile.am xstc/xstc-to-python.xsl xstc/xstc.py Makefile.am:
more cleanup in integrating the xstc testsuite
Mon Sep 6 13:56:28 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in xstc/.cvsignore xstc/Makefile.am:
starting to integrate the xstc suite in the normal regression
tests
Mon Sep 6 13:14:11 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/sun-test-def.xml: The "tsDir" attribute was not
set correctly.
Mon Sep 6 11:52:50 CEST 2004 Daniel Veillard <daniel@veillard.com>
* check-xinclude-test-suite.py: when output and expected do not match
exactly run diff to put the differences in the log c.f. #148691
Mon Sep 6 11:17:35 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xstc/xstc-to-python.xslt xstc/ms-test-def.xml xstc/nist-test-def.xml
xstc/sun-test-def.xml: Initial release of generation files to
create python test scripts, which will run the W3C XML Schema Test
Collection. The ms-test-def.xml and sun-test-def.xml files
were extracted from the online HTML XSTC results [1], since they did
not exist for the SUN tests, and only partially did exist for the
MS tests. The NIST definition file was created by concatenation
of the existing definition files for each single datatype.
The stylesheet "xstc-to-python.xslt" should be run against the
definition files to produce the python scripts.
[1] "http://www.w3.org/XML/2001/05/xmlschema-test-collection/
results-master.html"
Fri Sep 3 20:29:59 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c include/libxml/schemasInternals.h
include/libxml/xmlerror.h: Fixed a seg fault in xmlGetQNameProp:
a format argument was missing.
Fixed wrong assignment of the owner of a wildcard in
xmlSchemaBuildAttributeValidation (in the shorthandform of
<complexType>; this caused a seg fault, due to a double-free
of the wildcard.
Added a check for circular attribute group references.
Added a check for circular model group definition references.
Fixed a dublicate xmlParserErrors enum value - see bug #151738.
Fri Sep 3 10:08:13 PDT 2004 William Brack <wbrack@mmmm.com.hk>
* xmlstring.c: modified comments on xmlGetUTF8Char in
response to bug 151760 (no change to logic)
Tue Aug 31 09:46:18 PDT 2004 William Brack <wbrack@mmm.com.hk>
* xmlstring.c: fixed error reported on the list caused by
my last change
Tue Aug 31 15:41:52 CEST 2004 Daniel Veillard <daniel@veillard.com>
* NEWS configure.in doc/*: release of libxml2-2.6.13
Tue Aug 31 14:14:30 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: fixing #151456, an encoding error could generate
a serialization loop.
Tue Aug 31 11:34:04 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am: also produce a tar ball with just the sources
* xmllint.c: added --path option and --load-trace options to
xmllint, RFE #147740 based on xsltproc versions
* doc/xmllint.* doc/*: updated the man page and rebuilt
Tue Aug 31 10:37:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemastypes.c: "" is a valid hexbinary string dixit xmlschema-dev
* result/schemas/hexbinary_0_1.err test/schemas/hexbinary_1.xml:
update the test.
* test/ns5 result//ns5*: added a test for the namespace bug fixed
in previous commit.
* Makefile.am: added a message in the regression tests
Mon Aug 30 23:36:21 PDT 2004 William Brack <wbrack@mmm.com.hk>
* SAX2.c: fixed bug introduced during OOM fixup causing problems
with default namespace when a named prefix with the same href
was present (reported on the mailing list by Karl Eichwalder.
* xmlstring.c: modified xmlCheckUTF8 with suggested code from
Julius Mittenzwei.
* dict.c: added a typecast to try to avoid problem reported by
Pascal Rodes.
Mon Aug 30 12:45:46 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed a bug in xmlSchemasCheckFacet, which did
not create a computed value on a facet and thus crashed during
validation of instances.
Expanded validity checks for min/maxOccurs attributes.
Expanded validity checks for the value of the attribute "form".
Fri Aug 27 18:32:24 PST 2004 William Brack <wbrack@mmm.com.hk>
* xmlstring.c: fixed a problem with xmlCheckUTF8 reported on the
mailing list by Julius Mittenzwei
Fri Aug 27 00:13:39 CEST 2004 Daniel Veillard <daniel@veillard.com>
* libxml.spec.in: added BuildRequires: zlib-devel, fixes
Red Hat bug #124942
Thu Aug 26 12:27:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: remove a warning on Solaris
* xmlschemastype.c: fix a crashing bug #151111
Wed Aug 25 22:20:18 CEST 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* test/schemas/import-bad-1_0.imp: Added missing test file.
* xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h:
Substituted the obsolete xmlSchemaValidError(s) for xmlParserErrors
- see #150840.
Changed the import of schemas to allow failure of location
of a resource to be imported.
* result/schemas/all_* result/schemas/any3_0_0.err
result/schemas/choice_* result/schemas/import1_0_0.err
result/schemas/list0_0_1.err result/schemas/list0_1_0.err
result/schemas/list0_1_1.err result/schemas/ns0_0_2.err
result/schemas/ns0_1_2.err: Adapted regression test results.
Tue Aug 24 20:49:15 MDT 2004 John Fleck <jfleck@inkstain.net>
* doc/tutorial/xmltutorial.xml, xmltutorial.pdf, *.html
fix Xpath memory leak (thanks to sKaBoy and William Brack)
Tue Aug 24 21:10:59 CEST 2004 Igor Zlatkovic <igor@zlatkovic.com>
* parser.c: fixed path problem in DTD loading reported by
Sameer Abhinkar
Tue Aug 24 16:40:51 CEST 2004 Igor Zlatkovic <igor@zlatkovic.com>
* win32/configure.js: added support for version extra
* win32/Makefile.*: upgraded to zlib 1.2.1
Mon Aug 23 14:33:54 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in: removing -O -g from default gcc flags #150828
Sun Aug 22 16:26:46 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in doc/* NEWS: preparing 2.6.12 release, updated and
and rebuilt the docs.
Sun Aug 22 16:07:20 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/libxml.c: fix a problem on last commit
Sun Aug 22 15:16:53 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmllint.c xpath.c include/libxml/xpath.h
include/libxml/xpathInternals.h python/libxml.c
python/libxml_wrap.h: trying to remove some warning when compiling
on Fedora Core 3 and 64bits
Sat Aug 21 0:035:10 CET 2004 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: modified parsing of <list>, <union>, <restriction>,
<sequence>, <choice>, <include>, <import>.
Fixed schema defaults (elementFormDefault, etc.) for included
schemas.
Fixed a bug which reported attributes as invalid on
elements declarations with the built-in type 'anyType'.
Added "lax" validation of the content of elements of type
'anyType'.
Fixed: element declarations with the same name were treated
as duplicate if located in the subtree of <choice> -> <sequence>.
(This was bug 150623, submitted by Roland Lezuo)
Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed
by Igor Kapitanker. (This was bug 150647, submitted by Igor
Kapitanker)
* xmlschemastypes.c: Changed the type of anyType to
XML_SCHEMAS_ANYTYPE.
* include/libxml/xmlerror.h: Added schema parser errors.
* result/schemas/bug145246_0_0*
result/schemas/extension1_0_2.err: Changed test results.
* result/schemas/ct-sc-nobase_0_0*
result/schemas/facet-whiteSpace_0_0*
result/schemas/import1_0_0* result/schemas/import2_0_0*
result/schemas/include2_0_0* result/schemas/include3_0_0*
result/schemas/restriction-attr1_0_0*
result/schemas/seq-dubl-elem1_0_0*
result/schemas/xsd-list-itemType_0_0*: Added new rest results.
test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0*
test/schemas/facet-whiteSpace_0* test/schemas/import1_0*
test/schemas/import2_0* test/schemas/include2_0*
test/schemas/include3_0* test/schemas/restriction-attr1_0*
test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd
test/schemas/xsd-list-itemType_0*: Added new tests and missing
files.
Fri Aug 20 18:51:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in: a bit of cleanup and a extra variable for
CVS dist
Thu Aug 19 07:44:07 MDT 2004 John Fleck <jfleck@inkstain.net>
* doc/xmllint.xml, xmllint.1, xmllint.html:
Edit and rebuild the man pages with Daniel's C14 update
Wed Aug 18 19:15:27 PDT 2004 William Brack <wbrack@mmm.com.hk>
* parser.c: fixed missing line numbers on entity as reported
on the list by Steve Cheng
Wed Aug 18 14:04:31 PDT 2004 William Brack <wbrack@mmm.com.hk>
* configure.in globals.c include/libxml/xmlversion.h.in
include/libxml/xmlwin32version.h.in: added some code to
include the CVS ChangeLog version in the xmlParserVersion
string (printed by xmllint with --version)
Wed Aug 18 11:14:06 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c include/libxml/xmlschemas.h python/generator.py
python/libxml.c python/libxml_wrap.h python/types.c
python/tests/schema.py python/tests/Makefile.am: Applied patch
from Torkel Lyng to add Schemas support to the Python bindings
and extend the schemas error API, registered a new test.
* doc/* elfgcchack.h: rebuilt to regenerate the bindings
Mon Aug 16 14:36:25 CEST 2004 Daniel Veillard <daniel@veillard.com>
* debugXML.c: added help for new set shell command
* xinclude.c xmllint.c xmlreader.c include/libxml/parser.h:
added parser option to not generate XInclude start/end nodes,
added a specific option to xmllint to test it fixes #130769
* Makefile.am: regression test the new feature
* doc/xmllint.1 doc/xmllint.xml: updated man page to document option.
Mon Aug 16 02:42:30 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: small typo pointed out by Mike Hommey
* doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved
the --c14n description, c.f. #144675 .
* nanohttp.c nanoftp.c: applied a first simple patch from
Mike Hommey for $no_proxy, c.f. #133470
* parserInternals.c include/libxml/parserInternals.h
include/libxml/xmlerror.h: cleanup to avoid 'error' identifier
in includes #137414
* parser.c SAX2.c debugXML.c include/libxml/parser.h:
first version of the inplementation of parsing within
the context of a node in the tree #142359, new function
xmlParseInNodeContext(), added support at the xmllint --shell
level as the "set" function
* test/scripts/set* result/scripts/* Makefile.am: extended
the script based regression tests to instrument the new function.
Sat Aug 14 18:53:08 MDT 2004 John Fleck <jfleck@inkstain.net>
* doc/xmllint.xml, xmllint.html, xmllint.1:
add c14n to man page (man, it's hard to keep up with
Daniel!)
Sat Aug 14 18:45:38 MDT 2004 John Fleck <jfleck@inkstain.net>
* doc/xmllint.xml, xmllint.html, xmllint.1:
add pattern, walker, maxmem, output and xmlout to man page
fixes #144675
Sun Aug 15 00:41:12 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmllint.c: added a --c14n option to canonicalize the output
should close the RFE #143226
Sat Aug 14 23:50:10 CEST 2004 Daniel Veillard <daniel@veillard.com>
* tree.c: Dodji pointed out a bug in xmlGetNodePath()
* xmlcatalog.c: applied patch from Albert Chin to add a
--no-super-update option to xmlcatalog see #145461
and another patch also from Albert Chin to not crash
on -sgml --del without args see #145462
* Makefile.am: applied another patch from Albert Chin to
fix a problem with diff on Solaris #145511
* xmlstring.c: fix xmlCheckUTF8() according to the suggestion
in bug #148115
* python/libxml.py: apply fix from Marc-Antoine Parent about
the errors in libxml(2).py on the node wrapper #135547
Sat Aug 14 13:18:57 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am: added a dumb rule to able to compile tst.c
when people submit a sample test program
* xmlschemas.c: applied small patch from Eric Haszlakiewicz
to document xmlSchemasSetValidErrors() limitations, #141827
* error.c: Add information in generic and structured error
setter functions that this need to be done per thread #144308
* xmlsave.c: fixed bug whith missing NOTATION(s) serialization
bug #144162
* doc/xmllint.xml: typo fix #144840
Tue Aug 10 07:19:31 PDT 2004 Daniel Veillard <daniel@veillard.com>
* configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c
include/libxml/schemasInternals.h include/libxml/xmlerror.h
include/libxml/xmlschemastypes.h: applied Schemas patches
from Kasimier Buchcik
* test/ result/ bug141333* annot-err* any[1-4]* bug145246*
element-err* element-minmax-err* include1* restrict-CT-attr-ref*:
lot of new tests for things fixed by the patch
Fri Aug 6 09:22:34 PDT 2004 William Brack <wbrack@mmm.com.hk>
* valid.c: fixed my mis-handling of External ID on last
change.
Wed Aug 4 23:40:21 PDT 2004 William Brack <wbrack@mmm.com.hk>
* valid.c: changed the parsing of a document's DTD to use
the proper base path (bug 144366)
Wed Aug 4 16:58:08 CEST 2004 Daniel Veillard <daniel@veillard.com>
* Makefile.am config.h.in configure.in python/Makefile.am:
applied a patch from Gerrit P. Haase to get python bindings
on Cygwin
Tue Aug 3 15:08:22 PDT 2004 William Brack <wbrack@mmm.com.hk>
* include/libxml/valid.h: elaborated on description of
xmlValidityWarningFunc and xmlValidityErrorFunc (bug
144760)
* xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h:
minor fixes to comments for doc rebuilding errors.
* doc/*.html: rebuilt the docs
Tue Aug 3 23:59:23 CEST 2004 Daniel Veillard <daniel@veillard.com>
* doc/ChangeLog.xsl doc/downloads.html doc/xml.html doc/*:
fixes documentation glitches raised by Oliver Stoeneberg
Tue Aug 3 09:42:31 PDT 2004 William Brack <wbrack@mmm.com.hk>
* tree.c: fixed problem with memory leak on text nodes in DTD
(bug 148965) with patch provided by Darrell Kindred
Tue Aug 3 08:14:44 PDT 2004 William Brack <wbrack@mmm.com.hk>
* HTMLparser.c: fixed initialisation problem for htmlReadMemory
(bug 149041)
Sat Jul 31 11:01:33 PDT 2004 William Brack <wbrack@mmm.com.hk>
* doc/buildDocBookCatalog: enhanced per bug 119876. Further
info posted to the mailing list.
Sat Jul 31 09:12:44 PDT 2004 William Brack <wbrack@mmm.com.hk>
* SAX2.c, encoding.c, error.c, parser.c, tree.c, uri.c, xmlIO.c,
xmlreader.c, include/libxml/tree.h: many further little changes
for OOM problems. Now seems to be getting closer to "ok".
* testOOM.c: added code to intercept more errors, found more
problems with library. Changed method of flagging / counting
errors intercepted.
Fri Jul 30 13:57:55 CEST 2004 Daniel Veillard <daniel@veillard.com>
* tree.c: applied a couple of patch one from Oliver Stoeneberg
and another one from Rob Richards fixing #148448
Thu Jul 29 13:20:28 CEST 2004 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: 1 line patch, apparently htmlNewDoc() was not
setting doc->charset.
Thu Jul 29 00:05:58 PDT 2004 William Brack <wbrack@mmm.com.hk>
* SAX2.c, tree.c, uri.c, xmlIO.c, xmlreader.c: further
fixes for out of memory condition, mostly from Olivier
Andrieu.
* testOOM.c: some further improvement by Olivier, with
a further small enhancement for easier debugging.
Tue Jul 27 00:34:07 PDT 2004 William Brack <wbrack@mmm.com.hk>
* SAX2.c, error.c, parser.c, tree.c, xmlreader.c:
implemented patches supplied by Olivier Andrieu
(bug 148588), plus made some further enhancements, to
correct some problems with out of memory conditions.
* testOOM.c: improved with patches from Olivier Andrieu
Mon Jul 26 11:03:18 PDT 2004 William Brack <wbrack@mmm.com.hk>
* tree.c: put in patch for Windows buffer re-allocation
submitted by Steve Hay (bug 146697)
Sun Jul 25 17:18:39 PDT 2004 William Brack <wbrack@mmm.com.hk>
* xinclude.c: added some code to check, when an include is
done, whether the requested URL gets mapped to some other
location (e.g. with a catalog entry) and, if so, take care
of the xml:base properly (bug 146988)
Sun Jul 25 14:02:24 PDT 2004 William Brack <wbrack@mmm.com.hk>
* error.c: fixed to assure user data param is set correctly
when user structured error handler is called (bug 144823)
Thu Jul 22 10:14:48 PDT 2004 William Brack <wbrack@mmm.com.hk>
* xmlreader.c: fixed problem with reader state after
processing attributes (bug 147993)
Wed Jul 21 17:04:27 HKT 2004 William Brack <wbrack@mmm.com.hk>
* configure.in, Makefile.am: put in an auto* check for the
path to perl (if it exists), and modified make Timingtests
to use that path instead of just executing the dbgenattr.pl
script (bug 148056)
Fri Jul 16 18:36:33 HKT 2004 William Brack <wbrack@mmm.com.hk>
* python/generator.py: added a check on the argument for some
classes (e.g. xmlDoc and xmlNode) to prevent a segfault (as
reported on the list). Further enhancement should be done
to auto-create the appropriate object.
* python/libxml.c: minor fix for a warning message; added a
routine, currently not used, to report the description of a
PyCObject.
* python/libxml2class.txt: regenerated
Fri Jul 16 11:01:40 CEST 2004 Daniel Veillard <daniel@veillard.com>
* catalog.c test/catalogs/white* result/catalogs/white*:
applied patches from Peter Breitenlohner to fix handling
of white space normalization in public ids and add tests
Tue Jul 13 17:24:13 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlmemory.c: applied a small fix from Steve Hay
Tue Jul 13 23:02:19 HKT 2004 William Brack <wbrack@mmm.com.hk>
* xpath.c: Added code to in PREDICATE/FILTER handling to reset
the xpath context document pointer (part of fix to libxslt
bug 147445)
Tue Jul 13 00:14:08 HKT 2004 William Brack <wbrack@mmm.com.hk>
* python/libxml.py: ran 'expand' on the file to get rid of mixture
of tabs and spaces (bug 147424)
Sun Jul 11 22:38:29 HKT 2004 William Brack <wbrack@mmm.com.hk>
* python/drv_libxml.py: added an encoding "special comment" to avoid
warning message in python2.3 (bug 146889)
* Makefile.am, python/Makefile.am, python/tests/Makefile.am: small
change to make "make tests" a little quieter (MAKEFLAGS+=--silent)
* xpath.c: enhanced to take advantage of current libxslt handling
of tmpRVT. Fixes bug 145547.
Fri Jul 9 14:02:54 CEST 2004 Daniel Veillard <daniel@veillard.com>
* libxml.h uri.c: fixed a couple of problems in the new
elfgcchack.h trick pointed by Peter Breitenlohner
Wed Jul 7 00:45:48 CEST 2004 Daniel Veillard <daniel@veillard.com>
* elfgcchack.h doc/apibuild.py doc/libxml2-api.xml: fixed a bug
which prevented building with --with-minimum
Mon Jul 5 19:43:51 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in doc/*: releasing 2.6.11, updated and regenerated the
docs
Mon Jul 5 18:43:47 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: make the push interfaces synchronous
* python/tests/sync.py: added a specific test
* python/tests/Makefile.am doc/examples/Makefile.am
doc/examples/index.py: added the new test, cleaning up
"make tests" output
Mon Jul 5 15:09:17 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: applied patch from Kasimier to fix some Relax-NG
datatype facet problem with recent changes.
Sat Jul 3 11:31:02 HKT 2004 William Brack <wbrack@mmm.com.hk>
* python/libxml.c: Changed the number of XPath extension functions
allowed to be variable-length (patch supplied by Marc-Antoine
Parent, bug 143805). Added code to "unregister" the functions
when the parser cleanup takes place.
Fri Jul 2 14:22:14 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xmlmemory.c python/libxml.c python/libxml2-python-api.xml:
some updates with memory debugging facilities while messing
with libxslt python bindings
Thu Jul 1 14:53:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/libxml.c python/generator.py python/libxml.py
python/libxml2-python-api.xml python/libxml2class.txt:
applied patch from St