1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +03:00

3055 Commits

Author SHA1 Message Date
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 LIBXML2_2_6_20 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
Kasimier T. Buchcik
8798b735a6 Fixed evaluation of attributes. Actually only attribute at the first level
* pattern.c: Fixed evaluation of attributes. Actually only
  attribute at the first level were evaluated (e.g. "@attr");
  expression like "foo/@attr" always failed.
2005-07-08 19:58:37 +00:00
Kasimier T. Buchcik
85aed6d010 tiny fix in xmlSchemaValidateStream() if a user-provided SAX handler is
* xmlschemas.c: tiny fix in xmlSchemaValidateStream() if a
  user-provided SAX handler is given.
2005-07-08 18:06:18 +00:00
Daniel Veillard
f0af8ec616 fix some potential leaks in error cases. added --sax, to allow testing of
* 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()
Daniel
2005-07-08 17:27:33 +00:00
Kasimier T. Buchcik
72d3adc42f Changed xmlSchemaValidateFile() to use xmlSchemaValidateStream()
* xmlschemas.c: Changed xmlSchemaValidateFile() to use
  xmlSchemaValidateStream() internally.
2005-07-08 16:43:37 +00:00
Daniel Veillard
cdc82737e2 added the missing entity to the document internal subset to avoid errors
* 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
Daniel
2005-07-08 15:04:06 +00:00
William M. Brack
f810de0436 fixed problem with free on dupl attribute in dtd (bug309637). added
* parser.c: fixed problem with free on dupl attribute in
  dtd (bug309637).
* test/errors/attr3.xml, result/errors/attr3.*: added
  regression test for this
2005-07-06 22:48:41 +00:00
William M. Brack
ca15a54652 Reformatted on Windows, then re-committed to CVS 2005-07-06 20:41:33 +00:00
William M. Brack
12baaecdb7 fix #define for windows 2005-07-06 20:22:00 +00:00
William M. Brack
d37988ac06 try again to fix file format for Windows
* win32/Makefile.msvc: try again to fix file format for Windows
2005-07-06 20:12:11 +00:00
William M. Brack
fa8d5d962e removed spurious ^M added check for option O_BINARY changed sticky tag to
* 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'
2005-07-06 19:44:03 +00:00
William M. Brack
8014844814 (changed to -kb) 2005-07-06 19:41:56 +00:00
William M. Brack
0357a308b8 excluded content string check for XML_ELEMENT_DECL in
* debugXML.c: excluded content string check for XML_ELEMENT_DECL
  in xmlCtxtGenericNodeCheck
* runtest.c: changed "open" calls to include O_BINARY for Windows
2005-07-06 17:39:14 +00:00
Daniel Veillard
abac41e829 fixing bug #166777 (and #169838), it was an heuristic in areBlanks which
* 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
Daniel
2005-07-06 15:17:38 +00:00
Kasimier T. Buchcik
6d30ff2c08 Fixed bug #309338, reported by Kupriyanov Anotolij. Added a regression
* xmlschemastypes.c: Fixed bug #309338, reported by Kupriyanov
  Anotolij.
* test/schemas/bug309338* result/schemas/bug309338*:
  Added a regression test for the above bug.
2005-07-06 11:44:51 +00:00
Daniel Veillard
87b3046bc1 first steps toward a testsuite dist fixed bug #307870 Daniel
* Makefile.am: first steps toward a testsuite dist
* SAX2.c include/libxml/xmlerror.h: fixed bug #307870
Daniel
2005-07-05 14:04:36 +00:00
Kasimier T. Buchcik
87db1cf6d1 Tiny portability adjustment for win. Added runtest.exe and runsuite.exe to
* runsuite.c runtest.c: Tiny portability adjustment for win.
* win32/Makefile.*: Added runtest.exe and runsuite.exe to
  be created.
2005-07-05 10:40:52 +00:00
Daniel Veillard
91fe3edcaa Windows fixup++, Daniel 2005-07-04 18:13:15 +00:00
Daniel Veillard
cfbb0dd89a Trying to fix CR/LF troubles, Daniel 2005-07-04 17:12:01 +00:00
Daniel Veillard
73c0f71a58 atempt++, Daniel 2005-07-04 16:53:16 +00:00
Daniel Veillard
f7d1660d80 windows_sucks++ , Daniel 2005-07-04 16:47:58 +00:00
Daniel Veillard
9e09c1441f Yet Another Windows Debugging Remote Patch From CVS Hell, Daniel 2005-07-04 16:31:10 +00:00
Daniel Veillard
89074392a2 One more fixup, Daniel 2005-07-04 16:24:31 +00:00