vgritsenko 2002/10/30 18:45:49 Modified: src/webapp/welcome Tag: cocoon_2_0_3_branch welcome.xhtml src/webapp/samples/welcome welcome.xhtml Log: Comment out DOCTYPE declaration Revision Changes Path No revision No revision 1.3.2.4 +7 -4 xml-cocoon2/src/webapp/welcome/Attic/welcome.xhtml Index: welcome.xhtml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/welcome/Attic/welcome.xhtml,v retrieving revision 1.3.2.3 retrieving revision 1.3.2.4 diff -u -r1.3.2.3 -r1.3.2.4 --- welcome.xhtml 13 Aug 2002 02:23:34 -0000 1.3.2.3 +++ welcome.xhtml 31 Oct 2002 02:45:49 -0000 1.3.2.4 @@ -1,14 +1,19 @@ <?xml version="1.0"?> +<!-- It is possible to specify DOCTYPE here to make this valid transitional + XHTML document. + But specifying DOCTYPE will slow down processing because parser will have + to read and parse whole XHTML DTD and all referenced entities. Thus, for + performance reasons, DOCTYPE here is commented out. + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +--> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Cocoon @version@</title> - <link href="favicon.ico" rel="SHORTCUT ICON" /> </head> @@ -124,7 +129,6 @@ <font size="-1">Copyright © 1999-2002 <a href="http://www.apache.org/">The Apache Software Foundation</a> - . <br /> @@ -132,4 +136,3 @@ </p> </body> </html> - 1.5 +7 -4 xml-cocoon2/src/webapp/samples/welcome/welcome.xhtml Index: welcome.xhtml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/welcome/welcome.xhtml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- welcome.xhtml 22 Sep 2002 20:14:31 -0000 1.4 +++ welcome.xhtml 31 Oct 2002 02:45:49 -0000 1.5 @@ -1,14 +1,19 @@ <?xml version="1.0"?> +<!-- It is possible to specify DOCTYPE here to make this valid transitional + XHTML document. + But specifying DOCTYPE will slow down processing because parser will have + to read and parse whole XHTML DTD and all referenced entities. Thus, for + performance reasons, DOCTYPE here is commented out. + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +--> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>Apache Cocoon @version@</title> - <link href="favicon.ico" rel="SHORTCUT ICON" /> </head> @@ -120,7 +125,6 @@ <font size="-1">Copyright © 1999-2002 <a href="http://www.apache.org/">The Apache Software Foundation</a> - . <br /> @@ -128,4 +132,3 @@ </p> </body> </html> -
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]