Malformed entity references flagged on wrong line
Posted: Wed Jan 10, 2007 6:33 pm
Hi,
In the attached file, I get an error flagged on line 6 when the actual error is on line 9. This happens in both the standalone and Eclipse editors. Is this a known bug, or is it something peculiar to do with my setup? It seems pretty fundamental to me, and means I currently have to resort to the command line to find such errors in long XHTML files.
Any thoughts?
Cheers,
TIM
In the attached file, I get an error flagged on line 6 when the actual error is on line 9. This happens in both the standalone and Eclipse editors. Is this a known bug, or is it something peculiar to do with my setup? It seems pretty fundamental to me, and means I currently have to resort to the command line to find such errors in long XHTML files.
Any thoughts?
Cheers,
TIM
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyleft Tim Booth blah blah etc
-->
<foo>
<bar>This line is nice & well-formed.</bar>
<baz>
but
<this line="is naughtly & has an unescaped ampersand!" />
</baz>
</foo>