forked from SWI-Prolog/packages-sgml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jan Wielemaker
committed
Jul 8, 2003
1 parent
cf5de4b
commit 3d13035
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE testdoc [ | ||
<!--* test swi: check to see how SWI handles non-ASCII characters | ||
* in Unicode. Named entities, numeric character references, | ||
* and native UTF8 may all be different. | ||
*--> | ||
<!ENTITY ntilde "ñ" ><!-- small n, tilde --> | ||
<!ENTITY lsquo "‘" ><!--=single quotation mark, left--> | ||
<!ENTITY rsquo "’" ><!-- = x2019 single quotation mark, right--> | ||
<!ENTITY townname "Española"> | ||
<!ENTITY townnum "Española"> | ||
<!ENTITY scarequote1 "a ‘test’ for you"> | ||
<!ENTITY scarequote2 "a ‘test’ for you"> | ||
]> | ||
<testdoc id="t7-20020923" resp="MSM"> | ||
<names>From Española -- a ‘test’ for you.</names> | ||
<nums>From Española -- a ‘test’ for you.</nums> | ||
<names>From &townname; -- &scarequote1;.</names> | ||
<nums>From &townname; -- &scarequote2;.</nums> | ||
</testdoc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[element(testdoc, [id='t7-20020923', resp='MSM'], ['\n', element(names, [], ['From Espa�ola -- a ', entity(lsquo), test, entity(rsquo), ' for you.']), '\n', element(nums, [], ['From Espa�ola -- a ', entity(8216), test, entity(8217), ' for you.']), '\n', element(names, [], ['From Espa�ola -- a ', entity(lsquo), test, entity(rsquo), ' for you.']), '\n', element(nums, [], ['From Espa�ola -- a ', entity(8216), test, entity(8217), ' for you.']), '\n'])]. | ||
[]. |