Comments (7)
Yes, at least for your environment and test file, version 1.1.0 was working correctly. But you can easily have a scenario where schema validation works and schematron validation will fail with that same error in 1.1.0 too.
So these are bugs:
-
a regression introduced in 1.1.1 that the schematron validation is started when schema validation fails
-
a bug in 1.1.x that processing errors while validating with schematron (and also when validation with schema) are not properly progagated to the callee via Result-object.
This is fixed in master and branch-1.1.x. I'll do some testing in the next few days before pushing a new release. Thanks for reporting!
from validator.
the error report indicates, that the Version 1.1.0 is failing at schema validation step and stopping further processing while 1.1.2 is proceeding after this and then just fails on schematron step.
There was bug in 1.1.0 regarding malformed XML or garbage, that has been fixed in 1.1.1. Unfortunately this results in this error. I'll fix this
from validator.
Hi,
thx for reporting.
However, this is not issue of the validator itself. It is related to changed validation rules as configured in validator-configuration-xrechnung_1.2.2. Even more precisely Error evaluating (fn:exists(...) and fn:exists(...) and xs:date(EndDate) ge xs:date(StartDate) or fn:empty(...) or fn:empty(...)) in xsl:when/@test on line 2036 column 188 of EN16931-UBL-validation.xsl:
tells me, it is a validation rule of https://github.com/ConnectingEurope/eInvoicing-EN16931 which we just integrate in our validator-configuration-xrechnung.
I will try to ask them that they write this rule more robust and with better error messages.
from validator.
Thank you for a quick response.
Using the configuration version 1.2.2_2019-12-30 and validationtool-1.1.0 I don't get the exception. It occurs just after updating the validation tool to version 1.1.2.
from validator.
Ah ok, then we might have two issues at the same time! We will investigate this too.
from validator.
@apenski does it seem like a bug in 1.1.0 ?
from validator.
I assume that behvaiour of the version 1.1.0 is actually correct, is it true? Two schema violations make sense for me :) Moreover thank you for taking care of the problem. I appreciate it.
from validator.
Related Issues (20)
- Role is null in FailedAssert HOT 9
- Loading of XSLT throws exception HOT 3
- Absolute path required
- Jakarta support HOT 2
- Deamon Mode Exception at startup HOT 4
- IllegalArgumetException wenn Repository Parameter nicht angegeben HOT 2
- BR-17 BT-59 Same name fΓΌr Payee and Seller is an error since xrechnung-2.3 HOT 3
- Multi language support for reports
- Assertion results output
- Saxon throws exception with new 1.5.0 validator (Java) HOT 4
- Documentation for version 1.5.0 not updated
- ValidationTool 1.5.0 Fails with "java.lang.IllegalArgumentException: No repository location for scenario definition 'default_1'" HOT 2
- Broken matching in multiple scenario files
- maven pom doesn't specify transitive dependencies HOT 2
- Document valid on https://kositvalidator.service-bw.de/ (1.4.2) not valid locally (neither 1.4.2 nor 1.5.0) HOT 5
- Custom Level ignored in Result via Java Api HOT 1
- Update README: "Third party validation configurations"
- Command line output says "reject", validation result document says "accept" HOT 1
- Outdated API Documentation for 1.5.0
- Check result to stdout causes an exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validator.