Skip to content

Commit 3b18c05

Browse files
committed
Rebase
1 parent 947204f commit 3b18c05

File tree

3 files changed

+169
-0
lines changed

3 files changed

+169
-0
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6786,6 +6786,7 @@ <h4>JsonLdErrorCode</h4>
67866786
<li>The <a>processing mode</a> is now implicitly `json-ld-1.1`, unless set
67876787
explicitly to `json-ld-1.0`.</li>
67886788
<li>Improve notation using <a>IRI</a>, <a>IRI reference</a>, and <a>relative IRI reference</a>.</li>
6789+
<li>Ignore terms and IRIs that have the form of a keyword (`"@"1*ALPHA`).</li>
67896790
</ul>
67906791
</section>
67916792

tests/expand-manifest.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,6 +2820,62 @@ <h2>
28202820
</dd>
28212821
</dl>
28222822
</dd>
2823+
<dt id='t0117'>
2824+
Test t0117 A term starting with a colon can expand to a different IRI
2825+
</dt>
2826+
<dd>
2827+
<dl class='entry'>
2828+
<dt>id</dt>
2829+
<dd>#t0117</dd>
2830+
<dt>Type</dt>
2831+
<dd>jld:PositiveEvaluationTest, jld:ExpandTest</dd>
2832+
<dt>Purpose</dt>
2833+
<dd>Terms may begin with a colon and not be treated as IRIs.</dd>
2834+
<dt>input</dt>
2835+
<dd>
2836+
<a href='expand/0117-in.jsonld'>expand/0117-in.jsonld</a>
2837+
</dd>
2838+
<dt>expect</dt>
2839+
<dd>
2840+
<a href='expand/0117-out.jsonld'>expand/0117-out.jsonld</a>
2841+
</dd>
2842+
<dt>Options</dt>
2843+
<dd>
2844+
<dl class='options'>
2845+
<dt>specVersion</dt>
2846+
<dd>json-ld-1.1</dd>
2847+
</dl>
2848+
</dd>
2849+
</dl>
2850+
</dd>
2851+
<dt id='t0118'>
2852+
Test t0118 Expanding a value staring with a colon does not treat that value as an IRI
2853+
</dt>
2854+
<dd>
2855+
<dl class='entry'>
2856+
<dt>id</dt>
2857+
<dd>#t0118</dd>
2858+
<dt>Type</dt>
2859+
<dd>jld:PositiveEvaluationTest, jld:ExpandTest</dd>
2860+
<dt>Purpose</dt>
2861+
<dd>Terms may begin with a colon and not be treated as IRIs.</dd>
2862+
<dt>input</dt>
2863+
<dd>
2864+
<a href='expand/0118-in.jsonld'>expand/0118-in.jsonld</a>
2865+
</dd>
2866+
<dt>expect</dt>
2867+
<dd>
2868+
<a href='expand/0118-out.jsonld'>expand/0118-out.jsonld</a>
2869+
</dd>
2870+
<dt>Options</dt>
2871+
<dd>
2872+
<dl class='options'>
2873+
<dt>specVersion</dt>
2874+
<dd>json-ld-1.1</dd>
2875+
</dl>
2876+
</dd>
2877+
</dl>
2878+
</dd>
28232879
<dt id='t0119'>
28242880
Test t0119 Ignore some terms with @, allow others.
28252881
</dt>

