factur-x icon indicating copy to clipboard operation
factur-x copied to clipboard

xml_check_xsd always return True

Open RedHotUnicorn opened this issue 2 years ago • 1 comments

I think this function should return True or False depends on checks... Should it?

RedHotUnicorn avatar Oct 13 '23 10:10 RedHotUnicorn

@RedHotUnicorn yes, becouse when there will be error, method return raise.

But there is another problem, even if you have valid factur-x schema, data inside this .xml file can be invalid and method (and any other in this module) don't check this. So finally you don't know if you have valid Factur-X. You can valid this in ex. mustangproject.

Lukasz87 avatar May 14 '24 09:05 Lukasz87