Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/bug147714.jet')
-rw-r--r--tests/org.eclipse.jet.tests/data/bug147714.jet11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/data/bug147714.jet b/tests/org.eclipse.jet.tests/data/bug147714.jet
new file mode 100644
index 0000000..ec12e85
--- /dev/null
+++ b/tests/org.eclipse.jet.tests/data/bug147714.jet
@@ -0,0 +1,11 @@
+<%-- Bug 147714 requests the JET compiler to treat <tag ...> as <tag .../> if tag is an emptyTag.
+This is for compatibility with DPTK: http://www.alphaworks.ibm.com/tech/dptk.
+Since DPTK does not use namespace prefixes, the fix only applies to tags with not prefix.
+--%>
+<%@taglib id="org.eclipse.jet.controlTags" prefix="c" %>
+<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="" %>
+
+<%-- line 8: expect error --%><c:get select="$foo">
+<%-- line 9: expect ok --%><c:get select="$foo"/>
+<%-- line 10: expect warning --%><nl>
+<%-- line 11: expect ok --%><nl/>

Back to the top