summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/data/21.ref
blob: 1098c6800fb697c27cb5d6ae6d0117b4ff4ba291 (plain)
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
StartDocument( )
DTD( text="<!DOCTYPE html:html [
<!ENTITY ent1 'foo'>
<!ENTITY ent2 'foo<br/>'>
<!ELEMENT html:html (html:head, html:body)>
<!ATTLIST html:html xmlns:html CDATA #IMPLIED>
<!ELEMENT html:head (html:title,script*)>
<!ATTLIST html:head xmlns CDATA #IMPLIED>
<!ELEMENT script (#PCDATA)>
<!ATTLIST script 
     src CDATA #IMPLIED
     type CDATA #IMPLIED
     charset CDATA #IMPLIED>
<!ELEMENT html:title (#PCDATA)>
<!ELEMENT html:body (html:p)>
<!ELEMENT html:p (#PCDATA|html:br)*>
<!ATTLIST html:p class CDATA #IMPLIED>
<!ELEMENT html:br EMPTY>
]>" dtdName="html"
    EntityDeclaration( name="ent1" value="foo" )

    EntityDeclaration( name="ent2" value="foo<br/>" )
 )
StartElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" prefix="html"
    NamespaceDeclaration( prefix="html" namespaceUri="http://www.w3.org/1999/xhtml" )
 )
Characters( whitespace text="
" )
StartElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" prefix="html"
    NamespaceDeclaration( namespaceUri="http://www.w3.org/1999/xhtml" )
 )
Characters( whitespace text="
" )
StartElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" prefix="html" )
Characters( text="test file" )
EndElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" )
Characters( whitespace text="
" )
EndElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" )
Characters( whitespace text="
" )
StartElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" prefix="html" )
Characters( whitespace text=" 
" )
StartElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" prefix="html"
    Attribute( name="class" qualifiedName="class" value="visible:false" )
 )
Characters( text="bar" )
EndElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" )
Characters( whitespace text="
" )
EndElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" )
Characters( whitespace text="
" )
EndElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" )
EndDocument( )