Skip to content

fix: add localBiblio fallback for SpecRef-resolved references - #273

Closed
ssteinbuss wants to merge 1 commit into
mainfrom
fix/localize-specref-fallback
Closed

fix: add localBiblio fallback for SpecRef-resolved references#273
ssteinbuss wants to merge 1 commit into
mainfrom
fix/localize-specref-fallback

Conversation

@ssteinbuss

Copy link
Copy Markdown
Contributor

Status

Standby fix — not merging yet. api.specref.org's DNS is currently broken
(confirmed: even the last published release, 2025-1-err1, shows the same
"Reference not found" errors for every SpecRef-resolved reference). We're
waiting to see if the service recovers on its own before deciding whether
to merge this. Keeping it ready as a draft in case it doesn't.

What this PR changes/adds

Adds localBiblio entries for the 8 references that were resolving through
SpecRef: json-schema, RFC2119, RFC8174, rfc3987, rfc8615,
did-core, vocab-dcat-3, odrl-model.

Why it does that

api.specref.org's DNS points to a Heroku subdomain
(api.specref.org.herokudns.com) that doesn't resolve any further — a dead
backend, not a transient blip. This makes the whole document independent of
that external service's availability, regardless of whether/when it comes
back.

Note: RFC2119 and RFC8174 aren't cited anywhere in our markdown —
ReSpec auto-injects them into the Conformance section for any document
using RFC 2119 keywords (MUST/SHOULD/MAY), which this spec does throughout.

Verification

Bibliographic data pulled from each spec's own canonical page (W3C TR pages,
RFC Editor, json-schema.org), not from the (currently unreachable) SpecRef
API. Verified the respecConfig object still parses as valid JS with all 11
localBiblio keys present.

api.specref.org's DNS is broken (CNAME to a dead Heroku subdomain), which
makes ReSpec unable to resolve json-schema, RFC2119, RFC8174, rfc3987,
rfc8615, did-core, vocab-dcat-3, and odrl-model at build/view time. Pin
their bibliographic data locally so the document renders correctly
regardless of that external service's availability.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ssteinbuss

Copy link
Copy Markdown
Contributor Author

Services returned to normal operation. This fix is not needed.

@ssteinbuss ssteinbuss closed this Sep 9, 2026
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.

1 participant