When an Open Standard Needs a Paid Document to Implement It
You find an open specification, start writing the code, and reach a line that says the encoding is "as defined in" some ISO document. You follow the reference and land on a shop. The spec is open in the sense that you can read the part which tells you to go and buy the other part.
A normative reference is part of the specification, so if you cannot read it, you are guessing at some of the rules you claim to follow. That is a bigger problem than the annoyance of a paywall.
"Open" does not reliably mean "free to read"
There is no single definition of an open standard, and the definitions differ right where the money is.
The OSI Open Standards Requirement says the standard must be "freely and publicly available" under royalty-free terms "at reasonable and non-discriminatory cost". Read that twice. A price is apparently allowed, provided it is a reasonable one.
The UK government's Open Standards Principles say open standards give permission to use technology "freely or at low cost", and that selected standards must be "well documented, publicly available and free to use". That is policy for government technology choices; it is not a law that makes anyone hand you a PDF.
So "open" hides three separate questions:
- Can you read the text without paying?
- Can you implement it without paying royalties?
- Can anyone take part in changing it?
A standard can pass the last two and fail the first. In my view that should disqualify it from the label, but plenty of definitions leave room for it.
A free profile only covers what it restates
The friendliest workaround is a profile: a free document that takes a paid standard and pins down a usable subset. RFC 3339 does this for ISO 8601 dates and times, and it is why most of us can format a timestamp without buying anything.
The RFC is candid about why it exists: the full ISO grammar was "deemed too complex for most Internet protocols". It also includes a grammar for ISO 8601 itself, but warns that this is the authors' own attempt, based on the 1988 edition, "informational only and may contain errors".
So there is a clear boundary. "Accepts RFC 3339" is a claim you can check, while "accepts ISO 8601" is a much bigger one. If your documentation says the second because your library does the first, fix the documentation.
You can write the boundary down as a test. Each expectation here comes from the grammar and notes in section 5.6 of the RFC:
package stamp_test
import (
"testing"
"time"
)
func TestRFC3339Boundary(t *testing.T) {
cases := []struct {
in string
want bool
}{
{"2026-11-29T12:00:00Z", true},
{"2026-11-29T12:00:00-00:00", true}, // local offset unknown
{"2026-11-29t12:00:00z", true}, // lower case is permitted
{"2026-11-29T12:00:00,5Z", false}, // fraction needs a dot
{"2026-11-29T12:00Z", false}, // seconds are required
{"20261129T120000Z", false}, // ISO basic format
{"2026-W48-7T12:00:00Z", false}, // ISO week date
}
for _, c := range cases {
_, err := time.Parse(time.RFC3339, c.in)
if got := err == nil; got != c.want {
t.Errorf("%q: accepted=%t, RFC says %t", c.in, got, c.want)
}
}
}
Do not assume your parser agrees with every row. A library constant named after an RFC is not a conformance certificate, and any failures are worth knowing about. Your protocol may also choose to be stricter than the RFC, in which case say so and change the table.
Quick detour, because that -00:00 is lovely. In RFC 3339 it meant "this is the UTC time, but I don't know the local offset", which is different from +00:00. RFC 9557 later revised the reading so that Z carries the "unknown" meaning too. So you need to track versions even for the free document.
Look for a legitimate free copy before paying
Paywalls are patchier than they look. The same or nearly the same text is sometimes available elsewhere:
- Sponsored copies. ISO 32000-2, the PDF 2.0 specification, has been available at no cost through the PDF Association since 2023, paid for by sponsors.
- Twin publications. ASN.1 encoding rules are published by ITU-T as X.690 as well as by ISO/IEC as 8825-1, and the ITU copy is a free download.
- Delayed access. The IEEE GET Program offers certain families, including IEEE 802, without charge, traditionally some months after publication.
- Working drafts. Some committees publish them openly.
The twin trick is my favourite: two organisations, one technical text and two very different checkout experiences. Check the title page and edition of both before treating them as interchangeable.
A draft is evidence, not the standard
C is the familiar case. The published C23 standard is ISO/IEC 9899:2024, which is sold. The WG14 projects page lists N3220 as the similar free draft.
Notice that WG14 labels N3220 an "early C2y draft". It is a draft of the next revision which happens to sit close to C23. Very useful, but it can contain changes that C23 does not.
The risk with any draft is that the one sentence you depend on may be the one that changed. For a hobby parser, that may be acceptable. For something sold as conformant, or anything where a misread rule becomes a security bug, buy the final text and its corrigenda.
Record what you actually built from
Whichever route you take, put a short file in the repository so the next person knows what your confidence rests on. Include:
- The exact document number, edition and date, including "draft" where it applies.
- Which clauses each module implements, by number.
- Every referenced document you have not read.
- Where behaviour came from another implementation or a blog post instead of the text.
- Test vectors, and who or what produced the expected values.
Writing down the third item feels like confessing. It is also the most useful one, because a contributor with access to that document now knows exactly where to look.
Do not commit the purchased PDF, and do not paste long extracts into comments unless the licence permits it. Clause numbers and your own description of the behaviour do the job. Sponsored copies have terms too: the PDF Association's are stamped with the downloader's name and company.
The paywall really hurts in code review. "Required by clause 7.4" is uncheckable if only one maintainer owns clause 7.4. A test with a worked input and output at least gives everyone else something to argue with.
The law is moving, mostly across the Channel
In March 2024 the EU's Court of Justice ruled in Public.Resource.Org v Commission (C-588/21 P) that there was an overriding public interest in disclosing four harmonised standards connected to toy safety and chemicals rules. The reasoning rested on those standards having legal effects as part of EU law.
That is not a ruling that all standards must be free. ISO and IEC have since brought a case (T-631/24) against the Commission's decision to extend access to their material. I found no judgment in it, so check its status before relying on either side's position.
For the UK, a CJEU decision made after the end of 2020 does not bind domestic courts, although they may have regard to it. Do not read the EU judgment as giving you free British Standards.
If you are the one writing the spec
You have far more power here than your implementers do. Before adding a normative reference to a paid document, try these in order:
- Reference a free equivalent, such as an RFC or an ITU-T twin.
- Define the small behaviour you need in your own words, checked against the source by someone who has it.
- If the paid reference is unavoidable, say so near the top, with the edition and the clauses required.
Option two carries its own trap: your restatement can drift from the original, and then you have two standards wearing one name. Publish test vectors with it, and say which document wins when they disagree.