mdesalvo / RDFSharp

Lightweight and friendly .NET library for realizing Semantic Web applications
Apache License 2.0
121 stars 26 forks source link

Incorrect parsing of RDFCollection from graph in case of bad-formed rdf:first clause #244

Closed mdesalvo closed 3 years ago

mdesalvo commented 3 years ago

Unit tests have discovered that RDFModelUtilities.DeserializeCollectionFromGraph method does not respect exit signal raised during parsing of an RDF collection having bad-formed rdf:first clause. We should consider exiting the parsing process when rdf:first has detected NIL conditions, otherwise we may wrongly continue on rdf:rest.

mdesalvo commented 3 years ago

Solved with checkin bb83dbb in test-suite branch. Will be merged in 2.26.1 during 2022.