Giter VIP home page Giter VIP logo

Comments (9)

rkottmann avatar rkottmann commented on July 23, 2024 1

It is fully backwards compatible because it just relaxes requirements

from validator.

apenski avatar apenski commented on July 23, 2024

@rkottmann is this a bug within the validator, or is this related to the schematron rules provded by xrechnung?

from validator.

rkottmann avatar rkottmann commented on July 23, 2024

as stated above it seems to be an error in the Validator API. The Schemtron example above is valid schematron.

from validator.

apenski avatar apenski commented on July 23, 2024

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.

nikola-krstic-nortal avatar nikola-krstic-nortal commented on July 23, 2024

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.

apenski avatar apenski commented on July 23, 2024

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.

apenski avatar apenski commented on July 23, 2024

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 avatar rkottmann commented on July 23, 2024

@rkottmann What's your opinion on that?

To relax it to xs:string.

thx for fixing

from validator.

apenski avatar apenski commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.