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 2342 - opensp warning of type "X" triggers invalid report
Summary: opensp warning of type "X" triggers invalid report
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.0
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://qa-dev.w3.org/wmvs/HEAD/dev/te...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 11:05 UTC by Olivier Thereaux
Modified: 2007-02-22 05:42 UTC (History)
0 users

See Also:


Attachments
xmlspec sample doc with ref to missing id (295 bytes, application/xml)
2005-10-14 11:07 UTC, Olivier Thereaux
Details

Description Olivier Thereaux 2005-10-14 11:05:43 UTC
A document I was testing caused the following warning:

      /usr/bin/onsgmls:<OSFD>0:73:109:3086863860.183:X: reference to non-existent ID "FOO"

As far as I can tell (but can't find much doc on it) X is a type of warning like W and Q, and unlike E which 
are errors. Our algorithm for documents with only warnings is to report a valid result and output the 
warning, e.g http://qa-dev.w3.org/wmvs/HEAD/dev/tests/ampersand-as-data.html

However in this case the result was 
Failed validation, 0 error
Which is, well... wrong.

My knowledge or parse() and parse_errors() did not help me find the cause of this. Any idea? 

Note that the development version 0.8dev (based on S::P::O) did not show this behavior.
Comment 1 Olivier Thereaux 2005-10-14 11:07:20 UTC
Created attachment 395 [details]
xmlspec sample doc with ref to missing id
Comment 2 Olivier Thereaux 2007-02-22 05:42:45 UTC
Code in the 0.8 branch properly categorizes type X messages from openSP as warnings. See test case in URI.