Open progval opened 5 years ago
No, that input shouldn't explode like that. I think the output should just be the same as the input in that case. That's what the js and ruby code do. Hopefully those are both correct.
Tight on time now, so if someone wants to make a patch, that'd be great. Should also add a test for this to https://github.com/w3c/json-ld-api. (Although pyld hasn't yet been updated to use the new WG test suites.)
Hi,
I noticed the following error in PyLD 1.0.3:
Is it expected for PyLD to raise an exception on this kind of (possibly invalid) input?