santiagopg    02/05/16 07:34:43

  Modified:    java/src/org/apache/xalan/xsltc/compiler Text.java
  Log:
  Fix for attribset49.
  
  Revision  Changes    Path
  1.12      +7 -2      
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Text.java
  
  Index: Text.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Text.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Text.java 14 May 2002 19:50:21 -0000      1.11
  +++ Text.java 16 May 2002 14:34:42 -0000      1.12
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Text.java,v 1.11 2002/05/14 19:50:21 santiagopg Exp $
  + * @(#)$Id: Text.java,v 1.12 2002/05/16 14:34:42 santiagopg Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -126,7 +126,12 @@
        parseChildren(parser);
   
        if (_text == null) {
  -         _ignore = true;
  +         if (_textElement) {
  +             _text = EMPTYSTRING;
  +         }
  +         else {
  +             _ignore = true;
  +         }
        }
        else if (_textElement) {
            if (_text.length() == 0) _ignore = true;
  
  
  

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

Reply via email to