xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
Date Tue, 25 Sep 2001 16:38:10 GMT
morten      01/09/25 09:38:10

  Modified:    java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
  Log:
  Fix for allowing LRE as top-level elements in the stylesheet (they will be
  ignored).
  PR:		n/a
  Obtained from:	n/a
  Submitted by:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  Revision  Changes    Path
  1.19      +2 -3      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Stylesheet.java
  
  Index: Stylesheet.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Stylesheet.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Stylesheet.java	2001/09/25 12:59:56	1.18
  +++ Stylesheet.java	2001/09/25 16:38:10	1.19
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Stylesheet.java,v 1.18 2001/09/25 12:59:56 morten Exp $
  + * @(#)$Id: Stylesheet.java,v 1.19 2001/09/25 16:38:10 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -153,8 +153,7 @@
   	// Set import precedence for all included stylesheets
   	final Enumeration elements = elements();
   	while (elements.hasMoreElements()) {
  -	    final TopLevelElement child =
  -		(TopLevelElement)elements.nextElement();
  +	    SyntaxTreeNode child = (SyntaxTreeNode)elements.nextElement();
   	    if (child instanceof Include) {
   		Stylesheet included = ((Include)child).getIncludedStylesheet();
   		if (included != null) {
  
  
  

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


Mime
View raw message