HomeSoftware Heritage

Explicitly use the atom: prefix internally.

Description

Explicitly use the atom: prefix internally.

This mostly does not change the protocol used (except in the error messages),
it's just an internal change for the server and for the client.

The only change in the protocol is that local tags (eg. <entry>...</entry>)
are no longer assumed to be in the Atom namespace (like
<entry xmlns="http://www.w3.org/2005/Atom">...</entry>), but they
never should have been in the first place.

Default namespaces / unprefixed tags are a footgun because it's too
easy to add tags in the default namespace without noticing,
or use the wrong namespace.

Details

Provenance
vlorentzAuthored on Nov 19 2020, 3:20 PM
vlorentzPushed on Nov 20 2020, 4:52 PM
Differential Revision
D4533: Explicitly use the atom: prefix internally.
Parents
rDDEP22172d4e72f1: Use a XML prefix for dublincore tags, instead of merging them with atom tags.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 17340
Build 26783: test-and-buildJenkins console · Jenkins