You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@apache.org on 2001/09/17 22:20:51 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemUse.java

mmidy       01/09/17 13:20:51

  Modified:    java/src/org/apache/xalan/templates ElemUse.java
  Log:
  Bug 2548: Combine attribute sets with the same name but process them in order of precedence.
  
  Revision  Changes    Path
  1.12      +3 -1      xml-xalan/java/src/org/apache/xalan/templates/ElemUse.java
  
  Index: ElemUse.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemUse.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ElemUse.java	2001/06/12 19:15:12	1.11
  +++ ElemUse.java	2001/09/17 20:20:51	1.12
  @@ -199,7 +199,9 @@
           {
             int nSets = attrSets.size();
   
  -          for (int k = 0; k < nSets; k++)
  +          // Highest priority attribute set will be at the top,
  +          // so process it last.
  +          for (int k = nSets-1; k >= 0 ; k--)
             {
               ElemAttributeSet attrSet =
                 (ElemAttributeSet) attrSets.elementAt(k);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org