[15] [DFN[[['''MUST''']]]] や 
[DFN[[['''REQUIRED''']]]] ([DFN[[['''しなければならない''']]]]、
[DFN[[['''必須''']]]]) は、この語を使って記述される対象が[[適合]]するためには満たされなければならない条件であることを表す[[助動詞]]です。

[16] その条件を満たさない場合は、[[不適合]]です。

* 仕様書

[REFS[
- [12] [CITE@en[RFC 2119 - Base Encodings]] ([TIME[2014-06-11 10:38:58 +09:00]] 版) <http://tools.ietf.org/html/rfc2119#section-1>
- [18] [CITE[RFC Errata Report]] ([TIME[2014-06-26 14:03:49 +09:00]] 版) <http://www.rfc-editor.org/errata_search.php?rfc=2119>
]REFS]

* 定義

[13] [['''MUST''']] と [['''REQUIRED''']]、[['''SHALL''']] は、
その定義が[[仕様書]]の絶対的な[[要件]]であることを意味します [SRC[>>12]]。

[14] [['''MUST NOT''']] と [['''SHALL NOT''']] は、
その定義が[[仕様書]]の絶対的な[RUBYB[禁止]@en[prohibition]]であることを意味します
[SRC[>>12]]。

* [MUST[SHALL]]

[17] 「shall」は [[ISO]] の仕様書で用いられます。 [[IETF]] や [[W3C]]
の仕様書では、普通は用いません。

[30] [CITE[Infra Standard]] は [MUST[MUST]] を推奨しています。
[SEE[ [[助動詞]] ]]

* [MUST[REQUIRED]]

[19] 「required」は [[RFC 2026]] の適応性に関する用語と衝突するため、
削除が提案されています [SRC[>>18]]。

;; [27] 提案されているだけで放置されています。

[31] [CITE[Infra Standard]] は [MUST[MUST]] を推奨しています。
[SEE[ [[助動詞]] ]]

[28] 人によっては軽いニュアンスと捉えるようです。実際には [MUST[MUST]]
と同義です。

* 関連

[29] [[SGML]] には [CODE[#REQUIRED]] があります。

* 歴史

** RFC 1123 の定義

[FIG(quote)[
[3] 
>
:"MUST":
This word or the adjective "REQUIRED" means that the item
is an absolute requirement of the specification.

[REFS[
- [CITE@en[RFC 1123 - Requirements for Internet Hosts - Application and Support]] ([TIME[2010-07-22 04:07:59 +09:00]] 版) <http://tools.ietf.org/html/rfc1123#page-11>
]REFS]
]FIG]

** XHTML1 の定義

[FIG(quote)[
[10] 
>
:[DFN[[RUBYB[しなければならない] [must]]]]:
この仕様では[Q[しなければならない]]という語は文脈により実装または[[厳密適合XHTML文書]]に関する必須の要件と解釈します。
[Q[[[shall]]]] という語も [Q[must]] と同じ定義とします。

[REFS[
- [[XHTML 1.0]]
-- [CITE[2.1. Terminology]] <http://www.w3.org/TR/xhtml1#terms>
]REFS]
]FIG]

**


[1]
[CITE@en[XML Query (XQuery) Requirements]] ([CODE[2007-03-17 06:39:09 +09:00]] 版) <http://www.w3.org/TR/2007/NOTE-xquery-requirements-20070323/#terminology-must>

[2]
[CITE@en[XML Query (XQuery) 1.1 Requirements]] ([TIME[2007-03-16 09:42:40 +09:00]] 版) <http://www.w3.org/TR/2007/WD-xquery-11-requirements-20070323/#terminology-must>

[4] [CITE@en[RFC 4835 - Cryptographic Algorithm Implementation Requirements for Encapsulating Security Payload (ESP) and Authentication Header (AH)]]
( ([TIME[2011-02-03 22:05:20 +09:00]] 版))
<http://tools.ietf.org/html/rfc4835#page-4>

[5] [CITE@en[RFC 4305 - Cryptographic Algorithm Implementation Requirements for Encapsulating Security Payload (ESP) and Authentication Header (AH)]]
( ([TIME[2011-01-08 12:17:45 +09:00]] 版))
<http://tools.ietf.org/html/rfc4305#section-2>

[6] [CITE@en-us[Ontology for Media Resources 1.0]]
( ([TIME[2012-02-07 07:39:04 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-mediaont-10-20120209/#conformance>

[7] [CITE@EN[W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes]]
( ([TIME[2012-04-05 06:34:51 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#dt-must>

[8] [CITE@EN[W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures]]
( ([TIME[2012-04-05 06:34:07 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/#intro-terminology>

[9] [CITE@EN[XQuery 1.0 and XPath 2.0 Functions and Operators (Second Edition)]]
( ([TIME[2010-12-17 00:06:54 +09:00]] 版))
<http://www.w3.org/TR/2010/REC-xpath-functions-20101214/#must>

[11] [CITE@EN[XPath and XQuery Functions and Operators 3.0]]
( ([TIME[2014-04-08 07:02:07 +09:00]] 版))
<http://www.w3.org/TR/xpath-functions-3/#must>

[20] [CITE@en[Editorial: leave ASCII case-insensitive to Infra]]
([[annevk]]著, [TIME[2016-11-18 20:39:03 +09:00]])
<https://github.com/whatwg/html/commit/5f3f27bfdf0e0139f6cf5f22508f37710d917c00>

[21] [CITE@EN[XQuery 3.1: An XML Query Language]]
([TIME[2017-03-20 09:23:33 +09:00]])
<https://www.w3.org/TR/2017/REC-xquery-31-20170321/#id-conformance>

[22] [CITE@EN[XQuery 3.1: An XML Query Language]]
([TIME[2017-03-20 09:23:33 +09:00]])
<https://www.w3.org/TR/2017/REC-xquery-31-20170321/#id-conformance>

[23] [CITE@EN[XML Path Language (XPath) 3.1]]
([TIME[2017-03-20 09:18:04 +09:00]])
<https://www.w3.org/TR/2017/REC-xpath-31-20170321/#must>

[24] [CITE@EN[XML Path Language (XPath) 3.1]]
([TIME[2017-03-20 09:18:04 +09:00]])
<https://www.w3.org/TR/2017/REC-xpath-31-20170321/#mustnot>

[25] [CITE@EN[XPath and XQuery Functions and Operators 3.1]]
([TIME[2017-03-21 16:02:06 +09:00]])
<https://www.w3.org/TR/2017/REC-xpath-functions-31-20170321/#conformance-terminology>

[26] [CITE@en[Infra Standard]]
([TIME[2018-09-13 23:21:15 +09:00]])
<https://infra.spec.whatwg.org/#conformance>