You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jonathan Borden <jo...@openhealth.org> on 2000/07/17 02:31:52 UTC

BUG: Xalan does not allow >1 prefixes on an element for a given namespace URI

This bug results in the production of output XML documents which are NOT XML
Namespace compliant.

In some cases it is desirable to define a namespace prefix and default
namespace on the same element, e.g.

<xsl:stylesheet ..
<opnote:opnote xmlns="http://www.openhealth.org/opnote"
	xmlns:opnote="http://www.openhealth.org/opnote">
...
</opnote:opnote>

when transformed in Xalan:

<opnote:opnote xmlns="http://www.openhealth.org/opnote">
...
</opnote:opnote>

this document does not define the "opnote" namespace prefix.

Testing this under a variety of conditions (i.e. all that I can think of)
yeilds the finding that only the first prefix of a given namespace URI get
defined on a single element.

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org