Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-03-03 16:59:27 +0000
committerCurtis D'Entremont2006-03-03 16:59:27 +0000
commita1334b0681ea79f5b76becdffe1b9ba831681a2c (patch)
treeefee4c384f72dcf33eaf6ae8976ae72ea3e173cc /org.eclipse.ua.tests/data
parent6d26cabc9dc2d0396062b5006958bc2992586023 (diff)
downloadeclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.tar.gz
eclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.tar.xz
eclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.zip
130337 [Help] TOC file parser should ignore unknown elements / attributesv20060303
Diffstat (limited to 'org.eclipse.ua.tests/data')
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html14
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/simple_toc.xml6
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml32
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml35
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt61
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt49
-rw-r--r--org.eclipse.ua.tests/data/help/toc/filteredToc/simple_toc.xml2
-rw-r--r--org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt18
-rw-r--r--org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt18
-rw-r--r--org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt18
10 files changed, 225 insertions, 28 deletions
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html b/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html
new file mode 100644
index 000000000..5918e900f
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
+<HEAD>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+<TITLE>Test</TITLE>
+</HEAD>
+
+<p>
+Test
+</p>
+
+</BODY>
+</HTML>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/simple_toc.xml b/org.eclipse.ua.tests/data/help/toc/extraContent/simple_toc.xml
new file mode 100644
index 000000000..a8e7d8041
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/simple_toc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="test">
+ <topic label="test" href="data/help/toc/extraContent/simple_page.html"/>
+</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml b/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml
new file mode 100644
index 000000000..286bdadf5
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<!--
+A TOC with some extra elements and attributes scattered throughout. It should
+be able to tolerate this.
+-->
+<toc unknownAttribute="value" label="TOC with extra elements">
+ <topic label="Getting started" unknownAttribute2="value2">
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </topic>
+ <blah value="true"/>
+ <topic label="Concepts">
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </topic>
+ <test>
+ <topic label="Tasks">
+ <aergaer/>
+ <test2 attr="true">
+ <gaergr/>
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </test2>
+ </topic>
+ </test>
+ <topic label="Reference">
+ <link toc="data/help/toc/extraContent/data/help/toc/extraContent/simple_page.html" />
+ </topic>
+ <topic label="Tips and tricks" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="What's new" href="data/help/toc/extraContent/simple_page.html_page.html"/>
+ <topic label="Documentation Images" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Legal" aegraerg="aerger" href="data/help/toc/extraContent/simple_page.html"/>
+</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml
new file mode 100644
index 000000000..a97999eb7
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+<toc label="Samples" topic="samples.htm">
+ <topic label="Bats FOR product: Happy Bats, WAS; version: 9.0,8.0 ; platform: z/OS;AIX" href="bats.htm">
+ <criteria name="prodname" value="Happy Bats" />
+ <criteria name="prodname" value="WAS" />
+ <criteria name="version" value="9.0" />
+ <criteria name="version" value="8.0" />
+ <criteria name="platform" value="z/OS" />
+ <criteria name="platform" value="AIX" />
+ <topic label="Caring for your fruit bat FOR Version: 9.0; platform: z/OS; product: WAS" href="batcaring.htm">
+ <criteria name="version" value="9.0" />
+ <criteria name="platform" value="z/OS" />
+ <criteria name="prodname" value="WAS" />
+ </topic>
+ <topic label="Cleaning your fruit bat FOR Version: 8.0; platform: AIX; product: Happy Bats" href="batcleaning.htm">
+ <criteria name="platform" value="AIX" />
+ <criteria name="version" value="8.0" />
+ <criteria name="prodname" value="Happy Bats" />
+ </topic>
+ <topic label="Feeding your bat" href="batfeeding.htm"/>
+ <topic label="Bat sonar" href="batsonar.htm"/>
+ <topic label="Bat guano" href="batguano.htm"/>
+ <topic label="Bat history" href="bathistory.htm"/>
+ <topic label="Bat recycling" href="batreuse.htm"/>
+ </topic>
+ <topic label="Bats FOR product: Happy Bats" href="bats.htm#none">
+ <criteria name="prodname" value="Happy Bats" />
+ <topic label="Feeding your bat" href="batfeeding.htm"/>
+ <topic label="Bat sonar" href="batsonar.htm"/>
+ <topic label="Bat guano" href="batguano.htm"/>
+ <topic label="Bat history" href="bathistory.htm"/>
+ <topic label="Bat recycling" href="batreuse.htm"/>
+ </topic>
+</toc> \ No newline at end of file
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt
new file mode 100644
index 000000000..e7b25dca4
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<toc
+ label="Samples"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml">
+ <topic
+ label="Bats FOR product: Happy Bats, WAS; version: 9.0,8.0 ; platform: z/OS;AIX"
+ href="/org.eclipse.ua.tests/bats.htm">
+ <topic
+ label="Caring for your fruit bat FOR Version: 9.0; platform: z/OS; product: WAS"
+ href="/org.eclipse.ua.tests/batcaring.htm">
+ </topic>
+ <topic
+ label="Cleaning your fruit bat FOR Version: 8.0; platform: AIX; product: Happy Bats"
+ href="/org.eclipse.ua.tests/batcleaning.htm">
+ </topic>
+ <topic
+ label="Feeding your bat"
+ href="/org.eclipse.ua.tests/batfeeding.htm">
+ </topic>
+ <topic
+ label="Bat sonar"
+ href="/org.eclipse.ua.tests/batsonar.htm">
+ </topic>
+ <topic
+ label="Bat guano"
+ href="/org.eclipse.ua.tests/batguano.htm">
+ </topic>
+ <topic
+ label="Bat history"
+ href="/org.eclipse.ua.tests/bathistory.htm">
+ </topic>
+ <topic
+ label="Bat recycling"
+ href="/org.eclipse.ua.tests/batreuse.htm">
+ </topic>
+ </topic>
+ <topic
+ label="Bats FOR product: Happy Bats"
+ href="/org.eclipse.ua.tests/bats.htm#none">
+ <topic
+ label="Feeding your bat"
+ href="/org.eclipse.ua.tests/batfeeding.htm">
+ </topic>
+ <topic
+ label="Bat sonar"
+ href="/org.eclipse.ua.tests/batsonar.htm">
+ </topic>
+ <topic
+ label="Bat guano"
+ href="/org.eclipse.ua.tests/batguano.htm">
+ </topic>
+ <topic
+ label="Bat history"
+ href="/org.eclipse.ua.tests/bathistory.htm">
+ </topic>
+ <topic
+ label="Bat recycling"
+ href="/org.eclipse.ua.tests/batreuse.htm">
+ </topic>
+ </topic>
+</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt
new file mode 100644
index 000000000..e35bbb632
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<toc
+ label="TOC with extra elements"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml">
+ <topic
+ label="Getting started"
+ href="null">
+ <topic
+ label="test"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+ </topic>
+ <topic
+ label="Concepts"
+ href="null">
+ <topic
+ label="test"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+ </topic>
+ <topic
+ label="Tasks"
+ href="null">
+ <topic
+ label="test"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+ </topic>
+ <topic
+ label="Reference"
+ href="null">
+ </topic>
+ <topic
+ label="Tips and tricks"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+ <topic
+ label="What's new"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html_page.html">
+ </topic>
+ <topic
+ label="Documentation Images"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+ <topic
+ label="Legal"
+ href="/org.eclipse.ua.tests/data/help/toc/extraContent/simple_page.html">
+ </topic>
+</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_toc.xml b/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_toc.xml
index fed835a43..ef7cc49c3 100644
--- a/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_toc.xml
+++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_toc.xml
@@ -2,5 +2,5 @@
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="test">
- <topic label="test" href="data/help/dynamicTOC/simple_page.html"/>
+ <topic label="test" href="data/help/filteredTOC/simple_page.html"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt
index 5511aa6e5..70112dd80 100644
--- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt
+++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt
@@ -10,7 +10,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -18,7 +18,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -26,7 +26,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -34,7 +34,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -42,7 +42,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -50,7 +50,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -58,7 +58,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -66,7 +66,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -74,7 +74,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt
index f72ef7146..a62416e5c 100644
--- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt
+++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt
@@ -10,7 +10,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -18,7 +18,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -26,7 +26,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -34,7 +34,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -42,7 +42,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -50,7 +50,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -58,7 +58,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -66,7 +66,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -74,7 +74,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt
index 86b260094..97066bf6e 100644
--- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt
+++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt
@@ -10,7 +10,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -18,7 +18,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -26,7 +26,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -34,7 +34,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -42,7 +42,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -50,7 +50,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -58,7 +58,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -66,7 +66,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic
@@ -74,7 +74,7 @@
href="/org.eclipse.ua.tests/data/help/toc/filteredToc/simple_page.html">
<topic
label="test"
- href="/org.eclipse.ua.tests/data/help/dynamicTOC/simple_page.html">
+ href="/org.eclipse.ua.tests/data/help/filteredTOC/simple_page.html">
</topic>
</topic>
<topic

Back to the top