Project

Profile

Help

Bug #2528

closed

Generated Schema Validation report not valid against validation-report.xsd

Added by O'Neil Delpratt over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2015-12-04
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:

Description

Reported by user Yitzhak Khabinsky:

For completeness, I decided to validated the report file in the attachment against the https://dev.saxonica.com/repos/archive/opensource/latest9.7/samples/schemas/validation-reports.xsd
 
It produced the full list of the 24 errors:
Validating report.xml...
file:///d:/Temp/report.xml:2,145: missing required attribute 'uri'
file:///d:/Temp/report.xml:7,45: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[1]/Q{http://www.millicom.com}OrderType[1]' is invalid anyURI
file:///d:/Temp/report.xml:7,45: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:7,45: attribute 'constraint' is not declared for element 'error'
file:///d:/Temp/report.xml:9,25: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[63]' is invalid anyURI
file:///d:/Temp/report.xml:9,25: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:11,25: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[65]' is invalid anyURI
file:///d:/Temp/report.xml:11,25: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:13,25: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[67]' is invalid anyURI
file:///d:/Temp/report.xml:13,25: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:15,25: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[68]' is invalid anyURI
file:///d:/Temp/report.xml:15,25: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:17,25: value '/Q{http://www.millicom.com}root[1]/Q{http://www.millicom.com}r[69]' is invalid anyURI
file:///d:/Temp/report.xml:17,25: attribute 'xsd-part' is not declared for element 'error'
file:///d:/Temp/report.xml:19,53: no declaration found for element 'validator'
file:///d:/Temp/report.xml:19,53: attribute 'name' is not declared for element 'validator'
file:///d:/Temp/report.xml:19,53: attribute 'version' is not declared for element 'validator'
file:///d:/Temp/report.xml:20,41: attribute 'warnings' is not declared for element 'results'
file:///d:/Temp/report.xml:22,34: no declaration found for element 'schema'
file:///d:/Temp/report.xml:22,34: attribute 'file' is not declared for element 'schema'
file:///d:/Temp/report.xml:22,34: attribute 'xsd-version' is not declared for element 'schema'
file:///d:/Temp/report.xml:23,48: no declaration found for element 'run'
file:///d:/Temp/report.xml:23,48: attribute 'at' is not declared for element 'run'
file:///d:/Temp/report.xml:24,16: element 'validator' is not allowed for content model '((schema-product,results,xsd-file),run-on)'
 
The XML document report.xml is NOT valid (24 errors)

I managed to reproduce the bug reported by user.

Actions #1

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from In Progress to Resolved
Actions #2

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Resolved to In Progress
Actions #3

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Schema has been updated to the latest version of the validation reports.

Actions #4

Updated by O'Neil Delpratt over 6 years ago

  • Applies to branch 9.7 added
  • Fix Committed on Branch 9.7 added
Actions #5

Updated by O'Neil Delpratt over 6 years ago

  • Fixed in Maintenance Release 9.7.0.2 added

Bug fix applied in the Saxon 9.7.0.2 maintenance release

Actions #6

Updated by O'Neil Delpratt over 6 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF