On 23 May 2005, at 12:28 pm, Robert Sayre wrote:
What is the interop problem you are trying to avoid? You don't just
throw in a SHOULD NOT and say "otherwise it would be hard".
With the line in place, generating a basic byline is as simple as:
print "by "'
foreach (atom:author) print atom:author.name;
if (count(atom:contributor)) {
print "with contributions from ";
foreach (atom:contributor) print atom:contributor.name;
}
Without that line, the code has to do duplicate detection (including
looking for a name in a list of names, that may be formatted
differently). It is impossible to do this with 100% reliably. Hence
the SHOULD NOT.
Graham