2014-02-06 14:45:45 -07:00

93 lines
2.0 KiB
Plaintext

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