|
From: Waylan L. <wa...@gm...> - 2009-01-27 23:41:17
|
On Tue, Jan 27, 2009 at 3:09 PM, Yuri Takhteyev <qar...@gm...> wrote:
>> I used "method" simply because that's what was in the ElementTree
>> alpha. I suppose "format" would be just as accurate, if not more so.
>
> What about "html_version" to make it quite explicit?
We could, but if "method" is what ElementTree is already using, then
I'd suggest staying with it. No sense repainting the bikeshed. In
fact, if I had realized that, I wouldn't even have asked.
>
>>> Oh, and should the options be "html" & "xml" or "html" & "xhtml"?
>
> I would make it more explicit. Perhaps, "html_4" and "xhtml_1_1".
> This will give us room for offering "html_5" and "xml_2_0" options
> later and will also make it more clear what exactly we are supporting.
> Note, for example, that our default output is not compatible with
> XHTML 2.0.
How about "html4" & "xhtml1"? Do we really need the extra .1?
Actually, after sending my last email, it occurred to me that we could
easily allow for a few alternatives. Something like:
if method in ['html', 'html4', 'html_4']:
...
Of course, only one of those should be documented, but you get the idea.
>
>> You mentioned licenses in an earlier email -- most of the additions
>> here are lifted straight out of Fredrik Lundh's most recent 1.3 alpha,
>> do you think we should check with him?
>
> Depends on what the license for ElementTree is. Depending on what it
> is, we may or may not be able to take chunks from it and include it in
> our BSD code. It's best to ask.
ElementTree is licensed BSD. I was intending to add a copyright to the
top of the file attributing it accordingly. That should be good
enough, but, when I'm ready to merge it, I'll fire an email off to
Fredrik with a copy attached for good measure.
I should be able to get to it within the next few hours. I'll copy the
list with the message.
--
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg
|