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.
* Check entities in long character strings
- Loading branch information
Jan Wielemaker
committed
Dec 20, 2004
1 parent
79c3dd5
commit d8ecc6a
Showing
2 changed files
with
18 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,2 @@ | ||
[element(test, [], ['\n', element(p, [], ['\nThis is a long test holding, with the intention to switch to wide character\nencoding from the local buffer to malloc\'ed buffer. This (✌) is a\npiece symbol.\n']), '\n', element(p, [], ['\nThis is a long test holding, with the intention to switch to wide character\nencoding after the output buffer has been switched to malloc\'ed mode. For this\nreason, our buffer should should hold more than 256 character, as defined in\nutil.h in the structure ocharbuf. This (➽) is a fat arrow.\n']), '\n'])]. | ||
[]. |
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,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<test> | ||
<p> | ||
This is a long test holding, with the intention to switch to wide character | ||
encoding from the local buffer to malloc'ed buffer. This (✌) is a | ||
piece symbol. | ||
</p> | ||
<p> | ||
This is a long test holding, with the intention to switch to wide character | ||
encoding after the output buffer has been switched to malloc'ed mode. For this | ||
reason, our buffer should should hold more than 256 character, as defined in | ||
util.h in the structure ocharbuf. This (➽) is a fat arrow. | ||
</p> | ||
</test> | ||
|