STARIONGROUP / reqifsharp

A C# library for reading and writing reqif documents
https://reqifsharp.org
Apache License 2.0
24 stars 14 forks source link

Namespace xmlns:xhtml="http://www.w3.org/1999/xhtml" missing in serialization #9

Closed Helmut-Ortmann closed 6 years ago

Helmut-Ortmann commented 6 years ago

Prerequisites

Description

I used the code from ReqIFSerializerTestFixture and tested it to become familiar with functions and API.

I checked the resulting ReqIF against reqif.xsd and found the missing namespace for xhtml. After inserting the missing namespace it runs. I have no deep experiences in ReqIF or XML.

Steps to Reproduce

  1. Run the example code in LinqPAD (NET Framework) ( from ReqIFSerializerTestFixture, serialization added)
  2. Inspect result *.reqIf file

System Configuration

Helmut-Ortmann commented 6 years ago

I think I have to use the xhtml namespace inside the value. The test has another focus.

Helmut-Ortmann commented 6 years ago

I misunderstood the purpose of the test I misused.

samatstariongroup commented 6 years ago

ok, if you have any questions don't hesitate to ask. You can find some docs on the following webpage: https://reqifsharp.org/gettingstarted.html

Helmut-Ortmann commented 6 years ago

Thanks a lot. Your reference to your docs was helpful. Meanwhile, I've solved the issue and can read/write ReqIF with the help of ReqIFSharp.

If someone needs some code, a simple example of how to write ReqIF based on your test cases, contact me. I'm happy to share it.

Best regards,

Helmut