[Checkins] SVN: Sandbox/malthe/chameleon.core/src/chameleon/core/template.txt Checking in failing test.

Malthe Borch mborch at gmail.com
Mon Nov 24 10:19:34 EST 2008


Log message for revision 93312:
  Checking in failing test.

Changed:
  U   Sandbox/malthe/chameleon.core/src/chameleon/core/template.txt

-=-
Modified: Sandbox/malthe/chameleon.core/src/chameleon/core/template.txt
===================================================================
--- Sandbox/malthe/chameleon.core/src/chameleon/core/template.txt	2008-11-24 14:45:23 UTC (rev 93311)
+++ Sandbox/malthe/chameleon.core/src/chameleon/core/template.txt	2008-11-24 15:19:34 UTC (rev 93312)
@@ -80,6 +80,24 @@
     Hello World!
   </div>  
 
+Foreign attributes and elements are included as-is.
+  
+  >>> print Template("""\
+  ... <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+  ... <info xmlns:xlink="http://www.w3.org/1999/xlink">
+  ...   <order xlink:type="simple" xlink:href="./status" />
+  ...   <xlink:description>
+  ...       My order
+  ...   </xlink:description>
+  ... </info>""", mock_parser)()
+  <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+  <info>
+    <order xlink:type="simple" xlink:href="./status" />
+    <xlink:description>
+       My order
+    </xlink:description>
+  </info>
+  
 Error handling
 --------------
 



More information about the Checkins mailing list