<svg xmlns="http://www.w3.org/2000/svg">
<text>
<tspan>
<text>This should not appear in rendering.</text>
<textPath>This should not appear in rendering.</textPath>
</tspan>
<tref>
<text>This should not appear in rendering.</text>
<tspan>This should not appear in rendering.</tspan>
<tref>This should not appear in rendering.</tref>
<textPath>This should not appear in rendering.</textPath>
<altGlyph>This should not appear in rendering.</altGlyph>
</tref>
<textPath>
<text>This should not appear in rendering.</text>
<textPath>This should not appear in rendering.</textPath>
<altGlyph>This should not appear in rendering.</altGlyph>
</textPath>
</text>
<tspan>
<text>This should not appear in rendering.</text>
<textPath>This should not appear in rendering.</textPath>
</tspan>
<tref>
<text>This should not appear in rendering.</text>
<tspan>This should not appear in rendering.</tspan>
<tref>This should not appear in rendering.</tref>
<textPath>This should not appear in rendering.</textPath>
<altGlyph>This should not appear in rendering.</altGlyph>
</tref>
<textPath>
<text>This should not appear in rendering.</text>
<textPath>This should not appear in rendering.</textPath>
<altGlyph>This should not appear in rendering.</altGlyph>
</textPath>
<!-- This should not crash. -->
<rect width="100" height="100" fill="green"/>
</svg>