-
-
Notifications
You must be signed in to change notification settings - Fork 36
Drop references to a "function registry" #983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# MessageFormat 2.0 Default Function Registry | ||
# MessageFormat 2.0 Default Functions | ||
|
||
## Table of Contents | ||
|
||
|
@@ -18,8 +18,9 @@ | |
|
||
## Introduction | ||
|
||
This section defines the **REQUIRED** _functions_ which are REQUIRED for conformance with this specification, | ||
along with **RECOMMENDED** _functions_ that SHOULD be implemented to support | ||
This section defines the **_<dfn>default functions</dfn>_** | ||
which are REQUIRED for conformance with this specification, | ||
along with _default functions_ that SHOULD be implemented to support | ||
additional functionality. | ||
|
||
To **_<dfn>accept</dfn>_** a function means that an implementation MUST NOT | ||
|
@@ -34,34 +35,33 @@ Implementations MAY emit an _Unsupported Operation_ error for _options_ | |
or _option_ values that they cannot support. | ||
|
||
_Functions_ can define _options_. | ||
An _option_ can be **REQUIRED** or **RECOMMENDED**. | ||
An _option_ can be REQUIRED or RECOMMENDED. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The formatting here is intentional. Many such below. Won't repeat. |
||
|
||
Implementations MUST _accept_ each **REQUIRED** _function_ and | ||
MUST _accept_ all _options_ defined as **REQUIRED** for those _functions_. | ||
Implementations MUST _accept_ each REQUIRED _default function_ and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldn't make this change: I don't think it is necessary. |
||
MUST _accept_ all _options_ defined as REQUIRED for those _functions_. | ||
|
||
Implementations SHOULD _accept_ each **RECOMMENDED** _function_. | ||
Implementations SHOULD _accept_ each RECOMMENDED _default function_. | ||
For each such _function_, the implementation MUST accept all _options_ | ||
listed as **REQUIRED** for that _function_. | ||
listed as REQUIRED for that _function_. | ||
|
||
Implementations SHOULD _accept_ _options_ that are marked as **RECOMMENDED**. | ||
Implementations SHOULD _accept_ _options_ that are marked as RECOMMENDED. | ||
|
||
Implementations MAY _accept_ _functions_ not defined in this specification. | ||
In addition, implementations SHOULD provide mechanisms for users to | ||
register and use user-defined _functions_ and their associated _functional handlers_. | ||
register and use user-defined _functions_ and their associated _function handlers_. | ||
eemeli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Functions not defined by any version of this specification SHOULD use | ||
an implementation-defined or user-defined _namespace_. | ||
|
||
Implementations MAY implement additional _options_ not defined | ||
by any version of this specification | ||
for **REQUIRED** and **RECOMMENDED** functions. | ||
by any version of this specification for _default functions_. | ||
Such _options_ MUST use an implementation-specific _namespace_. | ||
|
||
Implementations MAY _accept_, for _options_ defined in this specification, | ||
_option_ values which are not defined in this specification. | ||
However, such values might become defined with a different meaning in the future, | ||
including with a different, incompatible name | ||
or using an incompatible value space. | ||
Supporting implementation-specific _option_ values for **REQUIRED** or **RECOMMENDED** functions is NOT RECOMMENDED. | ||
Supporting implementation-specific _option_ values for _default functions_ is NOT RECOMMENDED. | ||
|
||
Implementations MAY _accept_, for _operands_ or _options_ defined in this specification, | ||
values with implementation-defined types. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.