Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / lib / python2.4 / test / output / test_pyexpat
CommitLineData
920dae64
AT
1test_pyexpat
2OK.
3OK.
4OK.
5OK.
6OK.
7OK.
8OK.
9OK.
10OK.
11OK.
12OK.
13OK.
14PI:
15 'xml-stylesheet' 'href="stylesheet.css"'
16Comment:
17 ' comment data '
18Notation declared: ('notation', None, 'notation.jpeg', None)
19Unparsed entity decl:
20 ('unparsed_entity', None, 'entity.file', None, 'notation')
21Start element:
22 'root' {'attr1': 'value1', 'attr2': 'value2\xe1\xbd\x80'}
23NS decl:
24 'myns' 'http://www.python.org/namespace'
25Start element:
26 'http://www.python.org/namespace!subelement' {}
27Character data:
28 'Contents of subelements'
29End element:
30 'http://www.python.org/namespace!subelement'
31End of NS decl:
32 'myns'
33Start element:
34 'sub2' {}
35Start of CDATA section
36Character data:
37 'contents of CDATA section'
38End of CDATA section
39End element:
40 'sub2'
41External entity ref: (None, 'entity.file', None)
42End element:
43 'root'
44PI:
45 u'xml-stylesheet' u'href="stylesheet.css"'
46Comment:
47 u' comment data '
48Notation declared: (u'notation', None, u'notation.jpeg', None)
49Unparsed entity decl:
50 (u'unparsed_entity', None, u'entity.file', None, u'notation')
51Start element:
52 u'root' {u'attr1': u'value1', u'attr2': u'value2\u1f40'}
53NS decl:
54 u'myns' u'http://www.python.org/namespace'
55Start element:
56 u'http://www.python.org/namespace!subelement' {}
57Character data:
58 u'Contents of subelements'
59End element:
60 u'http://www.python.org/namespace!subelement'
61End of NS decl:
62 u'myns'
63Start element:
64 u'sub2' {}
65Start of CDATA section
66Character data:
67 u'contents of CDATA section'
68End of CDATA section
69End element:
70 u'sub2'
71External entity ref: (None, u'entity.file', None)
72End element:
73 u'root'
74PI:
75 u'xml-stylesheet' u'href="stylesheet.css"'
76Comment:
77 u' comment data '
78Notation declared: (u'notation', None, u'notation.jpeg', None)
79Unparsed entity decl:
80 (u'unparsed_entity', None, u'entity.file', None, u'notation')
81Start element:
82 u'root' {u'attr1': u'value1', u'attr2': u'value2\u1f40'}
83NS decl:
84 u'myns' u'http://www.python.org/namespace'
85Start element:
86 u'http://www.python.org/namespace!subelement' {}
87Character data:
88 u'Contents of subelements'
89End element:
90 u'http://www.python.org/namespace!subelement'
91End of NS decl:
92 u'myns'
93Start element:
94 u'sub2' {}
95Start of CDATA section
96Character data:
97 u'contents of CDATA section'
98End of CDATA section
99End element:
100 u'sub2'
101External entity ref: (None, u'entity.file', None)
102End element:
103 u'root'
104
105Testing constructor for proper handling of namespace_separator values:
106Legal values tested o.k.
107Caught expected TypeError:
108ParserCreate() argument 2 must be string or None, not int
109Caught expected ValueError:
110namespace_separator must be at most one character, omitted, or None