Skip to content

Commit

Permalink
* Test declaring entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wielemaker committed Dec 20, 2004
1 parent d8ecc6a commit 7a1e024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Test/ok/wchar.ok
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[element(test, [], ['\n ', element(li, [], ['Some cyrillic chars: ий']), '\n ', element(li, [], ['This a an sizzors symbol: ✄']), '\n ', element(a, [att='Cirle with 1: ➀'], []), '\n'])].
[element(test, [], ['\n ', element(li, [], ['Some cyrillic chars: ий']), '\n ', element(li, [], ['This a an sizzors symbol: ✄']), '\n ', element(li, [], ['OK, entered via entity: ✓']), '\n ', element(a, [att='Cirle with 1: ➀', ok='✓'], []), '\n'])].
[].
6 changes: 5 additions & 1 deletion Test/wchar.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE test [
<!ENTITY ok CDATA "&#10003">
]>
<test>
<li>Some cyrillic chars: &#1080;&#1081;</li>
<li>This a an sizzors symbol: &#9988;</li>
<a att="Cirle with 1: &#10112;"/>
<li>OK, entered via entity: &ok;</li>
<a att="Cirle with 1: &#10112;" ok="&ok;"/>
</test>

0 comments on commit 7a1e024

Please sign in to comment.