diff options
author | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | 2006-03-30 15:21:42 +0000 |
---|---|---|
committer | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | 2006-03-30 15:21:42 +0000 |
commit | ea9ed33cc885dfde09b82e0cf1e80dba96ebf11b (patch) | |
tree | 490857130fb1aaf9e797d13e88b0e78a5063e372 /ChangeLog | |
parent | bdd98c131b27be855a9c33cf73d23f4e4b09ae20 (diff) | |
download | libxslt-ea9ed33cc885dfde09b82e0cf1e80dba96ebf11b.tar.gz libxslt-ea9ed33cc885dfde09b82e0cf1e80dba96ebf11b.tar.bz2 libxslt-ea9ed33cc885dfde09b82e0cf1e80dba96ebf11b.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +Thu Mar 30 17:11:53 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net> + + * 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. + Wed Mar 29 12:16:41 CEST 2006 Daniel Veillard <daniel@veillard.com> * libxslt/transform.c: Charles Hardin pointed an OOM condition where |