- From: Gregg Kellogg <gregg@greggkellogg.net>
- Date: Sun, 2 Dec 2018 11:19:13 -0800
- To: Dan Brickley <danbri@google.com>
- Cc: W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
Received on Sunday, 2 December 2018 19:19:38 UTC
> re Google SDTT, can you point me (well, danbri@google.com) at a test-case
> and its expected vs actual outcome?
Dan, see the comment on issue #100 [1] for examples such as the following:
<script type="application/ld+json">
{
"http://schema.org/description": "You can't embed a <script></script> snippet in JSON-LD embedded in HTML"
}
</script>
IMHO, we should either require such content to be encoded, and decoded when extracted from a script element, or prohibit such content in the first place, which comes with its own set of problems.
Gregg Kellogg
gregg@greggkellogg.net
[1] https://github.com/w3c/json-ld-syntax/issues/100#issuecomment-443533830 <https://github.com/w3c/json-ld-syntax/issues/100#issuecomment-443533830>
Received on Sunday, 2 December 2018 19:19:38 UTC