cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/serializers HTMLSerializer.java
Date Thu, 30 Mar 2000 04:53:27 GMT
pier        00/03/29 20:53:27

  Modified:    src/org/apache/cocoon/serializers Tag: xml-cocoon2
                        HTMLSerializer.java
  Log:
  Tag names are now checked case unsensitive.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.2   +8 -8      xml-cocoon/src/org/apache/cocoon/serializers/Attic/HTMLSerializer.java
  
  Index: HTMLSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/serializers/Attic/HTMLSerializer.java,v
  retrieving revision 1.1.4.1
  retrieving revision 1.1.4.2
  diff -u -r1.1.4.1 -r1.1.4.2
  --- HTMLSerializer.java	2000/02/27 17:48:21	1.1.4.1
  +++ HTMLSerializer.java	2000/03/30 04:53:26	1.1.4.2
  @@ -23,7 +23,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.4.1 $ $Date: 2000/02/27 17:48:21 $
  + * @version CVS $Revision: 1.1.4.2 $ $Date: 2000/03/30 04:53:26 $
    */
   public class HTMLSerializer extends AbstractSerializer implements XMLConsumer {
       /** The namespaces table */
  @@ -150,13 +150,13 @@
       public void endElement (String uri, String loc, String raw)
       throws SAXException {
           String name=this.ns.resolve(uri,raw,null,loc).getRawName();
  -        if ((name.equals("AREA"))     || (name.equals("BASE"))     ||        
  -            (name.equals("BASEFONT")) || (name.equals("BR"))       ||          
  -            (name.equals("COL"))      || (name.equals("FRAME"))    ||       
  -            (name.equals("HR"))       || (name.equals("IMG"))      ||         
  -            (name.equals("INPUT"))    || (name.equals("ISINDEX"))  ||     
  -            (name.equals("LINK"))     || (name.equals("META"))     ||        
  -            (name.equals("PARA"))) return;
  +        if ((name.equalsIgnoreCase("AREA"))     || (name.equalsIgnoreCase("BASE"))    
||        
  +            (name.equalsIgnoreCase("BASEFONT")) || (name.equalsIgnoreCase("BR"))      
||          
  +            (name.equalsIgnoreCase("COL"))      || (name.equalsIgnoreCase("FRAME"))   
||       
  +            (name.equalsIgnoreCase("HR"))       || (name.equalsIgnoreCase("IMG"))     
||         
  +            (name.equalsIgnoreCase("INPUT"))    || (name.equalsIgnoreCase("ISINDEX")) 
||     
  +            (name.equalsIgnoreCase("LINK"))     || (name.equalsIgnoreCase("META"))    
||        
  +            (name.equalsIgnoreCase("PARA"))) return;
           this.print('<');
           this.print('/');
           this.print(name);
  
  
  

Mime
View raw message