NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 485 - spec-scraped content-model/contexts/attributes details should be emitted as info messages, not as part of error messages
spec-scraped content-model/contexts/attributes details should be emitted as i...
Status: NEW
Classification: Unclassified
Component: Web service formats
All All
: P2 enhancement
Assigned To: Nobody
: 486 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2009-04-15 10:35 CEST by Michael[tm] Smith
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-04-15 10:35:50 CEST
Consider output of, e.g.,

In that output, the following is the real error message:
Attribute bar not allowed on element link at this point.
From line 5, column 1; to line 5, column 44
e</title>↩<link bar="foo" href="url" rel="stylesheet">↩</hea

But also in that message, non-error informational details are included (details scraped from the spec):
Element-specific attributes for element link:
Also, the title attribute has special semantics on this element.

Ideally, it seems like the actual error-message part should be separated/separable from the informational part. I can imagine, for example, that some users might want to suppress the informational content and just see the actual errors. Currently, they can't do that for this case.
Comment 1 Michael[tm] Smith 2009-04-15 12:00:48 CEST
*** Bug 486 has been marked as a duplicate of this bug. ***