This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9538 - Improve code references
Summary: Improve code references
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: fd
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 09:23 UTC by fd
Modified: 2010-04-26 11:54 UTC (History)
0 users

See Also:


Attachments

Description fd 2010-04-16 09:23:51 UTC
For users, reports of errors are way more useful when they have some direct way to see where the error occurred.

Depending on the test, and in particular on how the test is actually conducted (XSLT, Java, third-party library), the mobileOK Checker returns incriminated code in inconsistent ways, sometimes with line and column information, sometimes without, sometimes with wrong info (see Bug 7208).

Try to improve the situation and report line info as much as possible.
Comment 1 fd 2010-04-26 11:54:14 UTC
More specific code extracts are now returned. Depending on the test, this means:
- either the incriminated tag and the tag only, which is typically useful for errors triggered by specific attribute values.
- or the incriminated tag along with the beginning (about 40 characters) of its content.

See also Bug 6962