Skip to content

Commit

Permalink
Update of ED report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 17.1.1.
  • Loading branch information
reffy-bot committed Jul 30, 2024
1 parent 051835d commit 9d082ea
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 67 deletions.
4 changes: 2 additions & 2 deletions ed/algorithms/IFT.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"html": "<p>For each unique <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map-entryindex\" id=\"ref-for-glyph-map-entryindex\">entryIndex</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>If <var>entry index</var> is 0 then, this is a special entry used to mark glyphs which are already in the font. Skip this index\nand do not build an entry for it.</p>\n </li><li data-md=\"\">\n <p>If the <var>entry index</var> is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-maxentryindex\" id=\"ref-for-format-1-patch-map-maxentryindex⑤\">maxEntryIndex</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Collect the set of glyph indices that map to the <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Convert the set of glyph indices to a set of unicode code points using the code point to glyph mapping in the <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a> table of <var>font subset</var>. Ignore any glyph indices that are not mapped by <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a>.\nMultiple code points may map to the same glyph id. All code points associated with a glyph should be included.</p>\n </li><li data-md=\"\">\n <p>Convert <var>entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑥\">entry</a> to <var>entry list</var> whose subset definition contains only the unicode code point set and\nmaps to the generated URI, the patch encoding specified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid\">compatibilityId</a>.</p>\n </li></ul>"
},
{
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-featuremapoffset\" id=\"ref-for-format-1-patch-map-featuremapoffset\">featureMapOffset</a> is not null then, for each <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord\" id=\"ref-for-featurerecord①\">FeatureRecord</a> and associated <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord\" id=\"ref-for-entrymaprecord②\">EntryMapRecord</a> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-featurerecords\" id=\"ref-for-feature-map-featurerecords①\">featureRecords</a> and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-entrymaprecords\" id=\"ref-for-feature-map-entrymaprecords\">entryMapRecords</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>For each <var>entry index</var> between <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex\">EntryMapRecord::firstEntryIndex</a> (inclusive) and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-lastentryindex\" id=\"ref-for-entrymaprecord-lastentryindex\">EntryMapRecord::lastEntryIndex</a> (inclusive):</p>\n <ul>\n <li data-md=\"\">\n <p>Find the set of unicode code points associated with <var>entry index</var> that was computed in step 2. If <var>entry index</var> was not processed in step 2 this table is invalid, return an error.</p>\n </li><li data-md=\"\">\n <p>Compute <var>mapped entry index</var> = <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstnewentryindex\" id=\"ref-for-featurerecord-firstnewentryindex\">FeatureRecord::firstNewEntryIndex</a> + <var>entry index</var> - <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex①\">EntryMapRecord::firstEntryIndex</a>.</p>\n </li><li data-md=\"\">\n <p>If the computed <var>mapped entry index</var> is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-maxentryindex\" id=\"ref-for-format-1-patch-map-maxentryindex⑥\">maxEntryIndex</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>Convert <var>mapped entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate①\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>mapped entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap①\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑦\">entry</a> to <var>entry list</var> whose subset definition contains the unicode code point set and\na feature tag set containing only <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag①\">featureTag</a>. The entry maps to the generated URI, the patch encoding\nspecified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding①\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid①\">compatibilityId</a>. If there is an existing <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑧\">entry</a> in <var>entry list</var> which has the same patch URI as the generated URI then\ninstead add <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag②\">featureTag</a> and the computed unicode code point set to the existing entry’s subset definition.</p>\n </li></ul>\n </li></ul>"
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-featuremapoffset\" id=\"ref-for-format-1-patch-map-featuremapoffset\">featureMapOffset</a> is not null then, for each <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord\" id=\"ref-for-featurerecord①\">FeatureRecord</a> and associated <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord\" id=\"ref-for-entrymaprecord②\">EntryMapRecord</a> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-featurerecords\" id=\"ref-for-feature-map-featurerecords②\">featureRecords</a> and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-entrymaprecords\" id=\"ref-for-feature-map-entrymaprecords\">entryMapRecords</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>Compute <var>mapped entry index</var>, the first <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord\" id=\"ref-for-entrymaprecord③\">EntryMapRecord</a> associated with a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord\" id=\"ref-for-featurerecord②\">FeatureRecord</a> is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstnewentryindex\" id=\"ref-for-featurerecord-firstnewentryindex\">FeatureRecord::firstNewEntryIndex</a>, the second <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstnewentryindex\" id=\"ref-for-featurerecord-firstnewentryindex①\">FeatureRecord::firstNewEntryIndex</a> + 1, and so on. The last will be <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstnewentryindex\" id=\"ref-for-featurerecord-firstnewentryindex②\">FeatureRecord::firstNewEntryIndex</a> + <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-entrymapcount\" id=\"ref-for-featurerecord-entrymapcount①\">entryMapCount</a> - 1.</p>\n </li><li data-md=\"\">\n <p>If the computed <var>mapped entry index</var> is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-maxentryindex\" id=\"ref-for-format-1-patch-map-maxentryindex⑥\">maxEntryIndex</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>If <var>mapped entry index</var> matches an entry index present in the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map\" id=\"ref-for-glyph-map②\">Glyph Map</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>Convert <var>mapped entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate①\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>mapped entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap①\">appliedEntriesBitMap</a> is set to 1, skip this entry.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑦\">entry</a> to <var>entry list</var> which maps to the generated URI, the patch encoding\nspecified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding①\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid①\">compatibilityId</a>; or if there is an existing <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑧\">entry</a> in <var>entry list</var> which has the same patch URI as the generated URI then\ninstead modify the existing entry. Add <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag②\">featureTag</a> to the new or existing entry’s subset definition.</p>\n </li><li data-md=\"\">\n <p>For each <var>entry index</var> between <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex\">EntryMapRecord::firstEntryIndex</a> (inclusive) and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-lastentryindex\" id=\"ref-for-entrymaprecord-lastentryindex\">EntryMapRecord::lastEntryIndex</a> (inclusive):</p>\n <ul>\n <li data-md=\"\">\n <p>Find the set of unicode code points associated with <var>entry index</var> that was computed in step 2. If the <var>entry index</var> was skipped because of <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap②\">appliedEntriesBitMap</a> compute the set of associated\ncodepoints as if it wasn’t skipped. If <var>entry index</var> was not processed in step 2 this table is invalid, return an\nerror. Entries processed in step 2 that were marked as skipped by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap③\">appliedEntriesBitMap</a> are valid to be\nreferenced here. Union the produced set of code points to the new or existing entry’s subset definition.</p>\n </li></ul>\n </li></ul>"
},
{
"html": "<p>Return <var>entry list</var>.</p>"
Expand All @@ -138,7 +138,7 @@
"html": "<p>Check that the <var>patch map</var> has <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-format\" id=\"ref-for-format-1-patch-map-format①\">format</a> equal to 1 and is valid according to the requirements in <a href=\"https://w3c.github.io/IFT/Overview.html#patch-map-format-1\">§ 5.2.1 Patch Map Table: Format 1</a>. If it is not return an error.</p>"
},
{
"html": "<p>For each unique <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map-entryindex\" id=\"ref-for-glyph-map-entryindex①\">entryIndex</a> of <var>patch map</var>:</p>\n <ul>\n <li data-md=\"\">\n <p>If the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap②\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Convert <var>entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate②\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the generated URI is equal to <var>patch URI</var> then set the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap③\">appliedEntriesBitMap</a> to 1.</p>\n </li></ul>"
"html": "<p>For each unique <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map-entryindex\" id=\"ref-for-glyph-map-entryindex①\">entryIndex</a> of <var>patch map</var>:</p>\n <ul>\n <li data-md=\"\">\n <p>If the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap④\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Convert <var>entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate②\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the generated URI is equal to <var>patch URI</var> then set the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap⑤\">appliedEntriesBitMap</a> to 1.</p>\n </li></ul>"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletions ed/algorithms/vc-data-integrity.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"html": "The software selects one or more cryptography suites that meet the needs of\nthe use case, such as one that provides full, selective, or unlinkable\ndisclosure, using acceptable cryptographic key material."
},
{
"html": "The software uses the applicable algorithms in either Section <a href=\"https://w3c.github.io/vc-data-integrity/#add-proof\" data-matched-text=\"[[[#add-proof]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.2 </bdi>Add Proof</a>\nor Section <a href=\"https://w3c.github.io/vc-data-integrity/#add-proof-set-chain\" data-matched-text=\"[[[#add-proof-set-chain]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.3 </bdi>Add Proof Set/Chain</a> to add one or more proofs."
"html": "The software uses the applicable algorithm(s) provided in Section <a href=\"https://w3c.github.io/vc-data-integrity/#add-proof\" data-matched-text=\"[[[#add-proof]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.2 </bdi>Add Proof</a>\nor Section <a href=\"https://w3c.github.io/vc-data-integrity/#add-proof-set-chain\" data-matched-text=\"[[[#add-proof-set-chain]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.3 </bdi>Add Proof Set/Chain</a> to add one or more proofs."
}
]
},
Expand All @@ -30,10 +30,10 @@
"html": "The software transforms the incoming data into a document that can be understood\nby the applicable algorithm provided in Section <a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof\" data-matched-text=\"[[[#verify-proof]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.4 </bdi>Verify Proof</a> or Section\n<a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof-sets-and-chains\" data-matched-text=\"[[[#verify-proof-sets-and-chains]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.5 </bdi>Verify Proof Sets and Chains</a>."
},
{
"html": "The software uses JSON Schema or equivalent mechanism to validate that the\nincoming document follows an expected schema used by the application."
"html": "The software uses JSON Schema or an equivalent mechanism to validate that the\nincoming document follows an expected schema used by the application."
},
{
"html": "The software uses the applicable algorithms provided in Section <a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof\" data-matched-text=\"[[[#verify-proof]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.4 </bdi>Verify Proof</a>\nor Section <a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof-sets-and-chains\" data-matched-text=\"[[[#verify-proof-sets-and-chains]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.5 </bdi>Verify Proof Sets and Chains</a> to verify the integrity of the\nincoming document."
"html": "The software uses the applicable algorithm(s) provided in Section <a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof\" data-matched-text=\"[[[#verify-proof]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.4 </bdi>Verify Proof</a>\nor Section <a href=\"https://w3c.github.io/vc-data-integrity/#verify-proof-sets-and-chains\" data-matched-text=\"[[[#verify-proof-sets-and-chains]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.5 </bdi>Verify Proof Sets and Chains</a> to verify the integrity of the\nincoming document."
},
{
"html": "If the document is a JSON-LD document, the software uses the algorithm provided\nin Section <a href=\"https://w3c.github.io/vc-data-integrity/#context-validation\" data-matched-text=\"[[[#context-validation]]]\" class=\"sec-ref\"><bdi class=\"secno\">4.6 </bdi>Context Validation</a>, or one providing equivalent protections,\nto validate all JSON-LD Context values used in the document."
Expand Down
Loading

0 comments on commit 9d082ea

Please sign in to comment.