Replies: 3 comments
-
Would you mind making this a test case? The sample file should be in the repository, so loading it and doing this basic check should be easy. I will then take care about the rest. |
Beta Was this translation helpful? Give feedback.
-
@stephanstapel I can do that, but just for clarification, this lib has not capability of validating if an xml from an X-Rechnung or Zugpferd is valid or has the valid fields or an schema? |
Beta Was this translation helpful? Give feedback.
-
I, now I understand. Yes, you are right. There is currently no validation implemented in this component. and there is some code in another component that could be ported but that is none of my priorities currently. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using this to try to validate, how is that done, if I load any xml it always go though, even with bullshit ones:
`public static bool IsValidXInvoiceXML(string filePath)
{
bool result = false;
}`
I get eveverytime a Profile, not matter what I delete from the XML, am I doing it wrong?
I have put my broken xml which I created into here, an online Validator also trows error like it should.
Basic_XML_Broken 1.txt
Beta Was this translation helpful? Give feedback.
All reactions