Skip to content

Commit

Permalink
* Properly pass programming instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wielemaker committed Nov 15, 2006
1 parent bda8e3d commit da998d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Nov 15, 2006

* FIXED: properly pass <?pi> instructions.

Oct 27, 2006

* ENHANCEMENT: Started branch XML_UNICODE to provide support for Unicode
Expand Down
2 changes: 2 additions & 0 deletions Test/ok/pi.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[element(test, [], ['\n', pi('this is a pi'), '\n'])].
[].
3 changes: 3 additions & 0 deletions Test/pi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<test>
<?this is a pi>
</test>
2 changes: 1 addition & 1 deletion sgml2pl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ on_pi(dtd_parser *p, const ichar *pi)

PL_unify_term(h,
PL_FUNCTOR, FUNCTOR_pi1,
PL_CHARS, pi);
PL_NWCHARS, wcslen(pi), pi);

PL_reset_term_refs(h);
}
Expand Down

0 comments on commit da998d3

Please sign in to comment.