morten      01/11/12 01:15:32

  Modified:    java/src/org/apache/xalan/xsltc/compiler XslAttribute.java
  Log:
  Fixed bug for xsl:attribute
  PR:           4175
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.14      +3 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XslAttribute.java
  
  Index: XslAttribute.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XslAttribute.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XslAttribute.java 2001/11/06 13:50:40     1.13
  +++ XslAttribute.java 2001/11/12 09:15:32     1.14
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: XslAttribute.java,v 1.13 2001/11/06 13:50:40 morten Exp $
  + * @(#)$Id: XslAttribute.java,v 1.14 2001/11/12 09:15:32 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -126,7 +126,8 @@
            // The output handler will generate an error if not (at runtime)
            if (item instanceof If) continue;
            if (item instanceof Choose) continue;
  -         if (item instanceof CopyOf) continue;  // bug fix 3320, g. briem
  +         if (item instanceof CopyOf) continue;
  +         if (item instanceof VariableBase) continue;
            reportWarning(this, parser, ErrorMsg.STRAY_ATTRIBUTE_ERR, name);
            _ignore = true;
        }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to