Bugzilla – Bug 720
Validating post-processed files but reporting source line numbers and file names
Last modified: 2010-02-25 11:45:24 CET
It would be nice if files could be annotated with pragmas that made the validator reset the line number and file name information used for reporting line numbers, so that when validating files constructed from multiple source files or from templates, the original filenames and line numbers would be reported. Some compilers support something similar using "#line 123" or "#file abc.x". I would suggest a similar syntax, but using HTML/XML comments: <!--!LINE 123--><!--!FILE abc.html--> ...or some such.
[adding Yudai to Cc] Yudai, if you have time to look into this enhancement request, please let us know