Closed
Description
During the last meeting it was resolved to have one playground for 1.0 and 1.1 processing. Some notes on that related to jsonld.js:
- 0.4.x passes older 1.0 test suites
- 0.4.x does not pass more recent tests added for 1.0
- 0.5.x does pass all current 1.0 tests
- 0.5.x also includes a bit of 1.1 functionality, in particular some
@graph
handling and a bit of@version
handling - 0.6.x should end up passing all 1.0 and current 1.1 draft tests
- there may be technical issues using multiple jsonld.js versions on one page
From an ease of site development viewpoint, I think we should just put the most recent jsonld.js on the playground and add a UI control to pick the processingMode
API option. Due to practicalities of jsonld.js not having a full correct 1.0 only lib, it seems not worth the effort to try and deal with this any other way. There are edge cases where a 1.1 lib in 1.0 mode will produce different results than a 1.0 lib. My guess is that in practice this really doesn't matter. Or in any case, is not worth handling on the playground.