Skip to content

Commit 92d49fd

Browse files
committed
Relax smart poster reading checks
Signed-off-by: Zoltan Kis <[email protected]>
1 parent 7dcdf9f commit 92d49fd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,12 @@ <h4>
575575
<ul>
576576
<li>
577577
A single mandatory <a>URI record</a> that refers to the
578-
<a>smart poster</a> content. A <a>smart poster</a> overrides any
579-
other <a>URI records</a> in an <a>NDEF message</a>.
578+
<a>smart poster</a> content.
579+
<p class="note">
580+
The [[NDEF-SMARTPOSTER]] states that applications SHALL use only the
581+
<a>smart poster</a> record if it is present in an <a>NDEF message</a>
582+
that also contains other <a>URI records</a>.
583+
</p>
580584
</li>
581585
<li>
582586
Zero or more <a>Text records</a> that act as a <dfn>title record</dfn>
@@ -3733,6 +3737,7 @@ <h3>Parsing content</h3>
37333737
<a>type record</a>, <a>size record</a> or <a>action record</a>,
37343738
throw {{TypeError}} and abort these steps.
37353739
</li>
3740+
<!--
37363741
<li>
37373742
If |context| is `"smart-poster"` and |records| contain
37383743
[=absolute-URL records=], remove them from |records|.
@@ -3750,6 +3755,7 @@ <h3>Parsing content</h3>
37503755
as required by the [[NDEF-SMARTPOSTER]] specification.
37513756
</p>
37523757
</li>
3758+
-->
37533759
<li>
37543760
Otherwise return `true`.
37553761
</li>

0 commit comments

Comments
 (0)