Comments (9)
It is fully backwards compatible because it just relaxes requirements
from validator.
@rkottmann is this a bug within the validator, or is this related to the schematron rules provded by xrechnung?
from validator.
as stated above it seems to be an error in the Validator API. The Schemtron example above is valid schematron.
from validator.
the API basically returns the content of the schematron output (svrl). It's just a reading via JAXB and return from the object. Seems to me, as if there is no "role" in the output. Can you confirm this?
from validator.
Value from svrl-kosit.xsd is not same as in schematron, we have "warning" instead of "WARN". Also, we have cases where one schematron has "error" and other one "ERROR" , therefore use of xsd will not work again. Why don't 'role' is not exposed as plain string?
from validator.
We've re-used a schema for svrl which is used within th KoSIT due to lack of an official xml schema. There's only a relaxng schema.
Looks like this defines the role
just as text
and not as complex enumeration. I'll check whether this can be changed.
@rkottmann What's your opinion on that?
from validator.
Since the complex definition for role is not used directly within the validator, a fix might be just replace it with 'xs:string'
@nikola-krstic-nortal I pushed a change to the branch. Since I"ve no valid example may I ask you to test whether the fix solves the issue?
from validator.
@rkottmann What's your opinion on that?
To relax it to xs:string.
thx for fixing
from validator.
Well, then I'll do that. Wasn't sure about implications in e.g. xrechnung. I'll schedule this for the next minor release (targeted for december)
from validator.
Related Issues (20)
- 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 HOT 1
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.