Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler Invoicing XSL not working #73

Closed
GinkgoCoder opened this issue Jan 8, 2019 · 5 comments
Closed

Simpler Invoicing XSL not working #73

GinkgoCoder opened this issue Jan 8, 2019 · 5 comments

Comments

@GinkgoCoder
Copy link

GinkgoCoder commented Jan 8, 2019

Hi:

I like to use the simpler invoicing 2.0 schematron file to validate some xmls. However, it doesn't work.
It always complain that the schematron is not valid. The schematron file is https://github.com/SimplerInvoicing/validation/blob/master/schematron/si-ubl-2.0-RC1.sch .

Thanks a lot for the help.

Regards
Lei

@phax
Copy link
Owner

phax commented Jan 8, 2019

Hi Lei,
what implementation are you using? Most likely you need to use "XSLT" based version and not the pure version.
I already run SimplerInvoicing validation (1.1 and 1.2) using the XSLT approach.
hth, Philip

@GinkgoCoder
Copy link
Author

GinkgoCoder commented Jan 8, 2019

Hi Phax:

Thanks a lot for the help. I am new in this field. I want to know XSLT approach. Does it means that I use the XSL file generated from schematron (https://github.com/SimplerInvoicing/validation/blob/master/xsl/si-ubl-2.0-RC1.xsl) with your ph-schematron? If not, could you give me some hints about how you use XSLT format to check simplerinvoicing 1.1 and 1.2. In addition, this xsl file is also not working. The format seems not correct.

Reagrds
Lei

@phax
Copy link
Owner

phax commented Jan 8, 2019

Hi Lei,
I have a different set of libraries ( https://github.com/phax/ph-bdve ) - that wraps the payload specific validation. I would add SimplerInvoicing 2.0 RC1 to it.
Would that help?
// Philip

@GinkgoCoder
Copy link
Author

Hi Phx:

That's really helpful. Thanks a lot.

Regards
Lei

@phax
Copy link
Owner

phax commented Jan 8, 2019

Lets continue there :)

@phax phax closed this as completed Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants