You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/10/17 20:08:57 UTC
DO NOT REPLY [Bug 23897] New: -
Xalan does not replace attributes with same expanded name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23897>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23897
Xalan does not replace attributes with same expanded name
Summary: Xalan does not replace attributes with same expanded
name
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: richcao@ca.ibm.com
Xalan-J Interpretive is not replacing existing attributes with the same expanded
name when the namespace attribute of xsl:attribute is used. That is, BOTH
attributes will appear if the following snippet is run (a and d are unmapped).
<xsl:attribute name="a:attr1" namespace="http://www.ped.com">Wrong</xsl:attribute>
<xsl:attribute name="d:attr1" namespace="http://www.ped.com">
Test2-OK</xsl:attribute>
Note that if prefix a and d are mapped, and the namespace attributes are not
present, then the testcase will perform as expected. (This is tested in
attribset18).
I will attach a testcase based off attribset18 to demonstrate the bug.