Updates:
Status: Accepted
Owner:
fgeor...@gmail.com
Comment #1 on issue 57 by
fgeor...@gmail.com: Testing the whitespace nodes
http://code.google.com/p/xspec/issues/detail?id=57
Hi,
Sorry for the late response... Actually, this is on purpose. We want
the above test to succeed exactly for the same reason that we want the
following test to succeed:
{{{
<scenario label="test">
<call template="identity">
<param name="content">
<w:t>
<text>Hello, world!</text>
</w:t>
</param>
</call>
<expect>
<w:t>
<text>Hello, world!</text>
</w:t>
</expect>
</scenario>
}}}
But I found what I think is a bug, because I would say I'd like the
following to fail:
{{{
<scenario label="test">
<call template="identity">
<param name="content">
<w:t>
<space xml:space="preserve"> </space>
</w:t>
</param>
</call>
<expect>
<w:t>
<space xml:space="preserve"> </space>
</w:t>
</expect>
</scenario>
}}}