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/runtime DefaultSAXOutputHandler.java
Date Thu, 16 Aug 2001 12:33:47 GMT
morten      01/08/16 05:33:47

  Modified:    java/src/org/apache/xalan/xsltc/runtime
                        DefaultSAXOutputHandler.java
  Log:
  Added another fix for the missing DOCTYPE declaration. XSLTC will now output
  DOCTYPE declarations for HTML output if either doctype-system or doctype-
  public is declared in the <xsl:output> element. XSL output will get a
  DOCTYPE declaration only if doctype-system is declared.
  PR:		1504
  Obtained from:	n/a
  Submitted by:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  Revision  Changes    Path
  1.15      +2 -2      xml-xalan/java/src/org/apache/xalan/xsltc/runtime/DefaultSAXOutputHandler.java
  
  Index: DefaultSAXOutputHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/DefaultSAXOutputHandler.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DefaultSAXOutputHandler.java	2001/08/16 12:29:19	1.14
  +++ DefaultSAXOutputHandler.java	2001/08/16 12:33:47	1.15
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: DefaultSAXOutputHandler.java,v 1.14 2001/08/16 12:29:19 morten Exp $
  + * @(#)$Id: DefaultSAXOutputHandler.java,v 1.15 2001/08/16 12:33:47 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -448,7 +448,7 @@
   	    StringBuffer buf = new StringBuffer("<!DOCTYPE ");
   	    buf.append(name);
   	    if (publicId == null) {
  -		buf.append(" SYSTEM ");
  +		buf.append(" SYSTEM");
   	    }
   	    else {
   		buf.append(" PUBLIC \"");
  
  
  

---------------------------------------------------------------------
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