kc3-lang/libxml2/schematron.c

Branch :


Log

Author Commit Date CI Message
598ee0d2 2024-06-26 01:18:55 error: Remove underscores from xmlRaiseError
217e9b7a 2024-06-08 12:27:45 clang-tidy: don't return in void functions Found with readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com>
669bd349 2024-06-12 18:20:01 xpointer: Remove support for XPointer locations The latest spec for what it essentially an XPath extension seems to be this working draft from 2002: https://www.w3.org/TR/xptr-xpointer/ The xpointer() scheme is listed as "being reviewed" in the XPointer registry since at least 2006. libxml2 seems to be the only modern software that tries to implement this spec, but the code has many bugs and quality issues. If you configure --with-legacy, old symbols are retained for ABI compatibility.
531d06ad 2023-12-18 22:48:24 error: Stop printing some errors by default Unfortunately, it's long-standing behavior for libxml2 to print all reported errors to stderr by default. This default behavior is now partially disabled. If no error handler is set, only parser and validation errors are passed to a generic error handler or printed to stderr. Other errors are still available via xmlGetLastError and can be captured with a structured error handler.
664db89e 2023-12-18 21:25:28 schematron: Improve error handling Implement xmlSchematronVErr. Handle malloc failure from xmlRaiseError. Stop using xmlGenericError. Remove argument from memory error handler. Use xmlRaiseMemoryError. Remove TODO macro.
a77f9ab8 2023-09-20 16:57:22 globals: Don't include SAX2.h from globals.h
f24ffddb 2023-05-08 23:33:04 Stop using sprintf Switch remaining users to snprintf.
886bf4e6 2023-04-30 15:35:47 Stop calling xmlMemoryDump This was used to check for memory leaks but could potentially create a .memdump file. These days, there are better ways to check for memory leaks.
ae8a12f1 2023-02-22 14:25:29 schematron: Use logical and
2cac6269 2022-09-01 03:14:13 Don't use sizeof(xmlChar) or sizeof(char)
0f568c0b 2022-08-26 01:22:33 Consolidate private header files Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
67070107 2022-04-20 23:17:14 Add configuration flag for XPointer locations support Add a new configuration flag that controls whether the outdated support for XPointer locations (ranges and points) is enabled. --with-xptr-locs # Autotools LIBXML2_WITH_XPTR_LOCS # CMake The latest spec for what it essentially an XPath extension seems to be this working draft from 2002: https://www.w3.org/TR/xptr-xpointer/ The xpointer() scheme is listed as "being reviewed" in the XPointer registry since at least 2006. libxml2 seems to be the only modern software that tries to implement this spec, but the code has many bugs and quality issues. The flag defaults to "off" and support for this extensions has to be requested explicitly. The relevant API functions are deprecated.
8d06ccd4 2022-03-09 22:36:51 Fix --without-debug build Broken in commit 2cc93f77. Fixes #354.
e5cdb02d 2022-01-12 08:54:56 Add let variable tag support
2cc93f77 2022-01-11 14:43:44 Add value-of tag support
85cb388f 2022-01-11 13:51:13 Replaced tabs by 4 spaces
346c3a93 2022-02-20 18:46:42 Remove elfgcchack.h The same optimization can be enabled with -fno-semantic-interposition since GCC 5. clang has always used this option by default.
20c60886 2020-03-08 17:19:42 Fix typos Resolves #133.
2a350ee9 2019-09-30 17:04:54 Large batch of typo fixes Closes #109.
4472c3a5 2016-05-13 15:13:17 Fix some format string warnings with possible format string vulnerability For https://bugzilla.gnome.org/show_bug.cgi?id=761029 Decorate every method in libxml2 with the appropriate LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups following the reports.
bb654feb 2016-04-13 16:56:07 Fix typos: dictio{ nn -> n }ar{y,ies} Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
1af8b7b2 2013-06-14 22:20:37 Fix compilation with minimum and schematron. Add a hard dependancy on tree. Disable write and close callbacks when output is disabled.
f8e3db04 2012-09-11 13:26:36 Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines.
bccae2d2 2009-06-04 11:22:45 * c14n.c debugXML.c doc/examples/io2.c parser.c schematron.c valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string patch by Christian Persch, fixes #581612
074f37e7 2008-09-01 13:38:22 applied a couple of patches from Martin avoiding some leaks, fixinq QName * schematron.c xpath.c: applied a couple of patches from Martin avoiding some leaks, fixinq QName checks in XPath, XPath debugging and schematron code cleanups. * python/tests/Makefile.am python/tests/xpathleak.py: add the specific regression tests, just tweak it to avoid output by default Daniel svn path=/trunk/; revision=3791
c4b0debc 2008-03-14 12:46:42 applied patch from Tobias Minich to allow plugin schematron error * include/libxml/schematron.h include/libxml/xmlerror.h schematron.c: applied patch from Tobias Minich to allow plugin schematron error reporting in the normal error system, should fix #513998 Daniel svn path=/trunk/; revision=3707
b9ba0fac 2007-11-13 20:27:52 fix crash/leaks from xmlSchematronParse due to improper schema document * schematron.c: fix crash/leaks from xmlSchematronParse due to improper schema document ownership for bug #495215 svn path=/trunk/; revision=3663
38d452ac 2007-05-22 16:00:06 Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * encoding.c: Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * include/libxml/xmlversion.h.in: Added check for definition of _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from Wendy Doyle and Mark Rowe, bug #346675) * schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor changes to fix compilation warnings - no change to logic. svn path=/trunk/; revision=3618
11ce4004 2006-03-10 00:36:23 end of first pass on coverity reports. Daniel * runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first pass on coverity reports. Daniel
54a8f67c 2005-10-07 02:33:00 remove warnings under Windows. * schematron.c xmlregexp.c: remove warnings under Windows.
ccb4d41c 2005-08-23 13:41:17 regenerated fixed a compilation problem some cleanups and one bug fix * elfgcchack.h testapi.c doc/*: regenerated * schematron.c: fixed a compilation problem * xmlregexp.c include/libxml/xmlregexp.h: some cleanups and one bug fix * result/expr/base: slightly changes the number of Cons. Daniel
d541c8f8 2005-07-31 16:49:51 report improvement more tests Daniel * schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel
eaecb3ea 2005-07-31 13:43:14 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
c740a17f 2005-07-31 12:17:24 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
e70375cd 2005-07-30 21:09:12 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
24505b0f 2005-07-28 23:49:35 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
d4501d77 2005-07-24 14:27:16 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
ed6c5497 2005-07-23 15:00:22 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