tests/toRdf-manifest.html

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4409,6 +4409,118 @@ <h2>
44094409
</dd>
44104410
</dl>
44114411
</dd>
4412+
<dt id='te119'>
4413+
Test te119 Ignore some terms with @, allow others.
4414+
</dt>
4415+
<dd>
4416+
<dl class='entry'>
4417+
<dt>id</dt>
4418+
<dd>#te119</dd>
4419+
<dt>Type</dt>
4420+
<dd>jld:PositiveEvaluationTest, jld:ToRDFTest</dd>
4421+
<dt>Purpose</dt>
4422+
<dd>Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.</dd>
4423+
<dt>input</dt>
4424+
<dd>
4425+
<a href='toRdf/e119-in.jsonld'>toRdf/e119-in.jsonld</a>
4426+
</dd>
4427+
<dt>expect</dt>
4428+
<dd>
4429+
<a href='toRdf/e119-out.nq'>toRdf/e119-out.nq</a>
4430+
</dd>
4431+
<dt>Options</dt>
4432+
<dd>
4433+
<dl class='options'>
4434+
<dt>specVersion</dt>
4435+
<dd>json-ld-1.1</dd>
4436+
</dl>
4437+
</dd>
4438+
</dl>
4439+
</dd>
4440+
<dt id='te120'>
4441+
Test te120 Ignore some values of @id with @, allow others.
4442+
</dt>
4443+
<dd>
4444+
<dl class='entry'>
4445+
<dt>id</dt>
4446+
<dd>#te120</dd>
4447+
<dt>Type</dt>
4448+
<dd>jld:PositiveEvaluationTest, jld:ToRDFTest</dd>
4449+
<dt>Purpose</dt>
4450+
<dd>Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.</dd>
4451+
<dt>input</dt>
4452+
<dd>
4453+
<a href='toRdf/e120-in.jsonld'>toRdf/e120-in.jsonld</a>
4454+
</dd>
4455+
<dt>expect</dt>
4456+
<dd>
4457+
<a href='toRdf/e120-out.nq'>toRdf/e120-out.nq</a>
4458+
</dd>
4459+
<dt>Options</dt>
4460+
<dd>
4461+
<dl class='options'>
4462+
<dt>specVersion</dt>
4463+
<dd>json-ld-1.1</dd>
4464+
</dl>
4465+
</dd>
4466+
</dl>
4467+
</dd>
4468+
<dt id='te121'>
4469+
Test te121 Ignore some values of @reverse with @, allow others.
4470+
</dt>
4471+
<dd>
4472+
<dl class='entry'>
4473+
<dt>id</dt>
4474+
<dd>#te121</dd>
4475+
<dt>Type</dt>
4476+
<dd>jld:PositiveEvaluationTest, jld:ToRDFTest</dd>
4477+
<dt>Purpose</dt>
4478+
<dd>Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.</dd>
4479+
<dt>input</dt>
4480+
<dd>
4481+
<a href='toRdf/e121-in.jsonld'>toRdf/e121-in.jsonld</a>
4482+
</dd>
4483+
<dt>expect</dt>
4484+
<dd>
4485+
<a href='toRdf/e121-out.nq'>toRdf/e121-out.nq</a>
4486+
</dd>
4487+
<dt>Options</dt>
4488+
<dd>
4489+
<dl class='options'>
4490+
<dt>specVersion</dt>
4491+
<dd>json-ld-1.1</dd>
4492+
</dl>
4493+
</dd>
4494+
</dl>
4495+
</dd>
4496+
<dt id='te122'>
4497+
Test te122 Ignore some IRIs when that start with @ when expanding.
4498+
</dt>
4499+
<dd>
4500+
<dl class='entry'>
4501+
<dt>id</dt>
4502+
<dd>#te122</dd>
4503+
<dt>Type</dt>
4504+
<dd>jld:PositiveEvaluationTest, jld:ToRDFTest</dd>
4505+
<dt>Purpose</dt>
4506+
<dd>Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword.</dd>
4507+
<dt>input</dt>
4508+
<dd>
4509+
<a href='toRdf/e122-in.jsonld'>toRdf/e122-in.jsonld</a>
4510+
</dd>
4511+
<dt>expect</dt>
4512+
<dd>
4513+
<a href='toRdf/e122-out.nq'>toRdf/e122-out.nq</a>
4514+
</dd>
4515+
<dt>Options</dt>
4516+
<dd>
4517+
<dl class='options'>
4518+
<dt>specVersion</dt>
4519+
<dd>json-ld-1.1</dd>
4520+
</dl>
4521+
</dd>
4522+
</dl>
4523+
</dd>
44124524
<dt id='tin01'>
44134525
Test tin01 Basic Included array
44144526
</dt>

0 commit comments

Comments
 (0)