[erlang-bugs] docbuilder doesn't like whitespace after CDATA section
Matthias Lang
matthias@REDACTED
Mon Mar 31 10:46:30 CEST 2008
Hi,
I've attached a minimal file demonstrating the problem. Here's what
R12B-1 says when I try to compile the document:
4> docb_transform:file("cdata_problem").
*** Error: Formatting trouble in code: {function_clause,
[{docb_html,rule,
[[code,section,chapter],
{4,
["NONE"],
[{pcdata,[],"\tThis does not\\n\t\n"},
{pcdata,[]," \n"}]}]},
{docb_main,handle_rule_call_result,8},
{docb_main,pp_list,5},
{docb_main,pp_list,5},
{docb_main,handle_rule_call_result,8},
{docb_main,pp_list,5},
{docb_main,pp_list,5},
{docb_main,handle_rule_call_result,8}]}
*** Error: Failure in rule([code,section,chapter], {4,
["NONE"],
[{pcdata,[],"\tThis does not\\n\t\n"},
{pcdata,[]," \n"}]})
ok
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdata_problem.xml
Type: application/octet-stream
Size: 394 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080331/07caf08a/attachment.obj>
More information about the erlang-bugs
mailing list