Closed gkellogg closed 4 months ago
The
toRdf()
entry point should be updated to say that the default iftrue
.
Typo... default if `true`
-> default is `true`
RESOLUTION: update tests for flatten to assume extractAllScripts defaults to false. Update toRdf() API to set default for extractAllScripts to true.
Summary: Explicitly set the default value for extractAllScripts
to true
in toRdf()
.
The JSON-LD section on JSON-LD in HTML Documents specifically says that all script all script elements are extracted, implying that the default value of |extractAllScripts| should be
true
for thetoRdf()
API entry point.Tests for
flatten()
also say that it should extract all script elements, although there is no normative text to this effect.Changing the behavior of
flatten()
would represent a change to the 1.1 behavior, but may be warranted.The
toRdf()
entry point should be updated to say that the default istrue
.