Daniel Veillard [Thu, 26 Oct 2006 13:32:42 +0000 (13:32 +0000)]
preparing release of libxslt-1.1.18, this bumps libxml2 requirement to
* NEWS configure.in doc//*: preparing release of libxslt-1.1.18,
this bumps libxml2 requirement to 1.6.27
* libexslt/date.c libxslt/namespaces.h libxslt/xslt.c
libxslt/xsltInternals.h: cosmetic cleanups to restore the
API extraction
Daniel
Daniel Veillard [Thu, 26 Oct 2006 08:35:34 +0000 (08:35 +0000)]
removed all remaining references to the old Wiki Daniel
* doc//*: removed all remaining references to the old Wiki
Daniel
William M. Brack [Thu, 12 Oct 2006 15:15:26 +0000 (15:15 +0000)]
fixed end-of-month problem in exsltDateCurrent (#359246)
* libexslt/date.c: fixed end-of-month problem in exsltDateCurrent
(#359246)
Daniel Veillard [Thu, 12 Oct 2006 12:40:52 +0000 (12:40 +0000)]
applied patch from Mike Hommey fixing 2 erroneous xmlFree() and adding a
* libxslt/preproc.c: applied patch from Mike Hommey fixing 2
erroneous xmlFree() and adding a message on an unsupported feature
Daniel
Daniel Veillard [Wed, 11 Oct 2006 21:19:49 +0000 (21:19 +0000)]
applied fix for accessor functions of a stylesheet returning pointers to
* python/libxslt-python-api.xml: applied fix for accessor functions
of a stylesheet returning pointers to immutable strings, patch
from #320540
* xsltproc/xsltproc.c: fix the xinclude on stylehseet problem
by adding a new parameter to xsltproc names --xincludestyle
Daniel
Daniel Veillard [Wed, 11 Oct 2006 20:28:25 +0000 (20:28 +0000)]
apply patch from Gary Coady to compile when libxml2 has no xinclude
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when
libxml2 has no xinclude support #319886
* docs/*: renamed Gnome to GNOME fixes #352159
Daniel
Daniel Veillard [Wed, 11 Oct 2006 19:36:45 +0000 (19:36 +0000)]
a missing DESTDIR fix reference to build paths in python module fix the
* libxslt/Makefile.am: a missing DESTDIR
* python/Makefile.am: fix reference to build paths in python module
* libexslt/exsltconfig.h.in libxslt/xsltconfig.h.in: fix the header
comments on version values, the 3 are patches from Peter
Breitenlohner and should fix #340995
Daniel
Daniel Veillard [Wed, 11 Oct 2006 09:16:27 +0000 (09:16 +0000)]
applied cleanup patch from Mikhail Zabaluev which should finish fixing
* libxslt/security.c: applied cleanup patch from Mikhail Zabaluev
which should finish fixing #337486
Daniel
Daniel Veillard [Wed, 11 Oct 2006 07:55:30 +0000 (07:55 +0000)]
applied fix from Shane Corgatelli to pass the full URL when checking
* libxslt/security.c: applied fix from Shane Corgatelli to pass
the full URL when checking security access for network URLs,
should fix bug #359366
Daniel
Daniel Veillard [Mon, 21 Aug 2006 08:46:05 +0000 (08:46 +0000)]
applied patch from Daniel Leidert to fix some typo applied another patch
* doc/xslt.html python/tests/pyxsltproc.py xsltproc/xsltproc.c:
applied patch from Daniel Leidert to fix some typo
* xsltproc.xml xsltproc.1: applied another patch from Daniel Leidert
and regenerated
Daniel
Daniel Veillard [Wed, 16 Aug 2006 15:33:13 +0000 (15:33 +0000)]
--xinclude should also force XInclude processing on the stylesheets
* xsltproc/xsltproc.c: --xinclude should also force XInclude
processing on the stylesheets themselves, raised by Daniel Leidert
Daniel
Kasimier T. Buchcik [Thu, 10 Aug 2006 13:56:20 +0000 (13:56 +0000)]
Fixed restoring the context doc for XPath in xsltForEach(). Eliminated the
* libxslt/transform.c libxslt/variables.c
libxslt/xsltInternals.h: Fixed restoring the context doc
for XPath in xsltForEach(). Eliminated the use of @tmpDoc
of the transformation context.
Kasimier T. Buchcik [Thu, 10 Aug 2006 11:43:22 +0000 (11:43 +0000)]
Added missing QName-validation of some attributes of XSLT-elements. This
* libxslt/preproc.c: Added missing QName-validation of some
attributes of XSLT-elements. This fixes bug #304921, reported
by Frans Englich.
Kasimier T. Buchcik [Thu, 10 Aug 2006 11:37:37 +0000 (11:37 +0000)]
As suggested by Bill, I changed xsltShallowCopyNsNode() to return an
* libxslt/transform.c: As suggested by Bill, I changed
xsltShallowCopyNsNode() to return an xmlNsPtr instead of
an int. The fix of bug #350085 is OK; i.e. the removal
of the call to xsltFreeRVTs() in
xsltApplyStylesheetInternal(). I think I tried to clear
the transformation context as much as possible, in case
it is reused; Daniel informed me on the list that reusing
the context is not intended, so no need anymore to try
to free the fragments immediately after the transformation.
William M. Brack [Wed, 9 Aug 2006 18:22:39 +0000 (18:22 +0000)]
Fixed problem with cleanup of RVT's, should clear bug350085; cleaned up
* libxslt/transform.c: Fixed problem with cleanup of RVT's, should
clear bug350085; cleaned up most warnings (still a problem in
xsltShallowCopyNsNode)
* trivial warning cleanup in libxslt/[extensions.c, namespaces.c,
xslt.c and xsltInternals.h] and libexslt/functions.c
Daniel Veillard [Fri, 4 Aug 2006 13:01:17 +0000 (13:01 +0000)]
*** empty log message ***
Daniel Veillard [Wed, 19 Jul 2006 19:04:52 +0000 (19:04 +0000)]
fix float and boolean XPath conversions try to fix Stephane Bidoul attempt
* python/types.c: fix float and boolean XPath conversions
* libxslt/xsltutils.c: try to fix Stephane Bidoul attempt
at setting XInclude support.
Daniel
William M. Brack [Mon, 17 Jul 2006 18:24:47 +0000 (18:24 +0000)]
; tests/general/bug-41-.xsl and tests/general/bug-43.xsl : call-template
* Updated tests affected by recent library changes -
tests/general/bug-1-.out, tests/general/bug-24-.out,
tests/keys/month.out : (<t></t> now becomes <t/>);
tests/general/bug-41-.xsl and tests/general/bug-43.xsl :
call-template and apply-template, where the template has
no parameter but one is supplied (var should not be affected)
tests/general/bug-145.err : changed error text
Kasimier T. Buchcik [Fri, 14 Jul 2006 16:18:32 +0000 (16:18 +0000)]
Committing again, since I forgot to switch from win to linux linebreaks in
* libxslt/attributes.c libxslt/documents.c
libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
libxslt/templates.h libxslt/transform.c
libxslt/variables.c libxslt/xslt.c
libxslt/xsltInternals.h libxslt/xsltutils.c
libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
libexslt/functions.c libexslt/strings.c:
Committing again, since I forgot to switch from win to linux
linebreaks in the files.
Kasimier T. Buchcik [Fri, 14 Jul 2006 16:10:25 +0000 (16:10 +0000)]
Refactored xsltValueOf(). Changed to use xmlXPathCastToString() directly,
* libxslt/attributes.c libxslt/documents.c
libxslt/functions.c libxslt/keys.c libxslt/namespaces.c
libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
libxslt/templates.h libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltutils.c
libxslt/xsltutils.h libexslt/common.c libexslt/dynamic.c
libexslt/functions.c libexslt/strings.c:
Refactored xsltValueOf(). Changed to use xmlXPathCastToString()
directly, rather than creating an intermediate object with
xmlXPathConvertString(). This now does not add a text-node to
the result if the string is empty (this has impact on
serialization, since an empty text-node is serialized as
<foo></foo>, and now it will be serialized as <foo/>).
Refactored other functions in transform.c:
Mostly code cleanup/restructuring. Minimized number of
function variables for instruction which eat up function stack
memory when recursing templates (xsltIf(), xsltChoose(),
xsltApplyTemplates(), xsltCallTemplate()).
Changed XSLT tests to use xmlXPathCompiledEvalToBoolean().
Implemented redefinition checks at compilation-time and
eliminating them at transformation time in the refactored code
paths.
Introduced the field @currentTemplateRule on xsltTransformContext to
reflect the "Current Template Rule" as defined by the spec.
NOTE that ctxt->currentTemplateRule and ctxt->templ is not the
same; the former is the "Current Template Rule" as defined by the
XSLT spec, the latter is simply the template struct being
currently processed by Libxslt.
Added XML_COMMENT_NODE and XML_CDATA_SECTION_NODE to the macro
IS_XSLT_REAL_NODE.
Misc code cleanup/restructuring and everything else I already forgot.
Refactored lifetime of temporary result tree fragments.
Substituted all calls to the now deprecated xsltRegisterTmpRVT()
for the new xsltRegisterLocalRVT().
Fragments of xsl:variable and xsl:param are freed when the
variable/pram is freed.
Fragments created when evaluating a "select" of xsl:varible and
xsl:param are also bound to the lifetime of the var/param.
EXSLT's func:function now uses the following functions to let take
care the transformation's garbage collector of returned tree
fragments:
xsltExtensionInstructionResultRegister(),
xsltExtensionInstructionResultFinalize()
Fixes:
#339222 - xsl:param at invalid position inside an xsl:template is
not catched
#346015 - Non-declared caller-parameters are accepted
#160400 - Compiles invalid XSLT; unbound variable accepted
#308441 - namespaced parameters become unregistered
#307103 - problem with proximity position in predicates of match
patterns
#328218 - problem with exsl:node-set() when converting strings
to node sets
#318088 - infinite recursion detection
#321505 - Multiple contiguous CDATA in output
#334493 - "--param" option does not have root context
#114377 - weird func:result/xsl:variable/exsl:node-set interaction
#150309 - Regression caused by fix for 142768
Kasimier T. Buchcik [Wed, 21 Jun 2006 13:16:57 +0000 (13:16 +0000)]
Fixed incorrect regression tests/results.
* tests/docs/bug-54.xml tests/general/bug-54.out
tests/general/bug-99.out tests/general/bug-136.out
tests/REC/test-7.1.3.xsl tests/REC/test-7.1.4.xsl
tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl:
Fixed incorrect regression tests/results.
Kasimier T. Buchcik [Mon, 19 Jun 2006 17:45:33 +0000 (17:45 +0000)]
Merged all the namespace lookup/create/disable functions into
* libxslt/attributes.c libxslt/attrvt.c libxslt/namespaces.c
libxslt/namespaces.h libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c libxslt/xslt.c
libxslt/xsltInternals.h libxslt/xsltutils.c:
Merged all the namespace lookup/create/disable functions
into xsltGetSpecialNamespace(). Changed xsltGetNamespace()
and xsltGetPlainNamespace() to call xsltGetSpecialNamespace(),
but kept the ns-aliasing mechanism; the ns-aliasing needs
to be removed when we move to the refactored code, which
applies ns-alias only at compilaton time.
Refactored xsltElementComp() (preproc.c); enhanced error reports.
Fixed: if the "namespace" attribute was not given, then this
performed incorrectly only a lookup for a default namespace;
i.e., without taking any prefix on the "name" attribute into
account.
Refactored xsltElement() (transform.c); enhanced error reports.
Refactored xsltAttributeComp() (preproc.c). Added namespace
lookup as in xsltElementComp(). Enhanced error reports.
Refactored xsltAttribute() (transform.c); enhanced error reports.
xsltCopyTreeInternal(): eliminated the need to call xmlGetNsList()
for every element in the tree; this needs to be done only for
the top-most elements. For subsequent elements reconcile only
the ns-declarations. Disallowed setting of ns-declarations if
children have been already added to an element.
Removed ns-aliasing code where necessary.
xsltCopyProp(): disallowed setting of attribute nodes if
children have been already added to an element.
xsltCopy(): removed the incorrect skipping of attributes in the
XSLT namespace. Removed the incorrect ns-aliasing for attributes.
Changed to use the introduced function xsltShallowCopyAttr().
xsltShallowCopyAttr(): Centralized all attribute-copy related
code in this function. It will now be called by
xsltCopyTreeInternal(), xsltCopyOf() and xsltCopy().
xsltCopyAttrListNoOverwrite(): Renamed. Refactored. Optimized to
use xsltGetSpecialNamespace() and xmlNewDocProp().
Further substitution of various scattered namespace-lookup
related code for the use of xsltGetSpecialNamespace().
xsltAttrTemplateProcess(): Refactored. Removed the incorrect
processing of attribute-sets. Attribute sets need to be applied
before adding any normal attribute of the literal result element;
this is now done in xsltAttrListTemplateProcess(). Fixed to
ensure that the ns-prefix of the overwriting attribute is used.
xsltAttrListTemplateProcess(): Refactored. Moved semantics from
xsltAttrTemplateProcess() over to this function in order to
optimize processing of multiple attributes. This does not call
xsltAttrTemplateProcess() anymore.
Fixed: do not exclude the XSLT namespace after ns-aliasing have
beed applied.
The IFDEFed-out refactored code fixes the following issues:
- #313711: namespace collision with namespace-alias (reported
by by Oleg Paraschenko)
- #338214: Incorrect scope for exclude-result-prefixes
- #341392: Excluding namespace declarations of literal result
elements.
- #341325: Namespace aliasing and resulting namespace prefixes
Already enabled fixes:
- #344183: xsl:copy misses to copy attributes in the XSLT namespace
- #341463: Namespace-alias using #default for result-prefix with no
default namespace in scope
- #313890: namespace collision with xsl:element and xsl:attribute,
reported by Oleg Paraschenko
- #344176: xsl:copy misses to set an element's namespace-URI in
some cases
- #305739: the "name" QName of xsl:element is incorrectly always
resolved to the default namespace
Daniel Veillard [Mon, 12 Jun 2006 14:32:24 +0000 (14:32 +0000)]
more info about --output from Daniel Leidert c.f. #344654 Daniel
* doc/xsltproc.1 doc/xsltproc.xml: more info about --output
from Daniel Leidert c.f. #344654
Daniel
Daniel Veillard [Fri, 9 Jun 2006 13:40:33 +0000 (13:40 +0000)]
Fixing the screwups introduced by amaya, Daniel
Daniel Veillard [Tue, 6 Jun 2006 15:17:10 +0000 (15:17 +0000)]
preparing release of 1.1.17 Daniel
* configure.in libxslt.spec.in doc//*: preparing release of 1.1.17
Daniel
Kasimier T. Buchcik [Tue, 6 Jun 2006 09:47:12 +0000 (09:47 +0000)]
Eliminated a tiny difference wrt to the old behaviour in the naming of
* libxslt/attributes.c: Eliminated a tiny difference wrt to
the old behaviour in the naming of newly generated ns-decls
in xsltAttributeInternal().
Daniel Veillard [Thu, 1 Jun 2006 13:04:44 +0000 (13:04 +0000)]
fix a problem in Python detection Daniel
* configure.in: fix a problem in Python detection
Daniel
Kasimier T. Buchcik [Thu, 1 Jun 2006 12:03:21 +0000 (12:03 +0000)]
Next step in the refactored code: enhanced xsl:attribute; enhanced
* libxslt/attributes.c libxslt/variables.c
libxslt/transform.c libxslt/xslt.c:
Next step in the refactored code: enhanced xsl:attribute;
enhanced xsltCopyProp.
Added the creation of an XPath cache in
xsltNewTransformContext().
Kasimier T. Buchcik [Wed, 31 May 2006 20:39:42 +0000 (20:39 +0000)]
Fixed a difference in processing of xsl:value-of and xsl:text wrt to
* libxslt/transform.c: Fixed a difference in processing of
xsl:value-of and xsl:text wrt to merging of strings of
output-escaped text-nodes. This difference made the
optimized string-merging mechanism run out of sync, which
led to segfaults in subsequent string reallocations. See
bug #343411, reported by Grzegorz Kaczor.
* xslt.c: Added check for ctxt->internalized when we parse
xsl:text and internalize the strings.
Kasimier T. Buchcik [Mon, 22 May 2006 08:56:42 +0000 (08:56 +0000)]
Next tiny step of refactoring - mostly bug fixes and cosmetic changes.
* libxslt/attributes.c libxslt/documents.c
libxslt/extensions.c libxslt/keys.c libxslt/pattern.c
libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltInternals.h:
Next tiny step of refactoring - mostly bug fixes and
cosmetic changes.
Changes outside of the refactored code:
1) Optimized xsl:attribute if the content consists of
just 1 text node.
2) Optimized computation of xsl:key. The keys will now be
computed for a specific document not until the first call
of a key() function; here only the keys with the specific
name used by key() are computed. This means that this
now avoids computation of all keys for all loaded
input documents (even if no key() was called on them).
One exception is the scenario where a key() is used in
a template's match pattern; in this case all keys are
computed for a document if there's a chance that
a "keyed" template could match a node (this could still
be optimized a bit).
Kasimier T. Buchcik [Mon, 15 May 2006 20:35:12 +0000 (20:35 +0000)]
Fixed bug #302020, reported by Thomas Blatter.
* libxslt/namespaces.c libxslt/attributes.c:
Fixed bug #302020, reported by Thomas Blatter.
Kasimier T. Buchcik [Fri, 12 May 2006 21:31:53 +0000 (21:31 +0000)]
Next step of refactoring. For more details see bug #341588. I applied the
* libxslt/documents.c libxslt/namespaces.c
libxslt/preproc.c libxslt/transform.c
libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltutils.c:
Next step of refactoring. For more details see bug #341588.
I applied the suggestion of Jerome Pesenti to the refactored
(still IDFEDed out with XSLT_REFACTORED) code: The XPath
compilation context (accessible via the compilation context)
is now reused for compilation of expressions at
compilation-time; this should reduce compilation time to 50%
for avarage stylesheets.
Kasimier T. Buchcik [Thu, 11 May 2006 20:18:27 +0000 (20:18 +0000)]
Changed a comment to indicate that a specific bug was already fixed.
* libxslt/extensions.c: Changed a comment to indicate that a
specific bug was already fixed.
Kjartan Maraas [Wed, 10 May 2006 10:45:09 +0000 (10:45 +0000)]
Quiet CVS a bit
Kasimier T. Buchcik [Fri, 5 May 2006 21:18:25 +0000 (21:18 +0000)]
Next step of refactoring (plus some bug-fixes). For more details see
* libxslt/xsltInternals.h libxslt/attributes.c
libxslt/documents.c libxslt/extensions.c
libxslt/extensions.h libxslt/functions.c
libxslt/imports.c libxslt/keys.c libxslt/preproc.c
libxslt/transform.c libxslt/variables.c libxslt/xslt.c
libxslt/xsltutils.c libxslt/xsltutils.h libexslt/functions.c:
Next step of refactoring (plus some bug-fixes).
For more details see #340780.
Kasimier T. Buchcik [Fri, 5 May 2006 12:34:48 +0000 (12:34 +0000)]
Reverting the changes; I'll rather change the processing stylesheet
* tests/exslt/common/node-set.5.out
tests/exslt/sets/difference.1.out
tests/exslt/functions/function.6.out: Reverting the
changes; I'll rather change the processing stylesheet
documents in a way that they will produce the same results
for broken and stricter whitespace-stripping.
Kasimier T. Buchcik [Thu, 4 May 2006 21:03:51 +0000 (21:03 +0000)]
Changed regression test results (bug #340684). Those will now produce
* tests/exslt/common/node-set.5.out
tests/exslt/sets/difference.1.out
tests/exslt/functions/function.6.out: Changed regression test
results (bug #340684). Those will now produce regression
errors; so we need to fix the processor.
Daniel Veillard [Mon, 1 May 2006 21:25:09 +0000 (21:25 +0000)]
preparing release of 1.1.16, updated and regenerated the docs. Daniel
* configure.in NEWS doc//*: preparing release of 1.1.16, updated and
regenerated the docs.
Daniel
Daniel Veillard [Tue, 25 Apr 2006 13:14:09 +0000 (13:14 +0000)]
applied patch from Joseph Sacco changing slightly the python detection
* configure.in: applied patch from Joseph Sacco changing slightly
the python detection scheme should fix bug #338527
Daniel
Kasimier T. Buchcik [Wed, 12 Apr 2006 11:42:32 +0000 (11:42 +0000)]
Refactored the internal structures into specialized structures and
* libxslt/attributes.c libxslt/preproc.c libxslt/transform.c
libxslt/variables.c libxslt/xslt.c libxslt/xsltInternals.h
libxslt/xsltutils.c libxslt/xsltutils.h:
Refactored the internal structures into specialized
structures and adjusted the code to work with those new
structures. I didn't yet (we should in the future)
renamed any fields of the old structures in order to avoid
changing too much code.
Introduced the internal structure xsltCompilerCtxt to be
used for storage and control of the compilation.
Optimized the way lists of in-scope namespaces are created
and stored; this will now only generate a new list if
really needed, i.e. if we encounter a ns-decl.
All this changes here are IFDEFed out with XSLT_REFACTORED.
Daniel Veillard [Thu, 6 Apr 2006 14:03:14 +0000 (14:03 +0000)]
Revert last patch, Daniel
Daniel Veillard [Thu, 6 Apr 2006 13:35:24 +0000 (13:35 +0000)]
another man patch from daniel, Daniel
Daniel Veillard [Thu, 6 Apr 2006 12:58:06 +0000 (12:58 +0000)]
Update with patch from Daniel Leidert, daniel
Daniel Veillard [Thu, 6 Apr 2006 08:17:32 +0000 (08:17 +0000)]
applied man page improvement from Daniel Leidert Daniel
* doc/xsltproc.1 doc/xsltproc.xml: applied man page improvement
from Daniel Leidert
Daniel
Daniel Veillard [Mon, 3 Apr 2006 15:23:55 +0000 (15:23 +0000)]
Fixed FTP links, Daniel
Kasimier T. Buchcik [Thu, 30 Mar 2006 15:31:11 +0000 (15:31 +0000)]
Fixed regression tests wrt usage of the attributes
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl
tests/general/bug-65-inc.xsl tests/general/bug-100.xsl
tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl
tests/namespaces/extra2.xsl tests/extensions/module.xsl
tests/plugins/plugin.xsl python/tests/extelem.py
python/tests/extfunc.py: Fixed regression tests wrt
usage of the attributes "exclude-result-prefixes"
and "extension-element-prefixes". test-7.1.1-3.xsl fails
now, since the code still does not exclude ns-decls
correctly.
Kasimier T. Buchcik [Thu, 30 Mar 2006 15:21:42 +0000 (15:21 +0000)]
Eliminated usage of xsltGetNsProp() in cases where an attribute with a
* libxslt/xslt.c libxslt/xsltutils.c libxslt/preproc.c
libxslt/namespaces.c libxslt/imports.c
libxslt/attributes.c: Eliminated usage of xsltGetNsProp() in cases
where an attribute with a specific namespace is requested.
xsltGetNsProp() uses xmlGetProp() which is not namespace aware
and thus will return the first attribute with the requested
name but of arbitrary namespace.
Changed retrieval of the attributes "exclude-result-prefixes"
and "extension-element-prefixes", which are expected to be in
no namespace on XSLT elements and in the XSLT namespace on
literal result elements or extension elements.
Additional change: for XSLT elements the attribute
"exclude-result-prefixes" is only allowed on xsl:stylesheet
and xsl:transform. This attribute was previously processed on
all XSLT elements.
Daniel Veillard [Wed, 29 Mar 2006 10:17:37 +0000 (10:17 +0000)]
Charles Hardin pointed an OOM condition where a NULL pointer could be
* libxslt/transform.c: Charles Hardin pointed an OOM condition where
a NULL pointer could be dereferenced, closes #336394
Daniel
Daniel Veillard [Fri, 10 Mar 2006 11:51:20 +0000 (11:51 +0000)]
various assorted small cleanups based on the Coverity reports Daniel
* libexslt/crypto.c libexslt/date.c libexslt/saxon.c
libxslt/attributes.c libxslt/imports.c libxslt/pattern.c
libxslt/preproc.c libxslt/transform.c libxslt/variables.c
libxslt/xslt.c libxslt/xsltutils.c: various assorted small cleanups
based on the Coverity reports
Daniel
Daniel Veillard [Thu, 9 Mar 2006 13:08:29 +0000 (13:08 +0000)]
update help about unwanted legal notices, daniel
Daniel Veillard [Wed, 22 Feb 2006 15:11:07 +0000 (15:11 +0000)]
Nic Ferrier found debug statement left in the XPath conversion code Daniel
* python/types.c: Nic Ferrier found debug statement left in the
XPath conversion code
Daniel
Daniel Veillard [Tue, 21 Feb 2006 19:22:15 +0000 (19:22 +0000)]
new update from Daniel Leidert Daniel
* doc/xsltproc.1 doc/xsltproc.xml: new update from Daniel Leidert
Daniel
Daniel Veillard [Tue, 21 Feb 2006 17:02:03 +0000 (17:02 +0000)]
applied patch from Christopher R. Palmer to avoid a race condition in
* libxslt/extensions.c libxslt/xslt.c libxslt/xslt.h
libxslt/xsltInternals.h: applied patch from Christopher R. Palmer
to avoid a race condition in xsltInit()
Daniel
Daniel Veillard [Sun, 19 Feb 2006 21:42:25 +0000 (21:42 +0000)]
improvement of the man page by Daniel Leidert, c.f. #331779 Daniel
* doc/xsltproc.1 doc/xsltproc.xml: improvement of the man page
by Daniel Leidert, c.f. #331779
Daniel
Daniel Veillard [Sat, 11 Feb 2006 12:14:10 +0000 (12:14 +0000)]
fix xsltSaveResultToString comment detect loops when computing variables,
* libxslt/xsltutils.c: fix xsltSaveResultToString comment
* libxslt/transform.c: detect loops when computing variables, should
fix bug #330772
* doc/xsltproc.xml doc/xsltproc.1: fix typo in man page
* tests/namespaces/tst7.out tests/general/bug-152.out: small output
changes due to libxml2 xhtml meta handling modification
Daniel
Daniel Veillard [Mon, 21 Nov 2005 11:23:58 +0000 (11:23 +0000)]
Albert Chin found another signed/unsigned problem in the date and time
* libexslt/date.c: Albert Chin found another signed/unsigned problem
in the date and time code raised on IRIX 6.5
Daniel
Daniel Veillard [Mon, 21 Nov 2005 11:08:22 +0000 (11:08 +0000)]
patch from Albert Chin needed for HP-UX which doesn't have <sys/select.h>
* libexslt/crypto.c: patch from Albert Chin needed for HP-UX
which doesn't have <sys/select.h>
Daniel
Daniel Veillard [Mon, 21 Nov 2005 11:06:22 +0000 (11:06 +0000)]
Albert Chin posted a patch to fix a problem on Solaris with dates,
* libexslt/date.c: Albert Chin posted a patch to fix a problem on
Solaris with dates, extended bitfield size too to match libxml2
code from xmlschemastypes.c
Daniel
Daniel Veillard [Wed, 16 Nov 2005 11:48:24 +0000 (11:48 +0000)]
fix an problem raised by Ralf Junker in the use of xmlHashScanFull() fixes
* libexslt/functions.c: fix an problem raised by Ralf Junker in the
use of xmlHashScanFull() fixes bug #321582
Daniel
Daniel Veillard [Mon, 7 Nov 2005 21:40:13 +0000 (21:40 +0000)]
Fixing references to zveno.com, Daniel
Daniel Veillard [Mon, 7 Nov 2005 13:18:53 +0000 (13:18 +0000)]
Fixed Mac Os X download linkx, Daniel
Daniel Veillard [Mon, 7 Nov 2005 13:18:34 +0000 (13:18 +0000)]
Fixed Max OS X download links, Daniel
Daniel Veillard [Sun, 6 Nov 2005 18:23:25 +0000 (18:23 +0000)]
added a missing parameter to a debug function Daniel
* libxslt/attrvt.c: added a missing parameter to a debug function
Daniel
William M. Brack [Tue, 4 Oct 2005 12:37:43 +0000 (12:37 +0000)]
applied fix to date:week-in-year posted to the mailing list by Thomas
* libexslt/date.c: applied fix to date:week-in-year posted to
the mailing list by Thomas Broyer
* tests/exslt/date/date.1.out, tests/exslt/date/datetime.1.out:
updated to reflect above fix
Daniel Veillard [Sun, 2 Oct 2005 09:52:09 +0000 (09:52 +0000)]
applied patch from Joel Reed to ease plugin integration Daniel
* configure.in libxslt/Makefile.am libxslt/xsltconfig.h.in
libxslt.spec.in tests/plugins/Makefile.am xslt-config.in: applied
patch from Joel Reed to ease plugin integration
Daniel
William M. Brack [Fri, 23 Sep 2005 08:15:21 +0000 (08:15 +0000)]
fixed problem in internal XPath compilation of patterns including
* libxslt/pattern.c: fixed problem in internal XPath compilation
of patterns including variables, fixes #316861
Daniel Veillard [Wed, 14 Sep 2005 12:35:35 +0000 (12:35 +0000)]
removed a superfluous second sorting of the node set on xsl:copy-of, fixes
* libxslt/transform.c: removed a superfluous second sorting of
the node set on xsl:copy-of, fixes #316288
* libxslt/xsltutils.c: marked xsltDocumentSortFunction as slow,
obsolete and deprecated :-)
Daniel
Daniel Veillard [Sat, 10 Sep 2005 12:34:55 +0000 (12:34 +0000)]
check environment for PYTHON, fixes #315367 Daniel
* configure.in: check environment for PYTHON, fixes #315367
Daniel
Daniel Veillard [Sun, 4 Sep 2005 23:07:34 +0000 (23:07 +0000)]
Small fix of the spec file, Daniel
Daniel Veillard [Sun, 4 Sep 2005 22:45:16 +0000 (22:45 +0000)]
preparing release 1.1.15 a bit more cleanup Daniel
* configure.in NEWS doc/*: preparing release 1.1.15
* libxslt/pattern.c libxslt/xsltutils.c: a bit more cleanup
Daniel
Daniel Veillard [Sun, 4 Sep 2005 22:09:19 +0000 (22:09 +0000)]
fixed #303289 variable in match are forbidden had to fix that test which
* libxslt/pattern.c: fixed #303289 variable in match are forbidden
* tests/general/bug-89.xsl: had to fix that test which was doing this
* tests/general/bug-142.out tests/general/bug-152.out
tests/namespaces/tst7.out: small output change on libxml2-2.6.21
new way of serializing encoding meta in HTML
Daniel
Daniel Veillard [Wed, 31 Aug 2005 11:50:41 +0000 (11:50 +0000)]
fixed 314936 a dictionnary issue on text node merging, which probably
* libxslt/transform.c: fixed 314936 a dictionnary issue on text
node merging, which probably fixed #311267 too.
Daniel
Daniel Veillard [Thu, 25 Aug 2005 11:30:24 +0000 (11:30 +0000)]
libxslt should deallocate directly text node content use
* libxslt/xslt.c: libxslt should deallocate directly text node content
use xmlSetNodeContent(..., NULL)
Daniel
Daniel Veillard [Fri, 12 Aug 2005 10:18:54 +0000 (10:18 +0000)]
check fix for #310692 Daniel
* tests/general/bug-163.*, tests/general/Makefile.am,
tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for
#310692
Daniel
Daniel Veillard [Tue, 9 Aug 2005 20:13:48 +0000 (20:13 +0000)]
try to get rid of complaints from jhbuild newbies. Daniel
* tests/plugins/Makefile.am: try to get rid of complaints from
jhbuild newbies.
Daniel
Daniel Veillard [Sun, 7 Aug 2005 14:06:21 +0000 (14:06 +0000)]
fixed a bug when size of xmlXPathContext changes, uses the libxml2 alloc
* libxslt/xsltutils.c: fixed a bug when size of xmlXPathContext
changes, uses the libxml2 alloc and dealloc functions instead.
Daniel
William M. Brack [Thu, 14 Jul 2005 05:52:20 +0000 (05:52 +0000)]
added check in xsltCopyText to assure content is in dictionary before
* libxslt/transform.c: added check in xsltCopyText to assure
content is in dictionary before doing a straight copy of
content (bug 302821)
William M. Brack [Wed, 13 Jul 2005 23:21:23 +0000 (23:21 +0000)]
fixed to set current default value for XInclude when creating new
* libxslt/transform.c: fixed to set current default value for
XInclude when creating new TransformContext
* libxslt/xslt.c: minor change for per-mille
Daniel Veillard [Sun, 10 Jul 2005 14:20:06 +0000 (14:20 +0000)]
try to avoid generating conflicts applied patch from Mark Vakoc to
* libxslt/xsltwin32config.h*: try to avoid generating conflicts
* libexslt/dynamic.c: applied patch from Mark Vakoc to implement
dyn:map
* configure.in tests/exslt/Makefile.am tests/exslt/dynamic/*:
added test for dyn:map to the regression suite
Daniel
William M. Brack [Sat, 2 Jul 2005 09:40:14 +0000 (09:40 +0000)]
further fixes for bug 309209, changing behaviour of format-number. changed
* libxslt/numbers.c: further fixes for bug 309209, changing
behaviour of format-number.
* libxslt/xslt.c: changed definition of per-mille character from
'?' to Unicode #2030 (UTF-8 '‰') (ref XSLT spec 12.3)
Federico Mena Quintero [Fri, 1 Jul 2005 02:38:38 +0000 (02:38 +0000)]
Added this file back. We'll have to figure out a way to make jhbuild not
2005-06-30 Federico Mena Quintero <federico@ximian.com>
* libxslt/xsltwin32config.h: Added this file back. We'll have to
figure out a way to make jhbuild not get CVS conflicts with it.
William M. Brack [Thu, 30 Jun 2005 21:09:55 +0000 (21:09 +0000)]
fixed bug in negative prefix (bug 309209)
* libxslt/numbers.c: fixed bug in negative prefix (bug 309209)
Federico Mena Quintero [Fri, 17 Jun 2005 20:27:24 +0000 (20:27 +0000)]
Removed from CVS; this is a generated file anyway and it breaks jhbuild
2005-06-17 Federico Mena Quintero <federico@ximian.com>
* libxslt/xsltwin32config.h: Removed from CVS; this is a generated
file anyway and it breaks jhbuild all the time.
Daniel Veillard [Sat, 7 May 2005 09:28:53 +0000 (09:28 +0000)]
applied patch from Jonathan Wakely to fix the namespace name for the EXSLT
* libexslt/libexslt.3: applied patch from Jonathan Wakely to fix
the namespace name for the EXSLT date and time functions in the man
page.
Daniel
Igor Zlatkovic [Tue, 3 May 2005 19:02:04 +0000 (19:02 +0000)]
ignored the bindist directory
Igor Zlatkovic [Tue, 3 May 2005 19:00:58 +0000 (19:00 +0000)]
ignored the bindist directory
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:37 +0000 (22:02 +0000)]
*** empty log message ***
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:25 +0000 (22:02 +0000)]
added Eclipse project files
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:14 +0000 (22:02 +0000)]
Windows build cleanup, removed obsolete macro definitions
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:57 +0000 (22:01 +0000)]
make install cleanup
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:43 +0000 (22:01 +0000)]
removed obsolete copy operations
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:18 +0000 (22:01 +0000)]
windows build cleanup, removed obsolete checks
Daniel Veillard [Sat, 2 Apr 2005 11:43:03 +0000 (11:43 +0000)]
preparing release of 1.1.14, updated docs and rebuilt. Daniel
* configure.in NEWS doc/*: preparing release of 1.1.14, updated docs
and rebuilt.
Daniel
Daniel Veillard [Thu, 31 Mar 2005 21:52:55 +0000 (21:52 +0000)]
updated the result of some tests following the change to serailization in
* tests/docbook/result/fo/gdp-handbook.fo tests/general/bug-105.out
tests/general/bug-142.out: updated the result of some tests
following the change to serailization in libxml2.
Daniel
Daniel Veillard [Thu, 31 Mar 2005 09:56:13 +0000 (09:56 +0000)]
fixed bug #171488 with cascading select in patterns. added test provided
* libxslt/pattern.c: fixed bug #171488 with cascading select in
patterns.
* tests/general/bug-161.*, tests/general/Makefile.am,
tests/docs/bug-161.*, tests/docs/Makefile.am: added test provided
by Ben Ko
Daniel
Daniel Veillard [Wed, 30 Mar 2005 22:29:28 +0000 (22:29 +0000)]
fixed build outside of source tree bug #172155 thanks to patch from Mike
* tests/plugins/Makefile.am: fixed build outside of source tree
bug #172155 thanks to patch from Mike Castle
Daniel
Daniel Veillard [Wed, 30 Mar 2005 12:12:53 +0000 (12:12 +0000)]
fixed the xinclude problem with document() as in bug #171893 added a new
* xsltproc/xsltproc.c: fixed the xinclude problem with document()
as in bug #171893
* configure.in tests/Makefile.am tests/xinclude/*: added a new
xinclude directory with the test for this problem
Daniel
Daniel Veillard [Wed, 30 Mar 2005 10:01:59 +0000 (10:01 +0000)]
fixed bug 169718 with ancestors in patterns similar to same bug fixed in
* libxslt/pattern.c: fixed bug 169718 with ancestors in patterns
similar to same bug fixed in libxml2
* tests/general/bug-160.*, tests/general/Makefile.am,
tests/docs/bug-160.*, tests/docs/Makefile.am: added test provided
by Aaron Kaplan
Daniel
Daniel Veillard [Tue, 29 Mar 2005 20:35:38 +0000 (20:35 +0000)]
added test for bug #168196 fixed in libxml2 Daniel
* tests/general/bug-159.*, tests/general/Makefile.am,
tests/docs/bug-159.*, tests/docs/Makefile.am: added test for
bug #168196 fixed in libxml2
Daniel
Daniel Veillard [Tue, 29 Mar 2005 19:07:56 +0000 (19:07 +0000)]
working around Mark Vakoc' reported bug related to mode internaing adding
* libxslt/transform.c: working around Mark Vakoc' reported bug related
to mode internaing
* xsltproc/xsltproc.c: adding a --nodict mode to check problems with
document without a dictionnary.
* tests/REC/Makefile.am tests/general/Makefile.am: testing without
dictionnary
Daniel