You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifications that use Dictionaries can also allow for forward compatibility by requiring that the presence of -- as well as value and type associated with -- unknown keys be ignored. Subsequent specifications can then add additional keys, specifying constraints on them as appropriate.
1528
1531
</p>
@@ -1557,6 +1560,11 @@ <h3 title="Using New Structured Types in Extensions">2.4. 拡張における新
1557
1560
Because a field definition needs to reference a specific RFC for Structured Fields, the types available for use in its value are limited to those defined in that RFC. For example, a field whose definition references this document can have a value that uses the Date type (Section 3.3.7), whereas a field whose definition references RFC 8941 cannot because it will be treated as invalid (and therefore discarded) by implementations of that specification.
An Item can be an Integer (Section 3.3.1), a Decimal (Section 3.3.2), a String (Section 3.3.3), a Token (Section 3.3.4), a Byte Sequence (Section 3.3.5), a Boolean (Section 3.3.6), or a Date (Section 3.3.7). It can have associated parameters (Section 3.1.2).
Strings are zero or more printable ASCII [RFC0020] characters (i.e., the range %x20 to %x7E). Note that this excludes tabs, newlines, carriage returns, etc.
Tokens are short textual words that begin with an alphabetic character or "*", followed by zero to many token characters, which are the same as those allowed by the "token" ABNF rule defined in [HTTP] plus the ":" and "/" characters.
If the structure is a Dictionary or List and its value is empty (i.e., it has no members), do not serialize the field at all (i.e., omit both the field-name and field-value).
@@ -3607,27 +3623,29 @@ <h4 title="Serializing a Byte Sequence">4.1.8. `~sf~byte列$の直列化-法</h4
3607
3623
3608
3624
<p>
3609
3625
`4648/3.2$rfc に従って、
3610
-
符号化された~dataには, `=^ch を~padすることが要求される†。
3626
+
符号化された~dataには, `=^ch を補充する( `pad^en する)ことが要求される。
3611
3627
◎
3612
3628
The encoded data is required to be padded with "=", as per [RFC4648], Section 3.2.
3613
3629
</p>
3614
3630
3631
+
<pclass="trans-note">【
3632
+
すなわち、
3633
+
符号化した結果の長さが 4 の倍数にならない場合,そうなるよう補充する。
3634
+
】</p>
3635
+
3615
3636
<p>
3616
3637
同様に, `4648/3.5$rfc に従って、
3617
-
符号化される~dataにおける~pad~bit††は 0 に設定するベキである
3618
-
— 実装の拘束に因り,そうするのはアリでない限り。
3638
+
符号化される~dataにおける補充~bitを 0 に設定するベキである
3639
+
— 実装の拘束に因り,それがアリでない場合を除き。
3619
3640
◎
3620
3641
Likewise, encoded data SHOULD have pad bits set to zero, as per [RFC4648], Section 3.5, unless it is not possible to do so due to implementation constraints.
@@ -4976,7 +4991,7 @@ <h4 title="Parsing a Byte Sequence">4.2.7. ~sf~byte列の構文解析-法</h4>
4976
4991
</p>
4977
4992
<ul>
4978
4993
<li>
4979
-
必要yなら~padするものを合成する
4994
+
必要yなら補充するものを合成する
4980
4995
(下に与える`受信者$の挙動についての要件に注意)
4981
4996
</li>
4982
4997
<li>
@@ -5002,7 +5017,7 @@ <h4 title="Parsing a Byte Sequence">4.2.7. ~sf~byte列の構文解析-法</h4>
5002
5017
↓</p>
5003
5018
<ul>
5004
5019
<li>
5005
-
`=^ch が適正に~padされていない場合でも
5020
+
`=^ch が適正に補充されていない場合でも
5006
5021
( `4648/3.2$rfc を見よ)、
5007
5022
失敗するベキでない
5008
5023
— そうし得ないように環境設定されていない限り。
@@ -5012,7 +5027,7 @@ <h4 title="Parsing a Byte Sequence">4.2.7. ~sf~byte列の構文解析-法</h4>
5012
5027
Because some implementations of base64 do not allow rejection of encoded data that is not properly "=" padded (see [RFC4648], Section 3.2), parsers SHOULD NOT fail when "=" padding is not present, unless they cannot be configured to do so.
5013
5028
</li>
5014
5029
<li>
5015
-
0 でない~pad~bitがある場合でも
5030
+
0 でない補充~bitがある場合でも
5016
5031
( `4648/3.5$rfc を見よ)、
5017
5032
失敗するベキでない
5018
5033
— そうし得ないように環境設定されていない限り。
@@ -5027,7 +5042,7 @@ <h4 title="Parsing a Byte Sequence">4.2.7. ~sf~byte列の構文解析-法</h4>
5027
5042
— この仕様は、[
5028
5043
`4648/3.1$rfc,
5029
5044
`4648/3.3$rfc
5030
-
]における要件は緩めない。
5045
+
]における要件を緩めない。
5031
5046
◎
5032
5047
This specification does not relax the requirements in Sections 3.1 and 3.3 of [RFC4648]; therefore, parsers MUST fail on characters outside the base64 alphabet and on line feeds in encoded data.
5033
5048
</li>
@@ -5562,7 +5577,7 @@ <h2 title="Implementation Notes">付録 B. 実装~向けの注記</h2>
This section uses the Augmented Backus-Naur Form (ABNF) notation [RFC5234] to illustrate the expected syntax of Structured Fields. However, it cannot be used to validate their syntax because it does not capture all requirements.
0 commit comments