Closed cimba007 closed 11 months ago
I will have a look at this tmrw
I think the main problem with this sample files is, that it does comply with the reqif.xsd. So that means that reqifsharp can only work with files that are compliant. No big deal as the documents that I will later work with in production envioronment should be compliant.
@cimba007 indeed, this particular reqif file is not compliant to the versions of ReqIF that reqifsharp supports. May i close this issue?
The test project contains a number of sample files that do work, please have a look at https://github.com/RHEAGROUP/reqifsharp/blob/8fa1ffdaca1d69de55aa1467680cba53bbb1f4a2/ReqIFSharp.Tests/ReqIFDeSerializerTestFixture.cs
Yeah. Thank you very much. This might still help other newbies in the future :-)
Prerequisites
Description
When trying to deserialize a sample file I got an NullReferenceExeption. The file I used is from google "reqif example files". https://eclipse.googlesource.com/rmf/org.eclipse.rmf/+/44228c91a7b51612cf392a3e508334cac9c8e602/org.eclipse.rmf.reqif10.model.test/testdata/sample.reqif
Steps to Reproduce
While executing the Deserialize-Method throws an exception.
Logging from stacktrace
Logging from Debug-Output
System Configuration
If this is not a bug I am very sorry for bothering you. I was successfull with another example file but as the sample file is pretty small I am not sure what should be wrong with it.
If you could point me in a direction where I could find other (known working an validated) sample files I would gladly try them. Thank you for making this library available!
Best regards