<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/splice/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/splice/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/splice/bugs/</id><updated>2004-12-29T14:45:06Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>pulltree.writer not using short-tag output style</title><link href="https://sourceforge.net/p/splice/bugs/4/" rel="alternate"/><published>2004-12-29T14:45:06Z</published><updated>2004-12-29T14:45:06Z</updated><author><name>Ryan Tomayko</name><uri>https://sourceforge.net/u/rtomayko/</uri></author><id>https://sourceforge.netabcbf4c60a4ce15548acb899cdc08a846f4debb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Kid 0.3 is outputting elements which are written as &amp;lt;img/&amp;gt; in the &lt;br /&gt;
source as &amp;lt;img&amp;gt;&amp;lt;/img&amp;gt; in the output, whereas 0.2 kept the &lt;br /&gt;
closing tag style.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>kid:content doesn't handle elementtree.Element properly</title><link href="https://sourceforge.net/p/splice/bugs/3/" rel="alternate"/><published>2004-12-29T14:41:33Z</published><updated>2004-12-29T14:41:33Z</updated><author><name>Ryan Tomayko</name><uri>https://sourceforge.net/u/rtomayko/</uri></author><id>https://sourceforge.net7baa4352c75b6b9bba632d6149996b6ce6126c21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Email from Ross Burton:&lt;/p&gt;
&lt;p&gt;I'm guessing that returning an elementtree.Element from a kid:&lt;br /&gt;
content should do the right thing and serialize the element into the &lt;br /&gt;
output:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;br /&gt;
&amp;lt;?kid&lt;br /&gt;
# RAWK - RSS to gallery HTML generator&lt;br /&gt;
def foo():&lt;br /&gt;
from elementtree import ElementTree&lt;br /&gt;
root = ElementTree.Element("{http://www.w3.org/1999/&lt;br /&gt;
xhtml}br")&lt;br /&gt;
return root&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;div kid:content="foo()"/&amp;gt;&lt;/p&gt;
&lt;p&gt;Should result in a &amp;lt;div&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;However, I get this:&lt;/p&gt;
&lt;p&gt;$ kid rss2galleryhtml.kid index.rss  &amp;gt; index.html&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File "/home/users/ross/bin/BUILD/bin/kid", line 67, in ?&lt;br /&gt;
main()&lt;br /&gt;
File "/home/users/ross/bin/BUILD/bin/kid", line 64, in main&lt;br /&gt;
kid.expand_template(f, name='__kid_main__', output=out)&lt;br /&gt;
File "/home/users/ross/bin/BUILD/lib/python2.3/site-packages/&lt;br /&gt;
kid/__init__.py", line 93, in expand_template&lt;br /&gt;
pulltree.write(stream, out)&lt;br /&gt;
File "/home/users/ross/bin/BUILD/lib/python2.3/site-packages/&lt;br /&gt;
pulltree.py", line 149, in write&lt;br /&gt;
for text in serialize(stream, xml_decl, encoding):&lt;br /&gt;
File "/home/users/ross/bin/BUILD/lib/python2.3/site-packages/&lt;br /&gt;
pulltree.py", line 178, in serialize&lt;br /&gt;
qname = item.qname(tag, default=1)&lt;br /&gt;
AttributeError: _ElementInterface instance has no attribute 'qname'&lt;/p&gt;
&lt;p&gt;It appears to be trying but not succeeding.  I hoped that adding the &lt;br /&gt;
URI to the Element constructor would have done the right thing, &lt;br /&gt;
but obviously not.  Is this another bug in my code, or in Kid?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Escaping { and }</title><link href="https://sourceforge.net/p/splice/bugs/2/" rel="alternate"/><published>2004-12-09T11:31:51Z</published><updated>2004-12-09T11:31:51Z</updated><author><name>Elliotte Rusty Harold</name><uri>https://sourceforge.net/u/elharo/</uri></author><id>https://sourceforge.net2ed2cca6e61d7f6c02ee39541302e890e61fae69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The language spec does not specify what to do with&lt;br /&gt;
attribute values that contain literal brace characters;&lt;br /&gt;
i.e. that are not intended to be interpreted as&lt;br /&gt;
attribute value templates. There needs to be some&lt;br /&gt;
escaping mechanism: backslashes, double braces,&lt;br /&gt;
something. Perhaps it already exists and just needs to&lt;br /&gt;
be documented. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>no contact information</title><link href="https://sourceforge.net/p/splice/bugs/1/" rel="alternate"/><published>2004-12-09T11:18:57Z</published><updated>2004-12-09T11:18:57Z</updated><author><name>Elliotte Rusty Harold</name><uri>https://sourceforge.net/u/elharo/</uri></author><id>https://sourceforge.net57fc0e76c3036de6d24ca4669fd81a20647ee2bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There's no contact information anywhere obvious on your&lt;br /&gt;
web site.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>