<document source="test data">
<paragraph>
<reference anonymous="1" name="embedded URI with too much whitespace < http://example.com/ long/path /and /whitespace >">
embedded URI with too much whitespace <
<reference refuri="http://example.com/">
http://example.com/
long/path /and /whitespace >
<paragraph>
<reference anonymous="1" name="embedded URI with too much whitespace at end <http://example.com/ long/path /and /whitespace >">
embedded URI with too much whitespace at end <
<reference refuri="http://example.com/">
http://example.com/
long/path /and /whitespace >
<paragraph>
<reference anonymous="1" name="embedded URI with no preceding whitespace<http://example.com>">
embedded URI with no preceding whitespace<
<reference refuri="http://example.com">
http://example.com
>
<paragraph>
<reference anonymous="1" name="escaped URI <http://example.com>">
escaped URI <
<reference refuri="http://example.com">
http://example.com
>
<paragraph>
See
<reference name="HTML Anchors: <a>" refname="html anchors: <a>">
HTML Anchors: <a>
.