Stephane Bortzmeyer さんは書きました:
On Thu, Oct 16, 2008 at 03:29:59PM +0900,Felix Sasaki <fsasaki at w3.org> wrote a message of 20 lines which said:I am working on an XML version of the registryThat will be the third one <http://www.langtag.net/registries.html> and still no YAML or JSON version :-)
Yes, I know. So I won't even try to advertise this new version :)
with the purpose of making it maller in terms of file size.I would prefer gzip (or a different and more compact format, like the two mentioned above).My question is whether the only fields which may appear more than once (and hence must be represented as elements) are "description" and "prefix".No, there is Comments, too. 3.1.2:Field-names MUST occur no more than once per record, with the exception of the 'Description', 'Comments', and sometimes the 'Prefix' field.
thanks for the pointer. /me looking at the registry did not find an example of an entry with several comments, though.
Also, it seems to contradict the spirit of 3.1.2:Future versions of this document might add additional fields to the registry; implementations SHOULD ignore fields found in the registry that are not defined in this document.While it is not explicit, it may indicate that a "once only" field could become a "several occurrences" field later.
I had first a version of this XML registry with all fields as elements. The version I have now with most of the fields is 1/2 size - around 7K for the registry update. So using (of course non-repeatable) attributes has a significant benefit.
Felix _______________________________________________ Ltru mailing list Ltru at ietf.org https://www.ietf.org/mailman/listinfo/ltru
Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.