Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ua.tests/data/help/producer/dynamic2.html')
-rw-r--r--org.eclipse.ua.tests/data/help/producer/dynamic2.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/producer/dynamic2.html b/org.eclipse.ua.tests/data/help/producer/dynamic2.html
new file mode 100644
index 000000000..56d16f0f8
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/producer/dynamic2.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+ Test to make sure the dynamic content producer applies to XHTML inside
+ a file with extension .html
+-->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>dynamic2.html</title>
+</head>
+<body>
+
+<h2>dynamic2.html</h2>
+<p>
+This page contains filtered content.
+</p>
+<p filter="os=invalid">
+This paragraph, which has filter attribute "os=invalid" should always be filtered out.
+</p>
+<p filter="os!=invalid">
+This paragraph, which has filter attribute "os!=invalid" should never be filtered out.
+</p>
+<p filter="plugin=my.invalid.plugin.id.012345">
+This paragraph, which has filter attribute "plugin=my.invalid.plugin.id.012345" should always be filtered out.
+</p>
+<p filter="plugin!=my.invalid.plugin.id.012345">
+This paragraph, which has filter attribute "plugin!=my.invalid.plugin.id.012345" should never be filtered out.
+</p>
+<p>
+ <filter name="plugin" value="my.invalid.plugin.id.012345"/>
+ This paragraph, which has filter element name="plugin", value="my.invalid.plugin.id.012345",
+ should always be filtered out.
+</p>
+<p>
+ <filter name="plugin" value="!my.invalid.plugin.id.012345"/>
+ This paragraph, which has filter element name="plugin", value="!my.invalid.plugin.id.012345",
+ should never be filtered out.
+</p>
+
+<include path="org.eclipse.ua.tests/data/help/producer/include2.html/my.paragraph.id"/>
+
+</body>
+</html>

Back to the top