w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
284 stars 60 forks source link

Example 136: typo - spaces in "range" enum #447

Closed sebilasse closed 6 years ago

sebilasse commented 6 years ago

Please Indicate One:

Please Describe the Issue: In https://www.w3.org/TR/activitystreams-vocabulary/#dfn-units some range properties have leading spaces "cm" | " feet" | " inches" | " km" | " m" | " miles" | xsd:anyURI

gobengo commented 6 years ago

Should be these lines of code, but can't tell what's wrong? https://github.com/w3c/activitystreams/blame/master/vocabulary/index.html#L5452

Is the code in this repo actually what is published?

sebilasse commented 6 years ago

The above cited lines should become

    "<code>cm</code>" | 
    "<code>feet</code>" | 
    "<code>inches</code>" | 
    "<code>km</code>" | 
    "<code>m</code>" | 
    "<code>miles</code>" |
    <code>xsd:avnyURI</code>

[note the position of the "]

gobengo commented 6 years ago

@sebilasse That looks like exactly what's been here in master branch for 3 years, or am I crazy? https://github.com/w3c/activitystreams/blame/master/vocabulary/index.html#L5452

But what's live here is different...

<td>
            "<code>cm</code>" | "
            <code>feet</code>" | "
            <code>inches</code>" | "
            <code>km</code>" | "
            <code>m</code>" | "
            <code>miles</code>" |
            <code>xsd:anyURI</code>
</td>

@cwebber do you know why?