Open GoogleCodeExporter opened 9 years ago
I was able to recreate this with:
<items>
<item>
<id>1</id>
<labels></labels>
</item>
<item>
<id>2</id>
<labels></labels>
</item>
</items>
Original comment by chiol...@gmail.com
on 12 Nov 2010 at 11:45
I'm also able to generate invalid JSON with:
<item>
</item>
which produced:
items:null}
Note the missing open-brace.
I was able to solve it with:
<xsl:if test="not(preceding-sibling::*)">{</xsl:if>
as the first rule of item:null. I have not run it against the rest of the unit
tests, though.
Original comment by chiol...@gmail.com
on 29 Nov 2010 at 8:13
Original issue reported on code.google.com by
sse...@googlemail.com
on 17 Jun 2008 at 7:19