1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
Commit Graph

3077 Commits

Author SHA1 Message Date
Daniel Veillard
c4ff83279c applied patch from Rob Richards fixing xmlTextReaderGetAttribute Daniel
* xmlreader.c: applied patch from Rob Richards fixing
  xmlTextReaderGetAttribute
Daniel
2005-08-08 07:45:23 +00:00
Daniel Veillard
d2755a8134 fixed an uninitialized memory access spotted by valgrind Daniel
* HTMLparser.c: fixed an uninitialized memory access spotted by
  valgrind
Daniel
2005-08-07 23:42:39 +00:00
Daniel Veillard
336a8e13bf get rid of the dependancy on a locally installed DTD try to cleanup the
* test/relaxng/docbook_0.xml: get rid of the dependancy on a locally
  installed DTD
* uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to
  cleanup the Path/URI conversion mess, needed fixing in various
  layers and a new API to the uri module which also fixes #306861
* runtest.c: integrated a regression test specific to check the
  URI conversions done before calling the I/O handlers.
Daniel
2005-08-07 10:46:19 +00:00
Daniel Veillard
29f6100e69 small doc fix for #312647 Daniel
* doc/XSLT.html doc/xml.html: small doc fix for #312647
Daniel
2005-08-06 09:07:15 +00:00
Daniel Veillard
c2aa615ccb applied patch from Rob Richards to allow disabling modules in win32, fixes
* win32/configure.js: applied patch from Rob Richards to allow
  disabling modules in win32, fixes #304071
Daniel
2005-08-02 11:27:54 +00:00
Daniel Veillard
22eda2bc82 applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181
* python/libxml.c: applied fix from Jakub Piotr Clapa for
  xmlAttr.parent(), closing #312181
Daniel
2005-08-01 05:20:16 +00:00
Daniel Veillard
d541c8f8b4 report improvement more tests Daniel
* schematron.c: report improvement
* test/schematron/zvon* result/schematron/zvon*: more tests
Daniel
2005-07-31 16:49:51 +00:00
Daniel Veillard
5fe95a8fd9 applied patch from Rob Richards to add schematron to the build on Windows
* win32/Makefile.msvc win32/configure.js: applied patch from Rob
  Richards to add schematron to the build on Windows
* test/schematron/zvon3* result/schematron/zvon3*: second test
* test/schematron/zvon10* result/schematron/zvon10*: this is the
  real second test 10 and 2 are swapped.
Daniel
2005-07-31 14:05:18 +00:00
Daniel Veillard
eaecb3eab2 more bug fixes, improve the error reporting. second test Daniel
* schematron.c: more bug fixes, improve the error reporting.
* test/schematron/zvon2* result/schematron/zvon2*: second test
Daniel
2005-07-31 13:43:14 +00:00
Daniel Veillard
c740a17f45 fixing the loop bug, fixing schematron text error rendering started
* schematron.c xmllint.c: fixing the loop bug, fixing schematron
  text error rendering
