<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue Jun 18 20:34:07 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/TNS-1/TNS-1.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[TNS-1] Workaround to Clojure 1.2 reader bug</title>
                <link>http://dev.clojure.org/jira/browse/TNS-1</link>
                <project id="10052" key="TNS">tools.namespace</project>
                        <description>&lt;p&gt;The clojure 1.2 reader will allow invalid forms like {:key} to be read in, and only throw an exception on printing. Currently clojure.tools.namespace calls (read rdr) within a try form; the bug means that this particular type of error is never caught. This patch forces the reader to try and resolve with str, allowing clojure.tools.namespace to catch and bury the error.&lt;/p&gt;

&lt;p&gt;I was running into this with moustache templates from lein-newnew on the classpath; these contain namespace headers that look like (ns &lt;tt&gt;name&lt;/tt&gt;.core). This would cause (clojure.tools.namespace/find-namespaces-on-classpath) to fail when printing its results but not when actually running.&lt;/p&gt;</description>
                <environment>Mac OS X, Clojure 1.2.1, Leiningen 1.6.2</environment>
            <key id="15072">TNS-1</key>
            <summary>Workaround to Clojure 1.2 reader bug</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="stuart.sierra">Stuart Sierra</assignee>
                                <reporter username="sritchie">Sam Ritchie</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2011 16:52:05 -0600</created>
                <updated>Tue, 24 Apr 2012 14:07:05 -0500</updated>
                    <resolved>Tue, 24 Apr 2012 14:04:28 -0500</resolved>
                                                                    <due></due>
                    <votes>2</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="27467" author="sritchie" created="Wed, 14 Dec 2011 16:55:24 -0600"  >&lt;p&gt;Funny, jira picked up the moustache markup. a bad namespace looks like (ns { { name } } . core).&lt;/p&gt;</comment>
                    <comment id="27537" author="sritchie" created="Wed, 11 Jan 2012 15:59:35 -0600"  >&lt;p&gt;Ping &amp;#8211; Stuart, any thoughts on this?&lt;/p&gt;</comment>
                    <comment id="27538" author="stuart.sierra" created="Wed, 11 Jan 2012 18:09:44 -0600"  >&lt;p&gt;Why should tools.ns do this? If the syntax is wrong, it&apos;s wrong.&lt;/p&gt;</comment>
                    <comment id="27540" author="sritchie" created="Wed, 11 Jan 2012 18:43:07 -0600"  >&lt;p&gt;Because without this patch, it&apos;s impossible to catch and bury errors from invalid reader syntax. I believe this comes from a bug in the reader that was fixed with 1.2.&lt;/p&gt;</comment>
                    <comment id="27627" author="stuart.sierra" created="Fri, 27 Jan 2012 09:44:25 -0600"  >&lt;p&gt;Declined. It is not the responsibility of this library to catch errors in old versions of Clojure.&lt;/p&gt;</comment>
                    <comment id="28257" author="stuart.sierra" created="Tue, 24 Apr 2012 14:01:19 -0500"  >&lt;p&gt;Reopening because this is still a visible issue for some libraries. I still don&apos;t like it, but I&apos;m going to include it.&lt;/p&gt;</comment>
                    <comment id="28258" author="stuart.sierra" created="Tue, 24 Apr 2012 14:04:28 -0500"  >&lt;p&gt;Patch applied.&lt;/p&gt;</comment>
                    <comment id="28259" author="sritchie" created="Tue, 24 Apr 2012 14:07:05 -0500"  >&lt;p&gt;Great, thanks!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10746" name="0001-Workaround-to-Clojure-1.2-reader-bug.patch" size="1334" author="sritchie" created="Wed, 14 Dec 2011 16:52:05 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10009">Fixed</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>