xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minc...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/serializer ToXHTMLStream.java
Date Fri, 31 Oct 2003 21:12:15 GMT
minchau     2003/10/31 13:12:15

  Modified:    java/src/org/apache/xml/serializer Tag: xslt20-compiled
                        ToXHTMLStream.java
  Log:
  Dropping the creation of the xhtml namespace for the <html> element when 
  method="xhtml".  Talked with Henry Z. on this. We should not create a 
  namespace as a favour.  The user needs to create one.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +5 -5      xml-xalan/java/src/org/apache/xml/serializer/Attic/ToXHTMLStream.java
  
  Index: ToXHTMLStream.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/Attic/ToXHTMLStream.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- ToXHTMLStream.java	26 Sep 2003 19:53:17 -0000	1.1.2.1
  +++ ToXHTMLStream.java	31 Oct 2003 21:12:15 -0000	1.1.2.2
  @@ -39,11 +39,11 @@
           final int elemFlags = elemDesc.getFlags();
           final boolean isHeadElement = (elemFlags & ElemDesc.HEADELEM) != 0;
           
  -        if ( ((elemFlags & ElemDesc.HTMLELEM) != 0)
  -            && (namespaceURI == null || namespaceURI.equals(EMPTYSTRING))) 
  -        {
  -            this.startPrefixMapping(EMPTYSTRING,"http://www.w3.org/1999/xhtml");
  -        }
  +//        if ( ((elemFlags & ElemDesc.HTMLELEM) != 0)
  +//            && (namespaceURI == null || namespaceURI.equals(EMPTYSTRING))) 
  +//        {
  +//            this.startPrefixMapping(EMPTYSTRING,"http://www.w3.org/1999/xhtml");
  +//        }
   
           if (m_needToCallStartDocument)
           {
  
  
  

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