This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: xml literals
On 05/22/2017 02:26 AM, Damien MATTEI wrote:
hello,
i just want to genrate something like this:
<TD align=center>
but seems not available in kawa, see the errors:
./kawa --output-format html
#|kawa:2|# #<td align=center>toto</td>
/dev/stdin:2:13: missing attribute value
/dev/stdin:2:14: missing space before attribute
/dev/stdin:2:19: missing '=' after attribute
/dev/stdin:2:20: missing attribute value
/dev/stdin:2:21: missing space before attribute
/dev/stdin:2:24: missing '=' after attribute
/dev/stdin:2:25: missing attribute value
/dev/stdin:2:26: missing space before attribute
/dev/stdin:2:28: missing '=' after attribute
/dev/stdin:3:1: missing attribute value
/dev/stdin:3:1: missing '>' after start element
I checked in (to the master branch) some better error recovery:
$ kawa
#|kawa:1|# #<td align=center>toto</td>
/dev/stdin:1:12: missing attribute value (literal values must be quoted)
#|kawa:2|#
--
--Per Bothner
per@bothner.com http://per.bothner.com/