Actions
Bug #2528
closedGenerated Schema Validation report not valid against validation-report.xsd
Status:
Closed
Priority:
Normal
Assignee:
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.
Updated by O'Neil Delpratt over 8 years ago
- Status changed from In Progress to Resolved
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to In Progress
Updated by O'Neil Delpratt over 8 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.
Updated by O'Neil Delpratt over 8 years ago
- Applies to branch 9.7 added
- Fix Committed on Branch 9.7 added
Updated by O'Neil Delpratt about 8 years ago
- Fixed in Maintenance Release 9.7.0.2 added
Bug fix applied in the Saxon 9.7.0.2 maintenance release
Updated by O'Neil Delpratt about 8 years ago
- Status changed from Resolved to Closed
Please register to edit this issue
Actions