equal
deleted
inserted
replaced
|
1 StartDocument( documentVersion="1.0" ) |
|
2 Comment( text=" Namespace equality test: use of entity reference " ) |
|
3 DTD( text=" |
|
4 <!DOCTYPE foo [ |
|
5 <!ELEMENT foo ANY> |
|
6 <!ATTLIST foo xmlns:a CDATA #IMPLIED |
|
7 xmlns:b CDATA #IMPLIED |
|
8 xmlns:c CDATA #IMPLIED> |
|
9 <!ELEMENT bar ANY> |
|
10 <!ATTLIST bar a:attr CDATA #IMPLIED |
|
11 b:attr CDATA #IMPLIED |
|
12 c:attr CDATA #IMPLIED> |
|
13 <!ENTITY tilde "~"> |
|
14 ]>" dtdName="foo" |
|
15 EntityDeclaration( name="tilde" value="~" ) |
|
16 ) |
|
17 StartElement( name="foo" qualifiedName="foo" |
|
18 NamespaceDeclaration( prefix="a" namespaceUri="http://example.org/~wilbur" ) |
|
19 |
|
20 NamespaceDeclaration( prefix="b" namespaceUri="http://example.org/~wilbur" ) |
|
21 ) |
|
22 Characters( whitespace text=" |
|
23 |
|
24 " ) |
|
25 Invalid( name="bar" qualifiedName="bar" |
|
26 Attribute( name="attr" namespaceUri="http://example.org/~wilbur" qualifiedName="a:attr" prefix="a" value="1" ) |
|
27 |
|
28 Attribute( name="attr" namespaceUri="http://example.org/~wilbur" qualifiedName="b:attr" prefix="b" value="2" ) |
|
29 ) |
|
30 ERROR: Attribute redefined. |