2014-10-22 13:24:46 -06:00

85 lines
1.3 KiB
Plaintext

${greeting("World")
<div>
${invalid expression%}
</div>
<div class="${invalid">
</div>
<for>
Missing each attribute
</for>
<for each="item">
</for>
<for each="item in items" invalid="true">
Invalid attribute
</for>
<for each="item in items" separator="${;">
Invalid separator
</for>
<c-invalidTag>
</c-invalidTag>
<div for="item in items; invalid=true">
</div>
<choose>
<when test="true">A</when>
<otherwise>INVALID</otherwise>
<when test="true">B</when>
</choose>
<choose>
<when test="false">A</when>
INVALID TEXT
<when test="true">TRUE</when>
<otherwise>C</otherwise>
</choose>
<def>
</def>
<def function="invalid-function-name()">
<c-invalidTag2></c-invalidTag2>
</def>
<include>Missing template attribute</include>
<with vars="x=1;b=2;1">
</with>
<if test="false">
A
</if>
INVALID
<else>
C
</else>
<if test="false">
A
</if>
INVALID
<else-if test="false">
A
</else-if>
<else>
C
</else>
<div class="test">
<attr name="class" value="duplicate"/>
</div>
<test-popover title="Popover Title" invalidAttr1="invalidValue1">
<attr name="invalidAttr2" value="invalidValue2"/>
<attr name="invalidAttr3">invalidValue3</attr>
<attr name="invalidAttr4" if="invalidIf">invalidValue4</attr>
</test-popover>