Interesting validation error(back to index)
I've just noticed that, when served as application/xhtml+xml (rather than text/html), FB3 no longer validates, because it injects 9 bytes of garbage data in it's evaluated output. I've no idea when this crept in there, or what those 9 bytes are (they look like ), but some of this can be trimmed away with PHP's trim() function, like this:
eval('?>' . str_replace(array_keys($tags), $tags, trim(file_get_contents(),"")) . '<?php ');
These 9 bytes of data are injected before the
Discussion
The technical upshot of this is that if you want to properly serve FB3 with the corrent MIME type, it won't validate (though it will still parse correctly and run).
Odd.
posted by Elwing on 14 Jul 05 at 8:51 PM

