A repository for storing code for the open source traceability libraries developed by IFT.
4
stars
2
forks
source link
If an "@vocab" is included in the @context on a JSON-LD, causes errors converting to XML. #39
Open
DuckScapePhilip opened 7 months ago
Problem
If an EPCIS Document / EPCIS Query Document has an "@vocab" in the JSON-LD:
Then if you convert it to a C# object, then map it back to XML, it will throw an error because we will try and add it as a namespace:
https://github.com/ift-gftc/opentraceability/blob/main/CSharp/OpenTraceability/Mappers/EPCIS/XML/EPCISDocumentBaseXMLMapper.cs
I think we should implement a "TryAdd" so that it will try and add it but ignore it if it fails to add it.
Tasks