Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#197 System namespaces are not fixed up if excluded

v7.9
closed
Michael Kay
5
2012-10-08
2004-03-13
Michael Kay
No

If a system namespace (e.g. xs, xsi, xslt) is excluded
using exclude-result-prefixes (e.g. by specifying exclude-
result-prefixes="#all"), and if the namespace is used in
the name of an attribute (e.g. xsi:type), then it will be
excluded from the output even if it is actually required
to make the result document namespace-well-formed.
Exclude-result-prefixes should be ignored in the case of
namespaces that are actually required in the result tree.

Source code fixed, test case added.

Discussion