summaryrefslogtreecommitdiff
path: root/schematron.c
Commit message (Collapse)AuthorAgeFilesLines
* schematron: Use logical andNick Wellnhofer2023-02-221-2/+2
|
* Don't use sizeof(xmlChar) or sizeof(char)Nick Wellnhofer2022-09-011-1/+1
|
* Consolidate private header filesNick Wellnhofer2022-08-261-0/+2
| | | | | | | | | | | 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.
* Add configuration flag for XPointer locations supportNick Wellnhofer2022-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* Fix --without-debug buildNick Wellnhofer2022-03-091-3/+4
| | | | | | Broken in commit 2cc93f77. Fixes #354.
* Add let variable tag supportOliver Diehl2022-03-021-1/+169
|
* Add value-of tag supportOliver Diehl2022-03-021-2/+105
|
* Replaced tabs by 4 spacesOliver Diehl2022-03-021-524/+524
|
* Remove elfgcchack.hNick Wellnhofer2022-02-201-2/+1
| | | | | The same optimization can be enabled with -fno-semantic-interposition since GCC 5. clang has always used this option by default.
* Fix typosNick Wellnhofer2020-03-081-2/+2
| | | | Resolves #133.
* Large batch of typo fixesJared Yanovich2019-09-301-4/+4
| | | | Closes #109.
* Fix some format string warnings with possible format string vulnerabilityDavid Kilzer2016-05-231-1/+1
| | | | | | | | 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.
* Fix typos: dictio{ nn -> n }ar{y,ies}Jan Pokorný2016-04-151-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Fix compilation with minimum and schematron.Nicolas Le Cam2014-02-101-0/+2
| | | | | Add a hard dependancy on tree. Disable write and close callbacks when output is disabled.
* Big space and tab cleanupDaniel Veillard2012-09-111-17/+17
| | | | Remove all space before tabs and space and tabs at end of lines.
* * c14n.c debugXML.c doc/examples/io2.c parser.c schematron.cDaniel Veillard2009-06-041-1/+1
| | | | | valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string patch by Christian Persch, fixes #581612
* applied a couple of patches from Martin avoiding some leaks, fixinq QNameDaniel Veillard2008-09-011-1/+1
| | | | | | | | | | | * 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
* applied patch from Tobias Minich to allow plugin schematron errorDaniel Veillard2008-03-141-14/+62
| | | | | | | | | * 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
* fix crash/leaks from xmlSchematronParse due to improper schema documentRob Richards2007-11-131-0/+3
| | | | | | | * schematron.c: fix crash/leaks from xmlSchematronParse due to improper schema document ownership for bug #495215 svn path=/trunk/; revision=3663
* Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159)William M. Brack2007-05-221-0/+4
| | | | | | | | | | | | * 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
* end of first pass on coverity reports. DanielDaniel Veillard2006-03-101-12/+13
| | | | | | | * 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
* remove warnings under Windows.Rob Richards2005-10-071-3/+3
| | | | * schematron.c xmlregexp.c: remove warnings under Windows.
* regenerated fixed a compilation problem some cleanups and one bug fixDaniel Veillard2005-08-231-0/+2
| | | | | | | | * 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
* report improvement more tests DanielDaniel Veillard2005-07-311-6/+41
| | | | | | * schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel
* more bug fixes, improve the error reporting. second test DanielDaniel Veillard2005-07-311-34/+122
| | | | | | * schematron.c: more bug fixes, improve the error reporting. * test/schematron/zvon2* result/schematron/zvon2*: second test Daniel
* fixing the loop bug, fixing schematron text error rendering startedDaniel Veillard2005-07-311-16/+73
| | | | | | | | * 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
* commiting work done on the plane last week-end DanielDaniel Veillard2005-07-301-31/+192
| | | | | | * schematron.c xmllint.c include/libxml/schematron.h: commiting work done on the plane last week-end Daniel
* a lot of small cleanups based on Linus' sparse check output. DanielDaniel Veillard2005-07-281-1/+1
| | | | | | | | | * 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
* started adding schematron to the xmllint tool, the report infrastructureDaniel Veillard2005-07-241-16/+86
| | | | | | * schematron.c xmllint.c: started adding schematron to the xmllint tool, the report infrastructure is gonna be fun. Daniel
* changed xmlPatterncompile signature to pass an int and not an enum sinceDaniel Veillard2005-07-231-0/+1316
* 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