morten      01/11/26 04:57:44

  Modified:    java/src/org/apache/xalan/xsltc/compiler XslAttribute.java
  Log:
  A small fix needed after a fix for stripping/preserving text nodes. The fix
  for text-nodes caused us to insert text nodes before <xsl:attribute> elements
  in the AST, which again caused the XslAttribute class to complain.
  PR:           n/a
  Obtained from:        n/a
  Submitted by: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.15      +2 -1      
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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XslAttribute.java 2001/11/12 09:15:32     1.14
  +++ XslAttribute.java 2001/11/26 12:57:44     1.15
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: XslAttribute.java,v 1.14 2001/11/12 09:15:32 morten Exp $
  + * @(#)$Id: XslAttribute.java,v 1.15 2001/11/26 12:57:44 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -122,6 +122,7 @@
            if (item instanceof XslAttribute) continue;
            if (item instanceof UseAttributeSets) continue;
            if (item instanceof LiteralAttribute) continue;
  +         if (item instanceof Text) continue;
            // These objects _can_ result in one or more attribute
            // The output handler will generate an error if not (at runtime)
            if (item instanceof If) continue;
  
  
  

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

Reply via email to