(original) (raw)
On Friday, August 31, 2012 at 6:48 AM, "Martin v. Löwis" wrote:3\. There should be a specification of how collisions between extensionfields and standard fields are resolved. E.g. if I haveExtension: HomeHome-page: http://www.python.orgis Home-page the extension field or the PEP 345 field? There areseveral ways to resolve this; I suggest giving precedence to thestandard field (unless you specify that extensions must follow allstandard fields, in which case you can drop the extension prefixfrom the extension keys).
Unless i'm mistaken (which I may be!) I believe that a / can be used asthe separator between the namespace and the "real" key.Home-page: http://www.python.orgExtension: HomeHome/other-thing: Foo
Not bad.
Doing this is the "Extension" field required?
Yes it is required. A simple lookup for data \['extension'\] tells you what to expect.