ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/ActiveDoc/test/testdata/SwitcherTest
Revision: 1.1
Committed: Fri Dec 17 08:44:13 1999 UTC (25 years, 5 months ago) by williamc
Branch: MAIN
CVS Tags: ProtoEnd
Log Message:
basic

File Contents

# User Rev Content
1 williamc 1.1 This is some nasty things that can cause an innocent tag parser to fall over
2     None context stuff here
3     <test1>A Simple test tag</test1>
4     More None Context 2
5     <test2></test2>No Spaces Between tags
6     <test3> </test3>Single Space Between tags
7     <test>test text:+Metachars between tags</test>
8     <test label1=hello>label1 : hello test text:Simple text label</test>
9     <test label1=hello label2=goodbye>label1 : hello
10     label2 : goodbye test text:Simple text two labels</test>
11     <test label1=hello label2=goodbye >label1 : hello
12     label2 : goodbye
13     test text:Simple text two labels plus space</test>
14     <test label1="quoted" label2="quotedtoo">
15     label1 : quoted label2 : quotedtoo
16     test text:Quoted text</test>
17     <test label1='"quotedquotes"'>
18     label1 : "quotedquotes"
19     test text:Quoted quotes 1</test>
20     <test label1="'quotedquotes'">
21     label1 : 'quotedquotes'
22     test text:Quoted quotes 2 (reversed)</test>
23     <test label1="+.*">
24     label1 : +.*
25     test text:Quoted MetaCharacters</test>
26     <test label1=+.*>
27     label1 : +.*
28     test text:Unquoted MetaCharacters</test>
29     <test label1=Something_quite_long
30     label2="Split Across Lines">
31     label1 : Something_quite_long
32     label2 : Split Across Lines
33     test text:</test>
34     <test>
35     test text:Layer 1 text
36     <test label=why>
37     label : why
38     test text: Layer 2 text<test label=not>label : not
39     test text: Layer 3 text</test>
40     test text:Back to Layer 2
41     </test>
42     test text: Back to Layer 1</test>
43     <testformated>
44     Here we want to retain the
45     newlines
46     line 1
47     line 2
48     line 3
49     line 4
50     </testformated>
51     <testsplice1>
52     testsplice1 text: Testing effect of closing down a tag out of order
53     <testsplice2>
54     testsplice2 text: Layer 2
55     <testsplice3>
56     testsplice3 text: Layer 3
57     </testsplice2>testsplice3 text: Closed 2 before 3 - should still be sending to context 3 and skip 2 later
58     </testsplice3>
59     testsplice1 text: Miss out context 2</testplice1>