* Makefile.am result/schematron/* test/schematron/zvon1*.sct:
  started integrating within "make tests"
Daniel
2005-07-31 12:17:24 +00:00
Daniel Veillard
22cce34629 a few first tests from Zvon unfortunately with the old syntax Daniel
* test/schematron/*: a few first tests from Zvon unfortunately
  with the old syntax
Daniel
2005-07-30 21:28:12 +00:00
Daniel Veillard
e70375cd79 commiting work done on the plane last week-end Daniel
* schematron.c xmllint.c include/libxml/schematron.h: commiting
  work done on the plane last week-end
Daniel
2005-07-30 21:09:12 +00:00
Daniel Veillard
db68b74dc7 allows an extra argument to subset the tests big speedup for validation,
* runtest.c: allows an extra argument to subset the tests
* xmlregexp.c: big speedup for validation, basically avoided
  transition creation explosion when removing epsilon transition
Daniel
2005-07-30 13:18:24 +00:00
Daniel Veillard
75e389d4e0 more cleanups based on sparse reports, added "make sparse" Daniel
* Makefile.am globals.c parserInternals.c xmlreader.c xmlunicode.c
  xmlwriter.c: more cleanups based on sparse reports, added
  "make sparse"
Daniel
2005-07-29 22:02:24 +00:00
Daniel Veillard
4ea89f04cc don't output any message on failed resolver lookups, better done by the
* python/libxml.c: don't output any message on failed resolver lookups,
  better done by the python user provided resolver layer.
Daniel
2005-07-29 10:12:45 +00:00
Daniel Veillard
24505b0f5c a lot of small cleanups based on Linus' sparse check output. Daniel
* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
  runsuite.c runtest.c schematron.c testHTML.c testReader.c
  testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
  xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
  small cleanups based on Linus' sparse check output.
Daniel
2005-07-28 23:49:35 +00:00
Daniel Veillard
4cd3b51966 added schematron.h, oops ... Daniel
* include/libxml/Makefile.am: added schematron.h, oops ...
Daniel
2005-07-28 19:28:58 +00:00
Kasimier T. Buchcik
11162b7ce7 Added creation of the content type of xs:anyType. This is needed when
* xmlschemastypes.c: Added creation of the content type of
  xs:anyType. This is needed when trying to extend xs:anyType
  (although it makes no sense to extend it; IMHO the schema
  people should have ruled this out). This was reported
  by Yong Chen to the mailing list.
* xmlschemas.c: Fixed handling of xs:anyType in
  xmlSchemaCheckCOSCTExtends() (reported by Young Chen). Tiny
  adjustment to an error report output.
* test/schemas/extension2* result/schemas/extension2*:
  Added a test case provided by Young Chen.
2005-07-28 00:50:22 +00:00
William M. Brack
38c4b332c4 enhanced xmlBuildRelativeURI to allow the URI and the base to be in
* uri.c: enhanced xmlBuildRelativeURI to allow the URI and the
  base to be in "relative" form
2005-07-25 18:39:34 +00:00
Daniel Veillard
d4501d77ca started adding schematron to the xmllint tool, the report infrastructure
* schematron.c xmllint.c: started adding schematron to the xmllint
  tool, the report infrastructure is gonna be fun.
Daniel
2005-07-24 14:27:16 +00:00
Kasimier T. Buchcik
5c68274c86 Added regression tests (they fail currently), but did not added results
* test/schemas/any6* test/schemas/any7*: Added regression tests
  (they fail currently), but did not added results yet.
2005-07-23 21:28:30 +00:00
Kasimier T. Buchcik
5da6dd3428 Removed the workaround code in xmlSchemaValidateElemWildcard() for the
* xmlschemas.c: Removed the workaround code in
  xmlSchemaValidateElemWildcard() for the <any> wildcard
  with namespace == ##other. Support for such wildcards was
  implemented by Daniel at the automaton level recently, and
  the workaround code iterfered with it.
2005-07-23 21:12:30 +00:00
Daniel Veillard
ed6c54971f changed xmlPatterncompile signature to pass an int and not an enum since
* pattern.c include/libxml/pattern.h: changed xmlPatterncompile
  signature to pass an int and not an enum since it can generate
  ABI compat troubles.
* include/libxml/schematron.h schematron.c: adding the new
  schematron code, work in progress lots to be left and needing
  testing
* include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in
  Makefile.am configure.in: integration of schematron into the
  build
* xpath.c include/libxml/xpath.h: adding flags to control compilation
  options right now just XML_XPATH_CHECKNS.
Daniel
2005-07-23 15:00:22 +00:00
Kasimier T. Buchcik
041c5ffa5c Removed an "internal error" message from xmlSchemaBuildAContentModel()
* xmlschemas.c: Removed an "internal error" message from
  xmlSchemaBuildAContentModel() when an empty model group
  definition is hit.
2005-07-23 14:42:34 +00:00
Kasimier T. Buchcik
627e9a934b Changed xmlCompileStepPattern() and xmlCompileAttributeTest() to handle
* pattern.c: Changed xmlCompileStepPattern() and
  xmlCompileAttributeTest() to handle the "xml" prefix without
  caring if the XML namespace was supplied by the user.
2005-07-22 22:37:35 +00:00
Kasimier T. Buchcik
2c9aac03dc Fixed xmlSchemaPSimpleTypeErr(), which did not output the given string
* xmlschemas.c: Fixed xmlSchemaPSimpleTypeErr(), which did not
  output the given string arguments correctly.
2005-07-21 22:14:12 +00:00
Daniel Veillard
ffa3c74933 applied a patch from Marcus Boerger to fix problems with calling
* error.c globals.c parser.c runtest.c testHTML.c testSAX.c
  threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c
  xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h
  include/libxml/valid.h include/libxml/xmlIO.h
  include/libxml/xmlerror.h include/libxml/xmlexports.h
  include/libxml/xmlschemas.h: applied a patch from Marcus Boerger
  to fix problems with calling conventions on Windows this should
  fix #309757
Daniel
2005-07-21 13:24:09 +00:00
Daniel Veillard
0a119ebe61 an optimization of the char data inner loop, can gain up to 10% in pure
* parser.c: an optimization of the char data inner loop,
  can gain up to 10% in pure SAX2 parsing speed
* xmlschemas.c: applied patch from Kupriyanov Anatolij fixing
  a bug in XML Schemas facet comparison #310893
Daniel
2005-07-20 13:46:00 +00:00
Daniel Veillard
77005e6ff0 fixed the error reporting for not transitions fixed output Daniel
* xmlregexp.c xmlschemas.c: fixed the error reporting for
  not transitions
* result/schemas/any5_0_0* result/schemas/any5_0_2*
  result/schemas/any5_1_0*: fixed output
Daniel
2005-07-19 16:26:18 +00:00
Daniel Veillard
9efc476bb6 fixing bug #172215 about foreign namespaces by adding support for negated
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: fixing
  bug #172215 about foreign namespaces by adding support for
  negated string transitions. Error messages still need to be
  improved.
* test/schemas/any5* result/schemas/any5*: adding regression
  tests for this.
Daniel
2005-07-19 14:33:55 +00:00
Daniel Veillard
365c806eb5 applied patch from Alexander Pohoyda fixing xmlGetNodePath on namespaced
* tree.c: applied patch from Alexander Pohoyda fixing xmlGetNodePath
  on namespaced attributes #310417.
Daniel
2005-07-19 11:31:55 +00:00
Daniel Veillard
dd9b64abc2 --nonet was duplicated daniel
* doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: --nonet was
  duplicated
daniel
2005-07-18 21:59:00 +00:00
Daniel Veillard
a980befc8f fixed xsd:all when used in conjunction with substitution groups adding
* xmlschemas.c: fixed xsd:all when used in conjunction with
  substitution groups
* test/schemas/allsg_* result/schemas/allsg_*: adding specific
  regression tests, strangely missing from NIST/Sun/Microsoft
  testsuites
Daniel
2005-07-18 21:34:03 +00:00
Daniel Veillard
afc05b6871 fixed bug #307508, a bad automata was built but this showed as an
* xmlschemas.c: fixed bug #307508, a bad automata was built but
  this showed as an indeterminist result
Daniel
2005-07-17 06:11:19 +00:00
Daniel Veillard
d369b1387e found the last bug raised by NIST tests in comparing base64 strings,
* xmlschemastypes.c: found the last bug raised by NIST tests in
  comparing base64 strings, result from runsuite:
  ## NIST test suite for Schemas version NIST2004-01-14
  Ran 23170 tests (3953 schemata), no errors
Daniel
2005-07-14 15:54:44 +00:00
Daniel Veillard
99c394d9c5 fixed where xmlMemoryDump() should be called. fixed handling of {0}, \n,
* testRegexp.c: fixed where xmlMemoryDump() should be called.
* xmlregexp.c: fixed handling of {0}, \n, \r and \t, two bugs
  affecting NIST regression tests
Daniel
2005-07-14 12:58:49 +00:00
Daniel Veillard
9202b674b5 applied a patch from Gerrit P. Haase to add module support on cygwin
* configure.in: applied a patch from Gerrit P. Haase to add
  module support on cygwin
Daniel
2005-07-14 09:31:14 +00:00
Daniel Veillard
7d2b323ed6 fixed a potential buffer overrun error introduced on last commit to
* HTMLparser.c: fixed a potential buffer overrun error introduced
  on last commit to htmlParseScript() c.f. #310229
Daniel
2005-07-14 08:57:39 +00:00
William M. Brack
32f0f717d1 Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a
* xpath.c: Changed the behaviour of xmlXPathEqualNodeSetFloat to
  return TRUE if a nodeset with a numeric value of NaN is compared
  for inequality with any numeric value (bug 309914).
2005-07-14 07:00:33 +00:00
Daniel Veillard
da0aa4cfdb applied patch from Marcus Boerger to route relaxng and schemas error
* error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h
  include/libxml/xmlschemas.h: applied patch from Marcus Boerger
  to route relaxng and schemas error messages when using the reader
  through the structured interface if activated.
* elfgcchack.h doc/* testapi.c: rebuilt since this add  new APIs
  to test.
Daniel
2005-07-13 23:07:49 +00:00
Daniel Veillard
358fef4b1e applied UTF-8 script parsing bug #310229 fix from Jiri Netolicky added the
* HTMLparser.c: applied UTF-8 script parsing bug #310229 fix from
  Jiri Netolicky
* result/HTML/script2.html* test/HTML/script2.html: added the test
  case from the regression suite
Daniel
2005-07-13 16:37:38 +00:00
Daniel Veillard
744acfffe5 fixed bug #310105 with http_proxy environments with patch provided by
* nanohttp.c: fixed bug #310105 with http_proxy environments with
  patch provided by Peter Breitenlohner
Daniel
2005-07-12 15:09:53 +00:00
Daniel Veillard
e4aaae2640 Late fixes just for the release, daniel 2005-07-10 23:12:52 +00:00
Daniel Veillard
78dfc9f071 preparing release 2.6.20 removed a compilation problem Daniel
* Makefile.am NEWS configure.in doc/*: preparing release 2.6.20
* xmllint.c: removed a compilation problem
Daniel
2005-07-10 22:30:30 +00:00
Daniel Veillard
1f33c4d61f preparing to make testsuite releases along with code source releases fixed
* xstc/Makefile.am README README.tests Makefile.tests Makefile.am:
  preparing to make testsuite releases along with code source releases
* gentest.py testapi.c: fixed a couple of problem introduced by
  the new Schemas support for Readers
* xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude
  but simple way.
* xmlschemas.c include/libxml/tree.h: fixed a couple of problems
  raised by the doc builder.
* doc/*: made rebuild
Daniel
2005-07-10 21:38:31 +00:00
Daniel Veillard
df4223ece4 fixed a bug introduced on last commit daniel
* xmlschemas.c: fixed a bug introduced on last commit
daniel
2005-07-10 19:52:06 +00:00
Daniel Veillard
f10ae12cb8 fixed a typo pointed by Jeroen Ruigrok increased the APIs for xmlReader
* doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo
  pointed by Jeroen Ruigrok
* include/libxml/xmlreader.h include/libxml/xmlschemas.h: increased
  the APIs for xmlReader schemas validation support
* xmllint.c xmlreader.c xmlschemas.c: xmlReader schemas validation
  implementation and testing as xmllint --stream --schema ...
Daniel
2005-07-10 19:03:16 +00:00
Daniel Veillard
d17760f397 try to avoid conflicts. Daniel
* include/libxml/xmlwin32version.h.in: try to avoid conflicts.
Daniel
2005-07-10 14:12:00 +00:00
Daniel Veillard
971771ef5a fix for #309761 from Dylan Shell added xmlSchemaSAXPlug and
* parser.c: fix for #309761 from Dylan Shell
* xmlschemas.c include/libxml/xmlschemas.h: added xmlSchemaSAXPlug
  and xmlSchemaSAXUnplug generic APIs for SAX Schemas validation.
* xmllint.c: couple of fixes plus added descriptions for --sax and
  --sax1
Daniel
2005-07-09 17:32:57 +00:00
Kasimier T. Buchcik
c306d904c6 Added c-props-correct constraint to check for equal cardinality of
* xmlschemas.c: Added c-props-correct constraint to check
  for equal cardinality of keyref/key.
* include/libxml/xmlerror.h: Added an error code.
2005-07-08 21:37:44 +00:00