stephanstapel/ZUGFeRD-csharp

ZF 2.0 Profile Comfort Validation fails because of existing Name in HeaderExchangedDocument ?!

AlexanderEichhorn opened this issue ยท 4 comments

Hi, today i validated different ZUGFeRD Versions/Formats outputs with the mustang validator:

ZF 1.0 Comfort --> ok
ZF 1.0 Extended --> ok
ZF 2.0 Comfort --> ERROR
ZF 2.0 Extended --> ok
ZF 2.1.1 Comfort --> ok
ZF 2.1.1 Extended --> ok

The validator tells me in case of ZF 2.0 Comfort: "[CII-SR-013] - Name should not be present (From /xslt/cii16931schematron/EN16931-CII-validation.xslt)":
grafik

If i manually remove this line it's all fine. Is this case known?

Indeed this is the case. As written in Zugferd 2.0 specification
ExchangeDocumentName

Can you please run your test again using the latest code and confirm that everything is alright now?

Hey Stephan, thanks for the quick fix ๐Ÿ˜‰ this should work. I'm using the Nuget package.. a new Version would be great ๐Ÿ™‚ Then I will check again.

Regards

I just run my test again using the latest code from here - works fine as expected:

ZF 1.0 Comfort --> ok
ZF 1.0 Extended --> ok
ZF 2.0 Comfort --> ok
ZF 2.0 Extended --> ok
ZF 2.1.1 Comfort --> ok
ZF 2.1.1 Extended --> ok

So you could relase a new Nuget Version without worries ;-) Thanks!