| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
We also add a maxTemplateVars parameter
|
| |
|
|
|
|
| |
/usr/bin/libtool may not be in all installations.
|
|
|
|
|
| |
We could accidentally hit an off by one string array access
due to improper loop exit when parsing patterns
|
| |
|
|
|
|
| |
See http://people.gnome.org/~walters/docs/build-api.txt
|
| |
|
|
|
|
|
| |
As pointed out by Roumen Petrov those check were wrong (isinf and isnan are
macros) and they are not used in the code either. Thus remove the checks.
|
|
|
|
|
|
| |
Remove deprecated file (leftover from autoconf-2.13). Change AC_DEFINE into
3-arg versions to provide the comments for config.h. Bump autoconf version to
2.59 (same as libxml).
|
|
|
|
| |
This gives us a much less noisy build and makes error stand out a lot more.
|
|
|
|
|
| |
Fixup commit 0d6713d715509da1fec27bec220d43aa4fc48d0f that forgot to create the
local variable of the required type.
|
| |
|
|
|
|
|
| |
Pointed out by Ralf Junker <ralfjunker@gmx.de>, and added his
reproducer to the regression tests
|
|
|
|
| |
Also adds a regression test provided by Michael Ludwig <milu71@gmx.de>
|
|
|
|
|
|
|
|
|
| |
Ralf Junker <ralfjunker@gmx.de> pointed out a ouple of leaks in the
Windows locale support:
* libxslt/xslt.c: add cleanup code for the mutex in xsltUninit()
* libxslt/xsltlocale.c libxslt/xsltlocale.h: add a new cleanup function
xsltFreeLocales
* libxslt/extensions.c: add a call to xsltFreeLocales in xsltCleanupGlobals
|
|
|
|
|
|
|
| |
As pointed out by Chris Evans <scarybeasts@gmail.com> it's better
security wise to not expose object addresses directly, use a diff
w.r.t. the document root own address to avoid this
* libxslt/functions.c: fix IDs generation code
|
| |
|
|
|
|
| |
speedup optimization, it should not change semantic at all
|
| |
|
|
|
|
| |
Comments are also allowed
|
| |
|
|
|
|
| |
Pattern matching with predicates
|
| |
|
|
|
|
| |
Fix an off by one bug in Var pop-up in the compiler
|
|
|
|
|
| |
and adds a test case for the problem,
also adding a .gitignore cleanup
|
| |
|
|
|
|
| |
exsltconfig.h should be addressed differently
|
|
|
|
|
|
| |
This patch also tracks who called a template and how often. Based on that the
output of xsltproc --profile now also contains a gprof alike callgraph. If available
posix monotonic clocks are the preferred way to get timestamps.
|
|
|
|
|
| |
Michael pointed out a number of errors, inaccuracies or
unclear points with new wording.
|
|
|
|
|
| |
* python/generator.py: use xml.sax instead, patch based on similar
fix for libvirt by Cole Robinson <crobinso@redhat.com>
|
|
|
|
|
|
| |
libxslt python module wasn't linked with python library
* configure.in python/Makefile.am: detect and add appropriate linking
flags
|
|
|
|
|
| |
* NEWS configure.in doc/xslt.html: update for 1.1.26
* doc//*: regenerate
|
|
|
|
|
|
| |
* doc/symbols.xml libxslt/transform.c libxslt/transform.h:
exports the entry point explicitely since lxml depends on it,
also fixed some white spaces problems.
|
|
|
|
|
|
| |
* libxslt/templates.c: when copying attributes coming from the
stylesheet IDness was not asserted, though with xml:id this is now
possible.
|
|
|
|
|
|
| |
* libxslt/extensions.c: there were still cases where the normal
code path could led to trying to mtake again the extension lock
go over all entry points of the module and clean things up
|
|
|
|
|
| |
* libxslt/preproc.c: handle the case where xsl:template parent
is not an element.
|
|
|
|
|
|
|
| |
* NEWS configure.in doc/xslt.html doc/news.html: update of version
and description
* doc/libxslt-api.xml doc/libxslt-refs.xml doc/libxslt.xsa
libxslt/xsltwin32config.h doc/EXSLT/*: regenerated
|
|
|
|
|
|
| |
* libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c
libexslt/strings.c: provide registration function for an XPath
context directly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem is that "@node()", "attribute::node()", "child::node()" and
"node()" are all handled in different code paths and only the latter
works.
Then, I noticed that the handling of match="child::name" is wrong. It
matches the parents of <name> elements although it should be treated
exactly like match="name". So the whole XSLT_OP_CHILD stuff is
unneeded.
I also found that xsltScanName behaves a bit strange with regard to
':' characters. It doesn't parse an XML Name like the documentation
says. It's better to use xsltScanNCName instead.
Another minor issue is that the parser currently allows invalid
expressions like match="element*" because of lines 1745-1747 in
pattern.c in trunk.
* libxslt/pattern.c: fix all those problems
* tests/REC/Makefile.am tests/REC/test-5.2-19* tests/REC/test-5.2-20*
tests/REC/test-5.2-21*: add test cases to the regression suite
|
|
|
|
|
| |
* libxslt/xsltlocale.c: only affects the glibc locale code, adds
the "eo" language code and also try locales without territory
|
|
|
|
|
|
|
| |
* libxslt/transform.c: as Daniel Benson <danielbenson@google.com>
pointed out the use of xmlAddChild could lead to troubles in
case of error or merging. make a wrapped xsltAddChild() and
fix the existing uses.
|
|
|
|
|
|
| |
* libxslt/transform.c: change the way we copy attributes, use a function
allowing id detection, and avoid an unecessary string generation/free
in most cases. Also cleanup a number of space and tabs issues.
|
|
|
|
|
|
| |
* libxslt/xsltInternals.h libexslt/functions.c: add a function call
counting in the transformation context, and test/increment/decrement
in exsltFuncFunctionFunction enter and exit
|
|
|
|
|
| |
* libxslt/namespaces.c: fix xsltGetSpecialNamespace fallback with
uninitialized prefix string
|
|
|
|
|
|
|
| |
* libxslt/transform.c: process encoding like other imported output
properties
* tests/docs/Makefile.am tests/docs/bug-169.xml tests/general/Makefile.am
tests/general/bug-169.*: add a specific regression test
|
| |
|
|
|
|
|
|
|
| |
* libxslt/xslt.c: copy the embedded stylesheet instead of cutting it
out of the source tree and make sure to copy namespaces in scope too
* tests/REC/Makefile.am tests/REC/stand-2.7-[23]*: add the 2 tests
case to the regression suite
|
|
|
|
|
| |
* libxslt/pattern.c: fix a corner case and avoid a memory leak on
error
|
|
|
|
|
| |
* libxslt/xslt.c: when a stylesheet embbeds a DTD the compilation
process could get seriously wrong
|