Git Product home page Git Product logo

Comments (6)

jdiepenmaat avatar jdiepenmaat commented on June 26, 2024

@tjeb I reckon it's time for some CI testing on this project, what do you think?

from testset.

tjeb avatar tjeb commented on June 26, 2024

For the first one, please note that it's a CreditNote, not an Invoice; you are getting an xml schema error (probably because you are xsd-validating it against an Invoice).

I have removed the two 1.2 warning files; they already had error equivalents but somehow i managed to not remove them from the repo.

Fixed CustomizationID in the 1.1 file, though honestly I am considering removing all of the 1.1 files now that they are obsolete.

Changes in commit dc87ecc

from testset.

tjeb avatar tjeb commented on June 26, 2024

@jdiepenmaat slowly getting there :) (but time is limited and priorities tend to lie elsewhere). Am considering merging the validation repository with the testset, which should make ci a tad easier to implement.

from testset.

ojundt avatar ojundt commented on June 26, 2024

Thanks for updating the testset so quickly.

+1 for merging the validation and testset repository.

Regarding SI-UBL-2.0_BR-NL-8_ok_381.xml: si-ubl-2.0.1.xsl also contains CreditNote checks so I assume it should be useable for validating both, Invoice and CreditNote documents, correct?

from testset.

tjeb avatar tjeb commented on June 26, 2024

Yes, it should be usable for both, but that error you see is not from the xsl, but from an xsd check (for UBL 2.1, one of https://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/ depending on the document type), in this case either UBL-Invoice-2.1.xsd or UBL-CreditNote-2.1.xsd.

Now that I look at the error you get again, it looks like your validator does correctly validate against a CreditNote xsd file, but I suspect for UBL 2.0 instead of UBL 2.1.

from testset.

ojundt avatar ojundt commented on June 26, 2024

That was it! I oversaw the part where we are validating against xsd first and it was UBL 2.0. That closes this issue for me.

from testset.

Related Issues (8)

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.