File: TestEncoding.xml

package info (click to toggle)
libnb-platform18-java 12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 729,800 kB
  • sloc: java: 5,059,097; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (57 lines) | stat: -rw-r--r-- 2,118 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ex1.xml                                                      -->
<!-- This is a simple XML source file.  Object class metamethod   -->
<!-- m3 includes 8-bit ASCII text, with a tilde-n and accent-e    -->
<!-- characters embedded, to test the UTF8->native codeset        -->
<!-- conversion feature of the SAX expat driver.  As long as this -->
<!-- test is run under ISO-8859-1 localization, test output should-->
<!-- be identical to test input, with one odd byte representing   -->
<!-- each of these 8-bit characters.                              -->
<!--                                                              -->
<!-- The vi editor on Sun Solaris displays the two odd characters -->
<!-- as \161 and \151.                                            -->
<!--                                                              -->

<!-- <!DOCTYPE FORTEDDL SYSTEM "TestEncoding.dtd" []> -->
<FORTEDDL>
	<PHASE OBJECTTYPE="MetaPlan.MetaClass" OBJECTNAME="c1" NUMBER="1">
		<ATTRIBUTE NAME="Name">c1</ATTRIBUTE>
		<ATTRIBUTE NAME="MethodArray">
			<ARRAY>
				<MYOBJECT CLASS="MetaMethod">
					<ATTRIBUTE NAME="Name">m1</ATTRIBUTE>
					<ATTRIBUTE NAME="Text">
	task.lgr.putline('this is m1');
	return;
					</ATTRIBUTE>
				</MYOBJECT>
				<MYOBJECT CLASS="MetaMethod">
					<ATTRIBUTE NAME="Name">m2</ATTRIBUTE>
					<ATTRIBUTE NAME="Text">
	                <?FORTE ThisIsAProcessingInstruction ?>
	task.lgr.putline('this is m2');
	return;
					</ATTRIBUTE>
				</MYOBJECT>
				<MYOBJECT CLASS="MetaMethod">
					<ATTRIBUTE NAME="Name">m3</ATTRIBUTE>
					<ATTRIBUTE NAME="8-bit ASCII text">
	task.lgr.putline('Yo amo habaero chils');
	return;
					</ATTRIBUTE>
				</MYOBJECT>
			</ARRAY>
		</ATTRIBUTE>
		<ANNOTATION OBJECTTYPE="CrossRefInfo" NAME="cr1">
			<ATTRIBUTE NAME="InfoArray">
				<ARRAY>
					<MYOBJECT CLASS="infoItem">
						<ATTRIBUTE NAME="Reference">putline</ATTRIBUTE>
						<ATTRIBUTE NAME="Class">c1</ATTRIBUTE>
						<ATTRIBUTE NAME="Method">m1</ATTRIBUTE>
					</MYOBJECT>
				</ARRAY>
			</ATTRIBUTE>
		</ANNOTATION>
	</PHASE>
</FORTEDDL>