[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/translation.txt Corrected paragraph.

Malthe Borch mborch at gmail.com
Tue Sep 2 04:39:07 EDT 2008


Log message for revision 90685:
  Corrected paragraph.

Changed:
  U   z3c.pt/trunk/src/z3c/pt/translation.txt

-=-
Modified: z3c.pt/trunk/src/z3c/pt/translation.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/translation.txt	2008-09-02 08:37:24 UTC (rev 90684)
+++ z3c.pt/trunk/src/z3c/pt/translation.txt	2008-09-02 08:39:06 UTC (rev 90685)
@@ -61,8 +61,7 @@
 Literals
 --------
 
-:: Named entities output literally (note doctype is required to prevent
-   lxml from raising a XMLSyntaxError :-( )
+:: Named entities output literally
 
   >>> print render_xhtml("""\
   ... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
@@ -75,7 +74,8 @@
       Hello &nbsp; World!
     </html>
 
-:: Or without doctype.
+:: Although not XML-compliant, named entities are accepted even
+   without a document type declaration.
     
   >>> print render_xhtml("""\
   ... <html xmlns="http://www.w3.org/1999/xhtml">



More information about the Checkins mailing list