This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://validator.w3.org/check?uri=http://example.invalid&output=n3 "end of document in prolog" might not be the best way to handle this; HEAD inherits this problem from 0.7.x; I'm not sure though what should be done here, the non-HTML output modes are not really designed to handle this as yet.
The XML (soon-to-be soap) output has "fault" messages for this exact purpose. Not sure about earl/n3.
(In reply to comment #1) > The XML (soon-to-be soap) output has "fault" messages for this exact purpose. > Not sure about earl/n3. Earl output will be updated in the near future, with the update of the earl spec. Targeting a future release.
Note on the issue: the brokenness mostly comes from sub abort_if_error_flagged() which does not take into account outputs other than html. The issue is somewhat alleviated for the soap output by a hack that passes all the File->{Templates}->{Error}->param()s to the SOAPFault template, but it would be good to rewrite this with a cleaner model where: * for all of validation parameters are passed to only two html::template objects (output and fatal error) - or only one. * at output time, the template is assigned to a specific output