A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Forking: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(Let's not make this too personal.)
 
(5 intermediate revisions by 3 users not shown)
Line 15: Line 15:


== Existing forks of HTML ==
== Existing forks of HTML ==
(based on [http://krijnhoetmer.nl/irc-logs/whatwg/20110430#l-179 IRC comment] by Maciej; possibly not everything here is strictly a fork, could use classification and explanation work)
(based on [http://krijnhoetmer.nl/irc-logs/whatwg/20110430#l-179 IRC comment]; possibly not everything here is strictly a fork, could use classification and explanation work)


=== W3C-hosted forks ===
=== W3C-hosted forks ===
Line 23: Line 23:
* [http://www.w3.org/TR/xhtml2/ XHTML 2]
* [http://www.w3.org/TR/xhtml2/ XHTML 2]
* [http://www.w3.org/TR/xhtml-print/ XHTML-Print]
* [http://www.w3.org/TR/xhtml-print/ XHTML-Print]
* [http://dev.w3.org/html5/spec-author-view/ HTML5 Edition for Web Authors]
* [http://dev.w3.org/html5/markup/ HTML: The Markup Language]


=== W3C-published but disavowed forks ===
=== W3C-published but disavowed forks ===
Line 32: Line 34:
=== Other forks ===
=== Other forks ===


* [http://jp29.org/iso.htm ISO HTML]
* [http://www.scss.tcd.ie/misc/15445/15445.html ISO HTML]: Diff spec.
* [http://www.openmobilealliance.org/tech/affiliates/wap/wap-277-xhtmlmp-20011029-a.pdf XHTML-MP]
* [http://www.openmobilealliance.org/tech/affiliates/wap/wap-277-xhtmlmp-20011029-a.pdf XHTML-MP]: Apparently no free download.  Reportedly not widely used.
* [http://www.wapforum.org/what/technical.htm WML] (apparently no free download)
* [http://www.wapforum.org/what/technical.htm WML]: Apparently no free download.  Reportedly very widely used and extremely harmful.
* [http://webapp.etsi.org/workprogram/Report_WorkItem.asp?WKI_ID=19886 WTVML] (apparently no free download)
* [http://webapp.etsi.org/workprogram/Report_WorkItem.asp?WKI_ID=19886 WTVML]: Apparently no free download.
* [http://www.whatwg.org/specs/web-apps/current-work/multipage/ WHATWG HTML]
* [http://www.whatwg.org/specs/web-apps/current-work/multipage/ WHATWG HTML]: No comment.
* [http://www.ce.org/Standards/browseByCommittee_2757.asp CE-HTML] (apparently only a preview available for free)
* [http://www.ce.org/Standards/browseByCommittee_2757.asp CE-HTML]: Apparently only a preview is available for free, which contains almost nothing beyond the table of contents.
* [http://idpf.org/epub/30/spec/epub30-publications.html EPUB]
* [http://idpf.org/epub/30/spec/epub30-publications.html EPUB]: Diff spec.
* [http://html4all.org/HTMLDraft.html HTML 4.1]
* [http://html4all.org/HTMLDraft.html HTML 4.1]: Accessibility-oriented fork.  Seems to attempt to respec from scratch, but it doesn't sound like it has anyone actually implementing it.
* [http://developers.whatwg.org HTML5 for Web developers]
 
=== Not really forks ===
* [http://developers.whatwg.org HTML5 for Web developers]: A subset of WHATWG HTML.
* [http://w3c-test.org/html/tests/submission/PhilipTaylor/annotated-spec/canvas.html Philip Taylor's annotated canvas spec]: No normative differences, or at least isn't supposed to have normative differences.


== Organizational forks ==
== Organizational forks ==
Line 64: Line 69:
** A national government could exempt itself from copyright anyway. Even [http://arstechnica.com/tech-policy/news/2008/08/air-force-cracks-software-carpet-bombs-dmca.ars the US government] does not consider itself bound by copyright law in all cases.
** A national government could exempt itself from copyright anyway. Even [http://arstechnica.com/tech-policy/news/2008/08/air-force-cracks-software-carpet-bombs-dmca.ars the US government] does not consider itself bound by copyright law in all cases.
** A specification is only needed if there is a desire for multiple independent interoperable implementations, i.e., if competition is being encouraged. But what government would on the one hand encourage competition amongst browser vendors and on the other hand prevent those browser vendors from implementing other versions of HTML?
** A specification is only needed if there is a desire for multiple independent interoperable implementations, i.e., if competition is being encouraged. But what government would on the one hand encourage competition amongst browser vendors and on the other hand prevent those browser vendors from implementing other versions of HTML?
** In practice, it would be economically impractical to control the Web by developing a parallel HTML that is similar enough that the W3C spec could be used as a basis, but different enough that it is incompatible with the Web's HTML. In reality, countries use content filtering software to do such control (e.g., China).
** In practice, it would be economically impractical to control the Web by developing a parallel HTML that is similar enough that the W3C spec could be used as a basis, but different enough that it is incompatible with the Web's HTML. In reality, countries use content filtering software to do such control (q.v., China).


* "Other undesirable forks could be for device specific variants of specs where it would be better for those groups to come into W3C [...] than to splinter html": When the W3C forks HTML (as it has in the past, see the list above), it is just as bad as when anyone else does. There is nothing special about the W3C here.
* "Other undesirable forks could be for device specific variants of specs where it would be better for those groups to come into W3C [...] than to splinter html": When the W3C forks HTML (as it has in the past, see the list above), it is just as bad as when anyone else does. There is nothing special about the W3C here.

Latest revision as of 15:53, 5 May 2011

The purpose of this page is to summarize information and arguments relevant to whether it makes sense for web specification copyright licenses to permit forking.

For our purposes, there are two different approaches to forking.

Language Forking
An alternative development path for the language created without using existing specification text as the basis of the work.
Specification Forking
An alternative development path using existing specification text as the basis of a derivative work.

Since a language fork is not a derivative work according to copyright law, it may be done without the permission of the copyright holder. A specification fork, however, requires a permissive licence or explicit permission from the copyright holder.

Standard licenses that permit specification forking include CC0, the MIT license, and the BSD licenses.

This page focuses on whether the W3C's HTML5 specification should allow forks, as the WHATWG version always has.

Existing forks of HTML

(based on IRC comment; possibly not everything here is strictly a fork, could use classification and explanation work)

W3C-hosted forks

W3C-published but disavowed forks

Other forks

  • ISO HTML: Diff spec.
  • XHTML-MP: Apparently no free download. Reportedly not widely used.
  • WML: Apparently no free download. Reportedly very widely used and extremely harmful.
  • WTVML: Apparently no free download.
  • WHATWG HTML: No comment.
  • CE-HTML: Apparently only a preview is available for free, which contains almost nothing beyond the table of contents.
  • EPUB: Diff spec.
  • HTML 4.1: Accessibility-oriented fork. Seems to attempt to respec from scratch, but it doesn't sound like it has anyone actually implementing it.

Not really forks

Organizational forks

One argument presented in favor of allowing forks is that if the W3C ever makes poor decisions that compromise the quality of its standards, other organizations should have the right to issue competing standards, with implementers agreeing to follow the better standard. When the W3C owns the right to large, established specifications that it doesn't permit others to fork, this becomes harder. Looking at cases where standards authors have abandoned an existing standards group to form their own should give an idea of whether this tends to be a good or bad thing.

W3C competing with IETF

The W3C itself was founded at least partly because Tim Berners-Lee felt that standardization at the IETF wasn't working well. As he writes in his book, Weaving the Web (pp. 62-3):

Progress in the [IETF's] URI working group was slow, partly due to the number of endless philosophical rat holes down which technical conversations would disappear. . . . Sometimes there was a core philosophy being argued, and from my point of view that was not up for compromise. Sometimes there was a basically arbitrary decision (like which punctuation characters to use) that I had already made, and changing it would only mean that millions of Web browsers and existing links would have to be changed.

In practice, the W3C has wound up cooperating with the IETF more than competing.

WHATWG competing with W3C

After HTML 4.01 was finalized in 1998, no new features were added to the HTML markup language other than in XHTML variants that browsers didn't implement. Thus HTML as a standard markup language did not progress at all between about 1998 and 2004. In 2004, Mozilla and Opera requested permission from the W3C to work on improving non-XML-based versions of HTML, and they were denied permission. Apple, Mozilla, and Opera then founded the WHATWG, which began work on a new version of the HTML specification outside the W3C. In a couple of years, the WHATWG rewrote the HTML standard from scratch, made it drastically more precise, and added many new highly-demanded features (such as video and canvas) that were previously only available through proprietary plugins. In 2007, the W3C formed an HTML Working Group again to work on non-XML-based versions of HTML, based on and in conjunction with the work of the WHATWG.

Modularization

XHTML Modularization has the goal of "providing a means for subsetting and extending XHTML, a feature needed for extending XHTML's reach onto emerging platforms". Although this is not technically a fork (in the sense that it does not imply taking the W3C spec text and rewriting portions of it), the ability to create new HTML-derived specs that add or replace functionality carries many of the same risks that are brought up in the context of forking.

Supposed risks of forking

  • "A national government could create its own intentionally incompatible national version of the html specification in order to prevent general Web access from within that country": This argument is wrong at multiple levels:
    • A national government could exempt itself from copyright anyway. Even the US government does not consider itself bound by copyright law in all cases.
    • A specification is only needed if there is a desire for multiple independent interoperable implementations, i.e., if competition is being encouraged. But what government would on the one hand encourage competition amongst browser vendors and on the other hand prevent those browser vendors from implementing other versions of HTML?
    • In practice, it would be economically impractical to control the Web by developing a parallel HTML that is similar enough that the W3C spec could be used as a basis, but different enough that it is incompatible with the Web's HTML. In reality, countries use content filtering software to do such control (q.v., China).
  • "Other undesirable forks could be for device specific variants of specs where it would be better for those groups to come into W3C [...] than to splinter html": When the W3C forks HTML (as it has in the past, see the list above), it is just as bad as when anyone else does. There is nothing special about the W3C here.
    • In practice, vendors who want to add device-specific features commonly just add new features without forking the spec. For instance, Apple has made up its own proprietary features such as <meta name="apple-touch-icon"> and <meta name="apple-mobile-web-app-capable"> to allow web pages to integrate better with the iOS browser. Forking the whole HTML spec would be a waste of time.

Advantages of allowing forking

  • It encourages the W3C to do a good job, because of the risk that if the W3C does not do a good job, it will lose relevance. This has already been shown to be beneficial both to the W3C and the Web at large with HTML5 itself: the W3C tried to strongarm the Web into abandoning HTML, and when the WHATWG worked on it instead, the W3C changed its mind. This demonstrates the benefit of allowing forking (though in this case, it turns out copyright restrictions were not any kind of barrier to forking, because HTML4 wasn't good enough to be a useful starting point and we instead started from scratch).

Reasons preventing forking is not necessary

  • If the W3C is the best place to work on specs, then people will not need to fork, they'll just work on them at the W3C.