Skip to content

fix(core): correct xref example timestamps and schema ids - #668

Closed
marcschier wants to merge 1 commit into
xregistry:mainfrom
marcschier:fix/spec-590-xref-example-literals
Closed

marcschier wants to merge 1 commit into
xregistry:mainfrom
marcschier:fix/spec-590-xref-example-literals

Conversation

@marcschier

Copy link
Copy Markdown
Contributor

Fixes #590

Correct exactly six timestamp hyphens and three resourceid keys in the one concrete xref example pair. Use schemaid consistently while retaining the dates, ID values, URLs, version metadata, and source/target alias relationship.

Extend the existing sample tests and reuse their duplicate-key-aware JSON loader. Only the two named concrete blocks are parsed; other pseudo-JSON sketches and HTTP/Resource examples are untouched. Tests cover all six timestamps, all three ID keys, alias relationships, and rejected malformed timestamps.

Validation: red reproduced all 9 defects (9 failed / 3 passed); green: 12 passed; full tools suite: 79 passed. An exact before/after comparison confirmed no other source changes. Actual Core file/local-link verification, repository spelling, whitespace, catalog, backticks, and href checks passed. Local validation used isolated Python 3.13 / aiohttp 3.14.3 without changing pins.

Release note: Fix literal timestamps and schema identifiers in the xref example pair; no protocol behavior changes.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
@marcschier

Copy link
Copy Markdown
Contributor Author

Superseded by xregistry/spec#722 (bundle A). The selected substantive changes at reviewed head 0e4c59d are mapped in those replacement descriptions, with this original discussion and issue provenance retained.

Specification-text assertions and synthetic policy-test Python were deliberately omitted; qualifying real-artifact checks were retained or pruned as documented. Unmodified baseline Python and historical source branches are preserved.

Verified immediately before closing: xregistry/spec#722 at 43e452e: verify and DCO both passed.

Closing only this fully superseded original. Separate d/e proposals remain open, and no source branch is deleted.

@marcschier marcschier closed this Sep 15, 2026
duglin pushed a commit that referenced this pull request Sep 23, 2026
* fix(docs): correct specification and example errors

Transfer only the approved category-a documentation hunks. Keep policy,
metadata-view, generated-artifact and tooling changes in their own bundles.
Preserve the existing sample-validation Python without importing prose tests.

Refs: #668, #669, #671,
#672, #674, #676,
#682, #693, #695,
#704, #705, #710,
#711, #717, #718.

Refs: #609. These residual serialization repairs complement,
but do not absorb or complete, the separately owned #657 work.

Signed-off-by: Marc Schier <marcschier@hotmail.com>

* docs(core): repair selected Resource example punctuation

Add the three missing member separators and remove the extra brace from the reviewed Patch Resource initial state.

Signed-off-by: Marc Schier <marcschier@hotmail.com>

* docs(cloudevents): drop the added sample-abbreviation sentences

Review feedback on #722 asked to remove both new sentences; the samples and their corrected literals are unchanged otherwise.

Signed-off-by: Marc Schier <marcschier@hotmail.com>

---------

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct timestamp literals and schema ID keys in the xref examples

1 participant