ietf
[Top] [All Lists]

Re: XML2RFC and 2010?

2010-01-11 04:11:04
Glen Zorn wrote:
Christian Huitema [mailto://huitema(_at_)microsoft(_dot_)com] writes:

I am trying to prepare a draft using XML2RFC online, and I am getting
the error

xml2rfc: error: I can't synthesize a date in 2009 around input line 58

Context (format:  "file_basename:line_in_file:#elem_num:<elem ...>"):
    CGI5001.1:53:#1:<rfc category="std" docName="draft-ietf-behave-
address-format-03.txt" ipr="trust200902" obsoletes="2765">

Any idea why?

I can get the same thing by using a date element like <date year="2009"> and
making xml2rfc fill in the rest.  Change it to <date year="2010"> :-).
...

Yes. Both xml2rfc and rfc2629.xslt allow you to default year/month/day, but only as long as the values you *do* provide match the current date.

For IDs, my recommendation is to *always* set all three elements, so that when the document is regenerated later again, it will have the proper submission date.

Best regards, Julian
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>