Skip to content
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

fix: Erratum for time format with secfrac but not sec #550

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions ERRATA.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
are only allowed on `Link` objects. One alternative is to use `Link` objects
with the correct `height` and `width` as the `url` property for each `Image`
object.

```json
{
"@context": "https://www.w3.org/ns/activitystreams",
Expand Down Expand Up @@ -60,14 +60,14 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
- The range of the `units` property is given as an enumerated set of values.
Due to a formatting error, some of these values are shown with an incorrect
leading space character. The correct range is:

```text
"cm" | "feet" | "inches" | "km" | "m" | "miles" | xsd:anyURI
```

- Example 58 includes a `summary` property on a `Mention` object, which is
not allowed. A corrected example:

```json
{
"@context": "https://www.w3.org/ns/activitystreams",
Expand All @@ -80,3 +80,9 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
- Unlike `latitude` and `longitude`, the domain of the `altitude` term is the `Object` type. The `altitude` term should be included in the list of properties of an `Object`. Because `altitude` is primarily documented as a property of a `Place`, publishers should not include `altitude` on objects that are not of type `Place`, and consumers should accept objects with this property that aren't of type `Place`.

- The domain of the `attributedTo` property is both `Link` and `Object`. `attributedTo` should be included in the list of properties of a `Link`.

- The ABNF for `as2-partial-time` should be:

```
as2-partial-time = time-hour ":" time-minute [":" time-second [time-secfrac]]
```