Affects Version/s: 2.0.0
Fix Version/s: None
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
Environment:Operating System: All
In using xalan I ran into the following issue:
in evaluating a match condition the conditions pertaining to attributes are not
tested completely before evaluating the condition following an or clause.
<elemen1 a='1' b='' c='3'/>
Output From XALAN:
<elemen1 a='1' >
The bug is the fact the non empty attribute followed by the empty attribute was
not matched. It was somehow skipped.
I have tried this in xalan 1.2 C and xalan2 and xala 2_4 and have seem similar
behavior. In xalan 1.2 the behavior was worse since the non empty attribute
was copied to the subsequent element.
Atleast the xalan 2 and 2_4 versions do not copy the attributes to next node.
But they are still missing the non empty attribute occuring after the empty
In SAXON the output is correct :
<elemen1 a='1' c='3'/>
thanks in advance for fixing this.