Eliminated usage of xsltGetNsProp() in cases where an attribute with a
authorKasimier T. Buchcik <kbuchcik@src.gnome.org>
Thu, 30 Mar 2006 15:21:42 +0000 (15:21 +0000)
committerKasimier T. Buchcik <kbuchcik@src.gnome.org>
Thu, 30 Mar 2006 15:21:42 +0000 (15:21 +0000)
commitea9ed33cc885dfde09b82e0cf1e80dba96ebf11b
tree490857130fb1aaf9e797d13e88b0e78a5063e372
parentbdd98c131b27be855a9c33cf73d23f4e4b09ae20
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.
ChangeLog
libxslt/attributes.c
libxslt/imports.c
libxslt/namespaces.c
libxslt/preproc.c
libxslt/xslt.c
libxslt/xsltutils.c