News for hackers. Stuff that matters.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:23AM (#16829711)
The W3C was the original standardization organization for the web.

They wanted to create standards that allow easy implementation by others, and were willing to make some tradeoffs with backwards compatibility for that (see XHTML).

The browser vendors obviously oppose this, and want standards that just formalize what they already implement. As result, the browser vendors created their own standards committee, which standardizes whatever the browsers already do (if existing). This is the WHATWG.

As result, the web standards situation has gone to insanity. The WHATWG URL spec contains 4 pages of pseudocode and algorithm definitions for how Chrome parses URLs, and how you should as well, and the W3C, still being relied on by the other actors on the web that aren’t the 4 largest browsers, has to copy the WHATWG spec as base for their own specs, because browsers will ignore whatever the W3C says anyway.

But remember that the WHATWG proposed to the W3C that the W3C should copy the WHATWG specs as base for their own specs: https://en.wikipedia.org/wiki/WHATWG#cite_note-9

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @09:28AM (#16829750)
To offer another perspective.

I'd say the W3C wasted a huge amount of time pursuing quests of purity (XHTML) over actually making the web better for users. I see the value in what they were trying to do, but it wasn't letting people do the things they wanted to do on the web.

As browsers started just implementing features outside of standards in completely disparate ways because everyone was desperate for them (leading to plugin hell, apps rather than websites, etc...), WHATWG was created to try and ensure that the web remained a single thing and not a mess of things that would only work in one browser.

The web platform sprang forward massively as a result of this, with browsers implementing much more consistently and with new features tending to be implemented in compatible ways, with real progress being made.

This lead to the W3C specs becoming totally redundant and the only way for W3C to keep up was to lamely try to copy from WHATWG into a "spec" at random intervals and claim it was something people could work towards, when it reality it offers no real advantages over working to the living standard, because no browser offers better coverage of that spec than any other random point of the living spec.

People want features. We saw what happens with a very slow moving, rigid standard: plugins. Flash was popular because at the time you simply couldn't do good video, animation, games on the web platform. Likewise, mobile phones shifted to apps because websites couldn't do notifications or use location information. You can bemoan a living spec, but you get one anyway, because people will work around the web if they can't do what they want. If you want to use a subset of that living spec, use it, but at least keeping it together and agreeing on roughly how to do these things is better than plugins or abandoning the web entirely.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by chrisseaton on Friday April 13, 2018 @09:31AM (#16829777)
> This lead to the W3C specs becoming totally redundant and the only way for W3C to keep up was to lamely try to copy from WHATWG into a "spec" at random intervals and claim it was something people could work towards

So why don't they just disband the W3C? It sounds like it's not needed any more if WHATWG are doing the work?

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by lambda on Friday April 13, 2018 @10:47AM (#16830449)
The W3C actually does do some good work in other working groups; the CSS working groups seem to be working smoothly.

The W3C also oversees a lot of other standardization processes that aren't directly related to web browsers, like RDF. There are people who find this useful.

I think a lot of it is a power play. The W3C wants to be relevant, and the most relevant things in the web world are HTML, DOM, and CSS (there's also ECMAScript, but that already has a different standards body that owns it).

There are a lot of other standards that use HTML, CSS, and the DOM, such as ePub. The W3C wants to be the normative reference for these core web standards; many times, one standard will have to refer to the other, so the W3C wants to be the one that defines the "official" HTML standard.

But the W3C's process and policies are just terrible. They let people take over standards who have no intent on working with those most impacted by the standards, the people who develop the browsers that billions of people use daily to access tons of diverse content. So instead of just providing a lightly edited snapshot, possibly with some WIP features removed, of what the WHATWG produces, they start going in and meddling and making changes with insufficient justification so you have two forked standards providing a lot of confusion for everyone.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hungryfoolish on Friday April 13, 2018 @05:13PM (#16833955)
> The W3C actually does do some good work in other working groups; the CSS working groups seem to be working smoothly.

The W3C is also doing work in HTML at least too. If browser makers would actually participate as editors (like they do in CSS) then it would work just as well as the CSS working groups and others.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by mcchampion on Friday April 13, 2018 @06:27PM (#16834431)
> If browser makers would actually participate as editors

Microsoft tried that, investing in easier to use GitHub tooling to allow a wide range of people to submit pull requests to update/fix bugs in the W3C HTML standard. "If you build the field of dreams, they will come...." Nope. "They" had all gone to WHATWG ballpark, and all the W3C editors do is cherrypick (that's the actual word in the HTML 5.2 Recommendation) WHATWG's specs. It made a LOT more sense to just join WHATWG for HTML (and DOM).

> > The W3C actually does do some good work in other working groups

Right, W3C as a whole does a lot of good work. CSS is a good example, Web Payments, Web Authentication, Web Assembly come to mind as groups where a broad group really does come together and build consensus on how to solve hard problems. The HTML and DOM communities, however, have moved to WHATWG for reasons that happened long ago and apparently can't be un-done, even if a company with Microsoft's resources tries.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hungryfoolish on Saturday April 14, 2018 @10:08AM (#16837366)
>Microsoft tried that, investing in easier to use GitHub tooling to allow a wide range of people to submit pull requests to update/fix bugs in the W3C HTML standard. "If you build the field of dreams, they will come...." Nope. "They" had all gone to WHATWG ballpark, and all the W3C editors do is cherrypick (that's the actual word in the HTML 5.2 Recommendation) WHATWG's specs. It made a LOT more sense to just join WHATWG for HTML (and DOM).

It won't work if only one browser maker will participate. If only microsoft participated and implementing things in the CSS WG then nothing really would get done over there too.

If all the browser makers would have editors in the w3c html spec (like they do in many other w3c specs) and agree to implement stuff there, then that would also work.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by mcchampion on Saturday April 14, 2018 @11:49AM (#16837815)
How would one convince the others to re-invest in W3C HTML and DOM? Microsoft's rationale a few years ago was that WHATWG wasn't a real standards organization with a patent policy, dispute resolution system, etc., and that created various legal and business concerns.

It turned out to be much easier to add a legal framework to WHATWG than to convince the HTML and DOM standards community to move back to W3C. Basically, people work on specs (and code) together in the places where there is a critical mass of expertise and energy being productively engaged. The key variable is the people, not the organization.

I don't understand the dynamics of how these critical masses of expertise coalesce, break up, and move around. I have learned that it's much more efficient to go with the flow than try to redirect it.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by lambda on Friday April 13, 2018 @05:59PM (#16834247)
What good work is it doing in HTML?

In HTML, as far as I can tell, it appears to be copying features from the WHATWG standard, paraphrasing them, and including them in their standard, with only a small notice on the acknowledgements page the the HTML standard contains parts derived from the WHATWG standard.

The browser makers did participate. They participated in the W3C working groups up until they were shot down when trying to propose to work on features that users actually wanted and would be backwards compatible rather than backwards-incompatible XHTML 2.0.

The browser makers then proceeded to do their work on rich web applications, with features like canvas and XMLHttpRequest, as well as actually putting together a spec for how to consistently parse HTML that would be compatible with real content, in the WHATWG.

When it was clear that the WHATWG standard was the one that actually mattered because it was what was actually implemented, the W3C invited them back in to start working on the standard together. That's what HTML5 was; the W3C agreed that they would start from the WHATWG standard, that they could have the same editor (Ian Hickson), and they wound down the XHTML 2.0 group.

However, various people involved in the W3C process proceeded to use bureaucratic moves to raise formal objections to things that had been changed, and escalated the issues above the editor. Eventually, he got fed up and left the process, and most of the browser vendors proceeded to continue working through the WHATWG. Microsoft was the last holdout, but eventually they too left the W3C process and moved over the the WHATWG as well.

So, the browser vendors have tried to work directly with the W3C on the HTML spec twice, once before the WHATWG split off and once as part of the attempted reconciliation. Both times, they were stymied by other people involved in the process who were more interested in purity and process than actually providing a forum for working out a good specification for real world implementation.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hungryfoolish on Saturday April 14, 2018 @10:05AM (#16837358)
>What good work is it doing in HTML?

From my experience, it has generally done a better job of explaining things developers would want to know, especially in terms of accessibility and internationalisation.

The XHTML stuff was a long time back, and at that time, it warranted having a whatwg. Now that W3C is no longer insisting on XHTML (and hasn't for many years).

>When it was clear that the WHATWG standard was the one that actually mattered because it was what was actually implemented, the W3C invited them back in to start working on the standard together. That's what HTML5 was; the W3C agreed that they would start from the WHATWG standard, that they could have the same editor (Ian Hickson), and they wound down the XHTML 2.0 group.

This is the crux of it. The WHATWG is really usefull for browser vendors because they can do essentially whatever they want in it without anyone having the power to formally object to it (unlike the W3C). Now the whatwg editors (and thus browser makers) can say that they will listen to community feedback, but thats pretty much a benign dictatorship over the most important spec of the web.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @09:34AM (#16829798)
I mean, reading that GitHub thread, it seems to me that everyone involved is saying that's exactly what should happen, and the people invested in the W3C are trying to force through new work just to justify the organisation's continued existence (and presumably, if I were being cynical, their paycheck).

The bone of "you could set specs based on snapshots of the living standard" was thrown to them, but the reality is no one cares enough about it to actually do that well, so it's just being done in a bad way that will hurt everyone.

That thread reads, to me, as "we tried being nice, but now you are causing problems, just stop please".

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by robin_reala on Friday April 13, 2018 @09:48AM (#16829923)
W3C do a huge amount more than HTML and DOM. All of CSS is coordinated through there for example.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:38AM (#16829832)
> I'd say the W3C wasted a huge amount of time pursuing quests of purity (XHTML) over actually making the web better for users. I see the value in what they were trying to do, but it wasn't letting people do the things they wanted to do on the web.

Okay, let’s make a deal:

We both write a crawler that can fully reliably parse websites.

I implement XHTML1.1, you implement HTML5. We both get 1 month time.

What do you think is going to happen?

XHTML was a worthy goal – with it, we wouldn’t have a need to run headless Chrome for tests. We could parse the web, and actually use the data. OpenGraph tags would never have been necessary. We wouldn’t need to throw DNNs at rendered output of a browser just to parse data.

HTML5 is amazing for existing browser vendors, developers, and in the short-term, users. But everyone else loses. Horribly.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @09:41AM (#16829860)
And if we were all using XHTML1.1 now instead, yes, your parser would be easier, except all the richer content would be in flash, and all the web apps would be desktop applications, and you wouldn't be able to parse that at all, even with a full browser.

You are acting like everyone would just stop and wait for you to make your dream implementation that's ideal - that's not how the world works.

WHATWG was an admission that we can't stop it, so we might as well embrace it. Embracing it has resulted in browsers being far more consistent, and new features being a shared part of the web platform, and not siloed off in plugins and other platforms. That's why W3C is irrelevant now.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:45AM (#16829897)
You’re assuming XHTML1.1 would never have evolved further, never have gotten more content.

And Flash, despite its flaws, would have been a much better starting point for rich content than the ecosystem we have today.

Many of the features Flash provided are only available in browsers today through babel.js transpilation. As result, we’re stuck with a language without stdlib and broken syntax.

We’re stuck with a document model that’s impossible to work with or parse, and with impossible layout management.

If you want web applications, it’d make much more sense to port the Android layout XML format to the web than to attempt to use HTML5 for it, because HTML5 is insanity for building applications.

> and all the web apps would be desktop applications

I don’t see that as anything bad.

The web is for documents, and lightly interactive content. All the rich applications on the web are opaque to any crawler I could write anyway, as I just get "You need JS to view this React app". Desktop applications would be just as parseable, except they would also be less of a resource hog.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @09:50AM (#16829943)
The idea that standards groups exist to push for top-down reconcepting of how the world should work is a common one, and is also a good reason why standards groups fail. Your idea of what the best outcome is won't be the same as every other stakeholders, and no one stakeholder will have exactly the same idea of the best outcome as the market will.

Ultimately, the market will win, no matter what your standards group says.

The point of standards is interoperability, not rationalization. When standards groups try to rationalize technologies real people work with, they cease to provide value, and instead become obstacles that real engineers end up laboriously working around.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:57AM (#16829997)
When I was a child in elementary school, a standards committee decided to change my native language.

They replaced the spelling of most words, and many grammatical rules.

We were forced to obey these changes, any use of the old rules was counted as mistake in school.

Back then, many older books were still using the old rules.

By the time I left high school, almost no books with the old rules were left. All had been reprinted. All newspapers had switched. Autocorrect programs had been updated with the new rules as well.

In a matter of 8 years, an entire language had changed its orthography and parts of its grammar, top-down, and it worked out fine.

I’m sorry, if an entire human language with 120 million speakers can be updated top-down like that, a web spec can as well.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by djrogers on Friday April 13, 2018 @11:48AM (#16831129)
Apples and oranges - when you introduce a government mandate, you remove the market. @tptacek's aregument is clearly about market forces in publicly defined standards, not government enforced ones.

I'm pretty sure the last thing anyone really wants is what we'd wind up with if web standards were left to government dictates...

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @01:32PM (#16832097)
There’s no need for a government to enforce standards on the web – there’s already an oligopoly that can do it on their own.

In fact, there’s a single company that can just outright dictate web standards, because they hold almost 70% of the browser market: Google.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by msoucy on Friday April 13, 2018 @10:02AM (#16830051)
What language is this? This sounds fascinating.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:06AM (#16830083)
My example was the implementation of the German orthography and language reforms between 1996 and 2006 (I went to elementary school in 2002, when implementing it was still in progress, and most stuff was still using the old spelling, I left high school in 2014).

But French has their Academy, which has even more power over language, and afaik, Spain supposedly has similar governing bodies.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by neuromantik8086 on Friday April 13, 2018 @01:37PM (#16832137)
Meh- the French Academy has power over prescriptive grammar sure, but it has almost no power over what descriptive linguistics finds. Lots of Arabic and Verlan has made its way into everyday parlance.

I'm not really sure that the French Academy is really that much more effective than Strunk & White is for English speakers. It primarily seems to be ceremonial / an expression of French pride.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by jstewartmobile on Friday April 13, 2018 @11:20AM (#16830784)
If you want a more tech-related example, Jobs said "no flash on iPhones", and in a few years... poof! no flash.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @02:40PM (#16832765)
The counter to that is pretty obvious, because if you remember Jobs also said "no native apps on iPhones", and then in a few months... poof! an app store.

Flash was pretty much dead anyway, and the web platform had advanced enough to mostly replace it at that point. That wasn't true for native apps.

If you want to make a standard, it has to let people do the things they want to do. Otherwise, people will just use a different (or no) standard.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by jstewartmobile on Sunday April 15, 2018 @06:23AM (#16842080)
I'm not really getting into the standards thing here--just throwing some ammo to the underdog.

My only point is that there are only a handful of companies with the cash, the talent, and the inclination to tackle these things, and most of them are near if not total monopolies, so as long as what they put out there isn't a blatant kick-in-the-nuts, most of us will just accept it.

iPhone was a compelling product, didn't have flash, everyone migrated to Javascript ASAP. Google is practically a monopoly, and when webmaster tools tells people to jump, watch everyone piss away a weekend to add microformats and shave 5% off of a few 40k images.

Serfs. We are all serfs.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @09:58AM (#16830005)
That sounds horrible.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:02AM (#16830049)
It was amazing. The new orthography is much simpler, and has far fewer insane rules or exceptions. And most people that have seen the transition, but were born after it, or went to school during it, agree.

I know it can work on this scale, I’ve seen it IRL. Many languages do stuff like this, German has the council of German language, and French has their Academy.

You can do the same on the web. You just need to have all vendors working together to actually do it.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @10:07AM (#16830091)
The idea that a bunch of standards group officials can decide for the world that web pages are simply lightweight content publishing mechanisms and that real applications should be build exclusively in Flash and that that worldview can be ratified and mandated by browser vendors does not seem amazing to me.

At any rate: the Internet is a market system, not a top-down autocracy.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by xg15 on Friday April 13, 2018 @10:32AM (#16830317)
The alternative (and current reality) is that the same things are decided by about four companies in an entirely intransparent manner.

At least the W3C had processes and a wide array of members.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @10:35AM (#16830348)
Isn't that just theater? None of them can tell Apple and Google what to put in their browsers; in fact, if they can't convince just one of the big 4 browser vendors to do something, their standards have no meaning at all.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by jancsika on Friday April 13, 2018 @06:41PM (#16834527)
It's even more work than that-- check out caniuse for SVG fonts:

https://caniuse.com/#feat=svg-fonts

They had support in both Safari and Chrome, but never in FF or IE (nor Edge). Chrome eventually dropped the support.

So I'd say if you can't get all four to implement the feature then you might as well call that part of your spec a "living standard." Those features are going to get way fewer eyeballs, fewer bugfixes, fewer reviews, fewer pieces of documentation, etc.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @02:34PM (#16832700)
Uh, WHATWG is an open process - they have a similar level of control over things that W3C had.

If you want to try and claim W3C ever had the power to enforce people following their specs, IE6 would like to have a word.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by jstewartmobile on Friday April 13, 2018 @11:16AM (#16830738)
The Internet is a network. The web is an oligopoly. Google, Google-by-proxy, and Apple fill the dog bowl, and the rest of us eat from it because it is there.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Tomte on Friday April 13, 2018 @10:09AM (#16830107)
If you‘re talking about German, it was not amazing, but a cultural catastrophe, and an extra-legal totalitarian nightmare.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:19AM (#16830221)
I assume you’re older than 22? There’s pretty much a strict split at around that age. People older seem to consistently hate it, people younger seem to consistently like it, because the new rules are much simpler.

Previously, Gruß and Kuß had no info about how long to pronounce the u – Gruß and Kuss do. And until 2017, capitalizing them into GRUSS and KUSS lost this information, now GRUẞ and KUSS keep it.

Previously, for many words, the rules when to split the word, when to write them together, when to use – was insanity. Now it’s all in a few easy rules.

And you have to remember, this wasn’t the first time German went through such changes – ever since the advent of the printing press, when a written German language was basically "invented" from the many dialects that existed, until today, there have been proponents of a prescriptive language evolution, and they’ve had lots of influence over time.

When you use Tarnen, Verfasser, or Absender, Abstand, Bücherei, Augenblick, Leidenschaft, Entwurf or Briefwechsel, Rechtschreibung or Tagebuch, Grundlage, Altertum, Erdgeschoss, tatsächlich or Hochschule, all these words were defined top-down. (All these words are just from Philipp von Zesen, Christian Wolff, and Joachim Heinrich Campe)

A massive amount of what we consider "German" today was defined and changed top-down, and without these changes, German wouldn’t be recognizable.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Tomte on Friday April 13, 2018 @10:26AM (#16830270)
You‘re misinformed.

Yes, the German language has had several big changes, but until the reform we‘re talking about it was linguistically „proper“ in that the existing language was described and codified. It was bottom up.

In this reform some non-elected people (who just a few years earlier had said themselves that there job wasn‘t to invent German, but to describe existing use and trends) invented a whole new orthography from scratch. The new rules have never been in use anywhere throughout the German-speaking lands.

They were and are pure fiction.

In linguistics that‘s how you tell a layperson: they think linguistics is proscriptive. Now it seems to be... :-(

And of course people under 22 don‘t care. They have never learned proper German.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:49AM (#16830467)
You mean, just like in many other languages? According to Wikipedia, French, Icelanding, Spanish, Swedish, and a few more have had varying degrees of prescriptive language standardization.

> Yes, the German language has had several big changes, but until the reform we‘re talking about it was linguistically „proper“ in that the existing language was described and codified. It was bottom up.

I just explained why that wasn’t the case. Many linguists in the past have intentionally invented words (see the ones I mentioned) to make the language simpler, and stricter.

And the same continued until today – the drug store chain Rossmann has been a constant supporter of linguistic prescriptivism, has sponsored groups supporting it, and has been using these concepts in all their published material as well. Many other companies engaged in this as well.

The language has never been defined by the people speaking it, but always by the journalists writing it, the linguists describing it, and the companies influencing it.

And German as a whole was created, as pure fiction, by people trying to publish books across the whole of Germany at a time when everyone spoke local dialects.

At no time has German ever been a bottom-up language – and if we already let our language be influenced and shaped by companies, by media – why not at least use similar influence to make it simpler?

Having a language be simple to use is more important than some fake emotional value of being "natural".

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Tomte on Friday April 13, 2018 @10:52AM (#16830509)
You simply don't understand what I have written. I think we can leave it here.

I don't care about your opinion that it's "fake" and "emotional".

Language is a core part of my being, and a fascist power-grab killing my mother tongue is simply a crime against humanity. It's no different from how the Turks have been treating the Kurdish language.

I have only weak hope, but still hope, that we can someday reverse this. Violently or non-violently.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by ygaf on Friday April 13, 2018 @11:51AM (#16831167)
Do you believe languages are meant to live forever?
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by xg15 on Friday April 13, 2018 @10:31AM (#16830303)
But it worked.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by krylon on Saturday April 14, 2018 @03:42AM (#16836353)
I am not sure if this is still the case today, but I remember that not too long after the new orthography / grammar rules were passed, two major news publishers announced that they would return to the old rules.

Also, my sister is a linguist, and I can trigger her going on a long rant just by mentioning the Rechtschreibreform. ;-)

(Personally, I think some of the new orthography rules are much simpler and consistent, so I use them. The rest I basically ignore, unless a spellchecker nags me about it.)

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @09:43AM (#16829874)
The HTML5 person's crawler will parse some significant fraction of real websites, and the XHTML one won't, because people write HTML5 and not XHTML, even if you as a tool vendor would greatly prefer otherwise.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @02:57PM (#16832933)
And yet, forcing people to implement opengraph tags, forcing people to drop flash, forcing people to use HTTPS, forcing people to drop Symantec certs, forcing people to drop SHA1 certs – so often the actors behind the WHATWG have managed to get website authors to change what they use.

Hell, Google has AMP, which is far more intrusive than XHTML ever was, and yet, they’ve managed to get every major website to implement it. https://www.ampproject.org/docs/troubleshooting/validation_e...

And yet, somehow, implementing some stricter spec is supposedly impossible?

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by bjelli on Saturday April 14, 2018 @01:24AM (#16836034)
There' s a Big difference between "every major website" and "the Web".

"every major website" means 100 companies with skilled developer who can and will react to changes in browsers quickly.

"The web" consists of millions of websites maintained by individuals and small organisations who have no resources to update the way their web pages are coded every year. It contains HTML generated 10, 20, soon 30 years ago. It contains that one app in your intranet with the table layout that you can't replace and that IOT thing you connected to your home Wi-Fi 7 years ago that has no way of upgrading its web interface.

A browser that looses access to "the web" is worst than useless.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by bonesss on Saturday April 14, 2018 @06:59AM (#16836810)
There's also a federal procurement picture: big governments making big purchases aren't fans of incompatibilities and standardised solutions.

For a company like MS losing access to "the web" could keep a lot of people from becoming VPs...

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by blablabla123 on Friday April 13, 2018 @11:11AM (#16830686)
IMHO XHTML is pretty painful. Even if you say: okay, there is a server-side auto-generated markup tree and we can formally verify what happens. There is now a solution to that and it's called (server-side) React which is basically a (useful) alternative to XSLT. Except that it outputs HTML5.

Even if you argue that the specs are huge. Just compare book sizes about XML, XSLT vs HTML5 and CSS, JS, React. When I actually tried to do some useful work with XSLT (which needs to be mentioned here IMHO), I realized that the - less painful - 2.0 version is hardly implemented by anyone.

Regarding the parsing: X(HT)ML lexing is ridiculously easy, for HTML5 it's slightly more difficult but not tough at all. You just need to keep a list of closing vs self-closing tags. Not talking about building in fault-tolerance, that would be tough, yes, even tougher for XML!

> XHTML was a worthy goal – with it, we wouldn’t have a need to run headless

> Chrome for tests. We could parse the web, and actually use the data.

> OpenGraph tags would never have been necessary. We wouldn’t need to throw

> DNNs at rendered output of a browser just to parse data.

Yes and no. If you use CSS for styling, the answer is no. If you require JS to show the initial show/page, the answer is no as well. But yeah, if you use the whole XML machinery with XSLT and possibly even XPATH, then you would be kind of right. I mean, as long as we properly handle the schemas and dtd's - which almost no parser does AFAIK. So it's true, one can do pretty bad-ass stuff with all the X*. But tooling and library support is not good and has never been. XSLT 1.x is insanely difficult to use and XSLT 2.x hard to fully implement I guess.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by ttepasse on Friday April 13, 2018 @02:02PM (#16832386)
> OpenGraph tags would never have been necessary.

Small correction: XHTML2 had the Metainformation Attributes Module [1]. That then became RDFa in (X)HTML, practically the same syntax and processing model.

Facebooks Open Graph stuff is claimed to be RDFa. When I tested it then their Parser did not really do RDFa processing - other CURIE prefixes for the same URI weren't recognized, if I remember correctly.

But in effect Open Graph meta information would have looked the same in XHTML2 as in todays WHATTF HTML.

For your other argument I agree. WHATWG (and dumb modern style of development) reduced the democratising aspect of the web. But of course the people of WHATWG word for billion dollar companies, which want to have a moat to centralize behind.

[1] https://www.w3.org/TR/xhtml2/mod-metaAttributes.html

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by olavk on Friday April 13, 2018 @10:00AM (#16830027)
The HTML5 crawler would be able to crawl the web, the XHTML crawler would be able to crawl 0.0001% of the web.

XHTML would only improve the web if all existing HTML went away or was changed to XHTML. Since this is never going to happen, XHTML does not simplify anything.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by pvg on Friday April 13, 2018 @09:48AM (#16829924)
HTML5 is amazing for existing browser vendors, developers, and in the short-term, users. But everyone else loses. Horribly.

I don't understand who the 'everybody else' is in this case and what and when their horrible losing will be.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:53AM (#16829967)
People trying to build new tools that parse the web.

Try building a crawler without reusing an existing browser engine.

Try running unit tests against your own web projects with Selenium without running a headless browser.

Phantom.JS gave up because they couldn’t keep up with the complexity, and Chrome headless "just works".

Opera gave up on their own browser engine because of the complexity of parsing HTML5 accurately, when the spec is just "whatever Chrome does".

We’ve thrown away an entire ecosystem, just for more flashy graphics.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by simonw on Friday April 13, 2018 @10:44AM (#16830419)
One of the most valuable aspects of HTML5 is that it defines a parsing model for "broken" HTML.

This means tat, for the first time, it's possible to build a brand new HTML parser that has a high chance of working against all existing HTML without needing to first reverse-engineer existing browsers.

Remember, when HTML5 was first designed Internet Ecplorer was by far the most widely used browser. And IE was closed source. If you wanted to build a parser you needed to first reverse engineer IE and figure out how it handles invalid HTML.

The HTML5 spec fixed that. The thing you are complaining about here (HTML5 making it harder to build a new browser from scratch) is one of the things HTML5 actually solved!

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by detaro on Friday April 13, 2018 @10:00AM (#16830026)
I very much doubt Opera gave up because of "parsing HTML5". Parsing HTML5 is well-defined, certainly better than what was there before (unless you are willing to say "if you don't write perfect XML you don't get to be on the web", but good luck with that – no browser ever was and never will be in the position to do that)

The vast majority of the difficulty of the web platform is in the layers above, which don't care if the DOM they are looking at came from HTML5 or XHTML: layouting/rendering, interactions of JS and DOM, ...

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by annevk on Friday April 13, 2018 @12:51PM (#16831710)
Indeed, having worked for Opera during the time where we implemented HTML5-compliant parsing, the net result was that we fixed a bunch of site compatibility issues. Implementing it made competing with other browsers easier. (And as you say, parsing HTML is complex, but the rest of the web platform is vastly more so.)
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by pvg on Friday April 13, 2018 @10:00AM (#16830023)
That's a pretty tiny 'everybody else' compared to users, web and browser developers. They seem to be doing mostly ok and I still don't follow your argument that their concerns should somehow reign supreme over those of, you know, the actual everybody else.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:13AM (#16830157)
It’s a tiny "everybody else" because it never was given a chance to develop.

Maybe you’d also say that the number of people that want to do their online banking with a desktop program that isn’t provided by their bank is a tiny "everybody else".

Yet in places where OpenHBCI exists, many people use it – and there is an ecosystem around it, e.g. KMyMoney can integrate with it, and there’s a small widget for KDE to show your current account balance in your tray.

If we had a machine parseable web, a similar ecosystem would have developed. When embedding links today, we use OpenGraph tags. But why? If the web was directly machine readable, we could’ve directly embedded that content.

Google search shows you as preview excerpts of tables on a page, with an easily machine readable web, similar stuff could’ve happened here.

Maybe instead of only embedding YouTube videos, I would have been able to easily embed any part of any web page into any other. Maybe I would have been able to easily embed any part of any web page in a desktop application. Maybe I would have been able to build addons that easily search over content of web pages, in a structured way.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @10:27AM (#16830281)
This would be a more compelling counterfactual if the approach that won wasn't in many senses the most successful technology in the history of the computer industry.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by coding123 on Friday April 13, 2018 @11:37AM (#16830993)
It seems like the web is 10 times more parseable. I feel like almost all content is now delivered via JSON services, and the HTML around it is constructed on the fly and is totally pointless to look at. At least that's the direction I've seen. I don't know how "everyone else" are people that are writing parsers. Seems like that would be a tiny percentage of the population, not "everyone else".
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by lambda on Friday April 13, 2018 @11:51AM (#16831166)
> I implement XHTML1.1, you implement HTML5. We both get 1 month time.

Do you get to use libraries or not?

If you get to use libraries, there are plenty of libraries for both of these tasks, so it will be fairly equivalent. In fact, if you want to really support XHTML well, it will probably be more complex, because you have to take into account namespaces; a tag or attribute is not just a simple string, you have to consider the namespace it's in, so you would have to deal with that.

If you have to write it from scratch, I'd actually also bet on it being quicker for HTML5. The exact algorithm is specified in the standard; you just have to translate that from pseudocode into whatever language you're working in.

In XHTML, you have to look through several standards (XHTML 1.0, XHTML Modularization, XML 1.0 which includes the DTD, XML Namespaces, XML Schema), and then translate from the specification in a declarative style into a algorithm that can actually be used to parse the document. XML parsing is actually quite complicated.

> XHTML was a worthy goal – with it, we wouldn’t have a need to run headless Chrome for tests. We could parse the web, and actually use the data.

What? XHTML wouldn't have replaced the use of JavaScript to add features and load content. It wouldn't have replaced people's inappropriate use of tags. It wouldn't have replaced the fact that web pages are written for human consumption, and so don't generally try to include appropriate annotations on data for processing by other tools.

> HTML5 is amazing for existing browser vendors, developers, and in the short-term, users. But everyone else loses. Horribly.

Imagining that some magical standard is going to make everything better for users is a pipe dream. Providing good data formats and APIs for exporting data is hard, and is a different problem that providing user interfaces and interactivity. There's not some way in which XHTML could have been extended to serve both purposes; they are just too different.

This is why, when people care about providing programmatic access to data, they generally provide two endpoints; one serving HTML, CSS, and JavaScript for humans to interact with, and one for providing JSON for machines to parse. There have been endless attempts to try and make one standard that would work for both purposes, and they've failed because that's just not a good approach for solving the problem; instead, it's better to just have an API that both the UI code (whether on the client or server side) can use, and other developers can use if you want to expose it.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by fjsolwmv on Friday April 13, 2018 @11:34AM (#16830948)
In the long run, we're all dead. We need short term solutions.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by stupidcar on Friday April 13, 2018 @09:44AM (#16829887)
No, it wasn't simply a question of backwards compatibility. The W3C wanted (wants?) to pursue its own quixotic vision of a semantic, machine-readable web. One in which the needs of human users, browser user agents and use cases like web apps was of incidental importance at best.

The HTML5 spec effort that gave birth to WHATWG wasn't simply about documenting backwards compatible parsing, it was about vendors like Mozilla and Opera wanting to evolve HTML in a way that added actually useful new features, something that W3C had zero interest in at the time.

Nowadays, the W3C's behaviour seems to be driven entirely by an institutional desire to justify its own existence, and protect its revenue stream and its self-assumed position as the one-true source of web standards, by engaging in bad-faith practices like taking standards produced through the hard work of others, removing all citations, making breaking changes, and publishing it as a competing "standard".

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:50AM (#16829947)
Yes, and today we’re left with a web that you can only parse if you’ve got a few thousand developers and billions of dollars to throw at the issue.

As I wrote below, I offer $100 to anyone that can write a tool that can fully parse and render HTML5, the entire spec, and can a real-life React app, within of 4 weeks, without using any existing library or code for the parsing or rendering.

Doing the same for XHTML and a strict scripting language is easily possible in that time.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by stupidcar on Friday April 13, 2018 @10:10AM (#16830128)
That was the situation prior to the writing of the HTML5 spec, not a situation it created. The majority of the web was not, and never would have been parsable as strict XHTML, whatever the desire of the W3C or anybody else. And even for new content, the idea that every hand-authored file would be well-formed, or that every half-baked and buggy CMS would always produce correct markup was a pipe-dream.

If strict parsing had been enforced, we'd have a web where a large proportion of the sites you visited each day would be broken. Or rather, we wouldn't, because complaints from users would have long ago forced browser vendors to implement graceful error handling, and so you'd end up with something akin to HTML5 anyway. Indeed, it was encountering precisely this problem that made vendors like Mozilla and Opera (who, incidentally, never had billions of dollars) to lose faith in XHTML in the first place, not some masochistic desire to keep their browsers' code as complicated as possible.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by monetus on Friday April 13, 2018 @10:34AM (#16830335)
It would be awesome if the layers of the browser would allow for a more parseable, document-based web. That would be an effort towards standardization.

But are you really advocating for removing dynamic media from the browser? That seems like an incredible step backwards in most regards. In the absence of a desktop toolkit to rule them all, browser standardization is what we are left with right?

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:52AM (#16830505)
> In the absence of a desktop toolkit to rule them all

Qt. Runs everywhere, works everywhere, just fine.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @11:08AM (#16830648)
If only some standards group somewhere could mandate that everyone use Qt.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by monetus on Sunday April 15, 2018 @03:46PM (#16844529)
Ah, this gets into gpl vs bsd though doesn't it? I'm not sure what to think about dual licensing. I have a fondness for Qt, but I also like tcl/tk so... its hard not for me to think of that xkcd about standards. https://xkcd.com/927/
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by coding123 on Friday April 13, 2018 @11:43AM (#16831068)
React probably uses HTML5 APIs but could probably be re-written to do the same thing without them... I'm not sure anyone here is interested in $100 as they probably wasted at least that much "company" money reading this thread this happy Friday.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @12:23PM (#16831473)
The $100 is for someone writing a fully-working parser that handles real-world HTML5 pages, without reusing any existing implementations.

Building an entire new parser is (obviously) much easier for strict languages (e.g. JSON) than for lenient languages (e.g. HTML5).

Which is the problem I have with HTML5, JS, and many similar technologies – they’re so lenient that almost everything is broken instead. We might as well write websites in english prose, it wouldn’t be much harder to parse.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by cwmma on Friday April 13, 2018 @09:30AM (#16829762)
I think you're downplaying the shit show that was XHTML.

It was the epitome of standards people chasing the ideal of a perfect platonic ideal of a standard at the cost of actual usability. E.G. a single parse error in an XHTML document and it doesn't render at all. That all by itself was a deal breaker for many people.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by smaddox on Friday April 13, 2018 @09:43AM (#16829872)
That seems reasonable to me. Would you want your programming language to compile code that has a syntax error?
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by haberman on Friday April 13, 2018 @10:00AM (#16830029)
Yes, it seems reasonable, and the analogy with programming languages seems to make sense. But there's a big difference. With programming languages, you write a program, and when it's correct, you check it in and it's immutable until you check in a new version. Web pages are composited on-the-fly by programs that combine static files, database content, content from third parties, etc. The only way you guarantee a valid output document is if your compositor is bug free and defensively validates any third-party content you might be pulling in. Any bug in the compositor and your website is totally unavailable for users that hit the bug.

This is a great illustration of the concept: https://web.archive.org/web/20060613193727/http://diveintoma...

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by smaddox on Friday April 13, 2018 @10:15AM (#16830180)
Thanks for the link. I can certainly see how making the transition now is pretty much untenable, but I'm not 100% sold that it wouldn't be a good idea if everyone had adopted the policy from the start. I can certainly see how it would still be important for browsers to have a mode where they do their best to render the page, but it's less clear that it should be the default. Even if it was the default, then I would expect variations in different browsers ability to recover from errors would lead developers to being much more careful about allowing errors to creep in.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by haberman on Friday April 13, 2018 @10:50AM (#16830480)
What makes that story (in my link) so compelling to me is that it happened to people who were XHTML advocates. They were the people arguing that browsers should be strict. They were the people writing blogging software The Way It Should Be Done, to ensure maximum XHTML compliance. It was a blog entry that was specifically arguing for strict parsing that it became invalid XHTML due to a bug.

If true believers can make this kind of mistake, how often will it happen to people who are just trying to get work done? People will have bugs in their code sometimes, but what should the failure mode be?

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by smaddox on Friday April 13, 2018 @11:37AM (#16830994)
Yes, but if browsers were strict by default (or at least by default in dev mode), the bug in his compositing software likely would have been found and fixed much earlier, and it wouldn't have persisted into production.

So again, I understand that it's nearly impossible to make the transition now, but that doesn't mean it wouldn't be preferable. And there's no reason the transition couldn't still be made, but much more slowly, and perhaps without ever making the big browsers reject by default.

I don't know if there are other disadvantages to XHTML, but if the strictness issue is the only one, then it seems like there would still be value in slowly transitioning over.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by TheOtherHobbes on Friday April 13, 2018 @10:49AM (#16830470)
Web pages are information held inside containers, not code.

The analogy is a classic example of the "Everything must act like a compiler" fallacy.

There are many situations in which compilation is hopelessly inappropriate as a user model.

Not only is the web one of them, but the hypothetical semantic web is also one of them.

You can't force semantics into compilable tokens. The suggestion that you can - and should - is nonsensical.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @02:59PM (#16832957)
I’ll remind you that the AMP spec has an extremely strict validation requirement: https://www.ampproject.org/docs/troubleshooting/validation_e...
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by pvg on Friday April 13, 2018 @09:54AM (#16829973)
Would you want any and all systems to have identical failure modes?
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:35AM (#16829809)
That’s great if you’re either an existing browser vendor, using a browser, or developing a broken website.

But if you actually try to write a new browser from scratch, or a tool to scrape websites, you’ll learn to love XHTML, and hate HTML5.

The same that applies with human languages applies here as well. Writing a vocaloid for japanese is a high school programming class project. Writing a TTS for english takes thousands of Google developers years. Writing an XHTML1.1 parser and renderer takes a month. Writing an HTML5 browser takes thousands of developers years.

The WHATWG specs prevent the web from ever evolving further – we’re stuck with opaque websites and no way to build new technology on top of it. Building a crawler is a task of years, and semantic data tags are impossible to parse, because no one uses them right.

The only reason we can automate any parsing of websites is because either browser vendors spent billions on crawlers for their search engines, or if we run a full browser, or if we use the opengraph tags that Facebook forced on websites.

With XHTML1.1, Chrome and Firefox headless would never have been necessary. Imagine how much time and computational cost you could save.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by PeterisP on Friday April 13, 2018 @10:34AM (#16830333)
"That’s great if you’re either an existing browser vendor, using a browser, or developing a broken website." - and that's the whole point, in the marketplace the convenience of these people matters much, much, much more than the convenience of those people who want to "try to write a new browser from scratch, or a tool to scrape websites."

If you want to scrape websites or show them in a browser, then you have to follow the needs of makers of these sites, because you need them and they don't need you. If you want to go to the right and they want to go to the left, you either follow them or go alone and become unable to scrape or browse their content. If there's a feature that they want to use that makes your parsing more complicated, tough luck, that feature is going in as long as somebody (e.g. major browser vendors) will agree to make it work.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by freeone3000 on Friday April 13, 2018 @01:17PM (#16831960)
The huge underlying assumption here is that people would use XHTML as a standard instead of using HTML4.01 with browser-specific extensions, which is what actually happened. XHTML didn't add any value to page authors. It added hugely indirect value to readers. The only people XHTML helped were tooling authors and browser vendors. It's very hard to market that as a value-add.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by olavk on Friday April 13, 2018 @09:48AM (#16829931)
But the web already contains billions of pages which do not conform to XHTML. Any browser or scraper would still have to able to parse those to be of any use. Adding XHTML would just be an additional parser frontend, it would not simplify anything.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:51AM (#16829955)
That’s not true – the WHATWG has already deprecated some HTML specs, and older HTML pages already break today.

XHTML would have worked the same way – after a few years, you can deprecate the old parsers.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by olavk on Friday April 13, 2018 @10:08AM (#16830099)
As far as I know, WHATWG have deprecated some elements not widely used (like "isindex", "font"), but the documents using these elements will still be readable even if not exactly as the author intended. Moving to XHTML, on the other hand, would make billions of pages totally inaccessible.

There are people who are now dead who have pages on the internet. These pages will never be updated.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hsivonen on Friday April 13, 2018 @01:25PM (#16832022)
font still works. isindex does not. It's extremely rare for a cross-browser HTML element to get removed but isindex is one of those.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @03:08PM (#16833021)
blink also doesn’t work anymore, and neither does marquee. Several of the frame attributes are broken as well. noscript doesn’t always work reliably depending on browser.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hsivonen on Friday April 13, 2018 @03:24PM (#16833164)
Marquee works for me in Gecko and Blink. Didn't test the other two engines.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Analemma_ on Friday April 13, 2018 @10:33AM (#16830323)
You keep repeating over and over that the big advantage to XHTML is "not having to run headless browsers", which I don't understand. I use Selenium all the time for my job, it's not great but it's... not horrible? It's fine, it's not some massive inconvenience, and it's definitely not worth getting rid of HTML5 to abandon it, when, as others have pointed out and you keep ignoring, the practical effect would be that the web would be useless for actual humans without plug-ins.

I guess I don't get your huge bone to pick with Selenium.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @03:09PM (#16833037)
> I use Selenium all the time for my job, it's not great but it's... not horrible? It's fine, it's not some massive inconvenience,

Try running hundreds of tests at the same time, to actually get fast results when running a full test suite.

Right now running a small testsuite takes here over 2 hours, 99% of the time is spent in the browser processes.

And that’s not nearly close to 100% test coverage.

> not worth getting rid of HTML5 to abandon it

You don’t have to – XHTML isn’t the only strict spec out there, AMP is another, React also enforces strict syntax in JSX templates. AMP fails to render anything if there’s even a single mistake, React fails at build time.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hsivonen on Friday April 13, 2018 @01:22PM (#16832000)
Parsing isn't the difficult part and above the parser both XHTML and HTML involve the same complexity.

You can get an HTML parser off the shelf. A browser vendor (Mozilla) even funded one for non-browser purposes before adopting it for Firefox.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by comex on Saturday April 14, 2018 @06:43AM (#16836771)
> Writing a vocaloid for japanese is a high school programming class project. Writing a TTS for english takes thousands of Google developers years.

It didn't take "thousands of Google developers years" to teach a computer English spelling rules. Indeed, even a programming class assignment could do that: you can cover most cases by just looking the pronunciations up in a dictionary. (The number of quirks and inconsistencies makes English spelling quite hard for humans to memorize, but computers are rather good at lookup tables.)

Even if you consider the actual Vocaloid software, which was developed by a team at a large corporation, there are two factors differentiating it from English TTS that make the latter much harder:

1. Japanese has much simpler phonetics than English, with a smaller set of phonemes and (somewhat oversimplifying) only using open syllables. So it's easier to consume and produce, for both computers and humans, but at the cost of being a less efficient encoding: Japanese tends to require a lot more syllables than English to express the same concept, and there are a lot of homophones.

2. Vocaloid sounds robotic. It's gotten a bit less so over time, but it still doesn't come close to passing as human. If you're okay with robotic, English TTS software has existed for a long time, starting many decades before Google was founded. The hard part, the part that requires neural networks and massive computational power and Google and still has yet to be perfected, is making it sound human.

By the way, although vocaloid software would be given phonetic input, normal Japanese writing uses kanji (i.e. Chinese characters), most of which have multiple unrelated possible pronunciations. Determining which pronunciation applies to each character in a given piece of text is nontrivial, and sometimes even depends on context or meaning.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by ChrisSD on Friday April 13, 2018 @09:51AM (#16829952)
XHTML lost in the marketplace. This was due in part to lack of developer adoption and the fact Internet Explorer ignored it. You could argue that the web community should have forced this through but that simply wasn't working at the time.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by maxerickson on Friday April 13, 2018 @09:46AM (#16829900)
I'm pretty sure javascript heavy pages would exist even in a strict parsing world.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by andybak on Friday April 13, 2018 @09:33AM (#16829790)
This summary glosses over several events that alienated browser vendors and web developers from the W3C and makes the W3C sound like the good guys.

One that springs to mind is the complete debacle around XHTML 2. The link above ( http://diveinto.html5doctor.com/past.html ) is worth reading to understand things from the WHATWG's perspective.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by chrisseaton on Friday April 13, 2018 @09:30AM (#16829765)
> the W3C, still being relied on by the other actors on the web that aren’t the 4 largest browsers

Why do other actors need to rely on the W3C? Why can't they use the WHATWG specs as well? You say they're more complicated, but if that's what the browsers do then that's what they do.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by mfoy_ on Friday April 13, 2018 @09:39AM (#16829847)
Specification vs Documentation...
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:31AM (#16829780)
Because the XHTML spec would have made a lot of things easier.

I can write an XHTML1.1 parser and renderer in about one month.

Writing an HTML5 parser takes thousands of developers 5 years.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @09:38AM (#16829836)
I can make a self-driving train far more easily than I can make a self-driving car.

You are comparing two things that aren't equivalent. The living standard provides a lot more value than the old specs, and that's why they won.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:41AM (#16829862)
The living standards winning is something we should see as tragedy, not as something good.

We’ve made parsing the web something that only massive corporations can do. We’ve made building a browser so complicated that even Opera gave up after the complexity of HTML5, and we’re now left with only 4 major browser engines, of which 2 share a significant amount of code.

Do you see an innovative ecosystem there?

We’re left with a web that can’t be parsed, we’re left with a web where, to run Selenium tests, we have to run Chrome headless, because nothing else can even attempt to render websites anymore.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by chrisseaton on Friday April 13, 2018 @09:45AM (#16829892)
> Do you see an innovative ecosystem there?

Yes! Everyone says that the specification approach is what was severely limiting innovation, and when they took the living specification approach instead that's when web innovation took off again.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:48AM (#16829918)
Oh? How many tools do you know that can parse a current HTML5 react app without importing any existing browser?

Every tool we have to use on the web relies on 4 existing tools that only major companies can build.

I’ll pay you $100 if you manage to write, in 4 weeks, a browser, from scratch, that renders a real life React app accurately, including all content, without importing a single bit of code or libraries from existing browsers or web tools.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by sangnoir on Friday April 13, 2018 @10:49AM (#16830463)
> Oh? How many tools do you know that can parse a current HTML5 react app without importing any existing browser?

I don't recall XHTML deprecating JavaScript- pray tell, how would you render the XHTML version of a react app without a browser, or a JS engine as a bare minimum? (X)HTML is orthogonal to Js/react.

I could develop a self-driving car for $50 000 (instead of millions) if human drivers and pedestrians started behaving in well-defined patterns, following strict rules and stopped doing stupid, unexpected things. I'd really love that, but it's not going to happen even though there already are "standards" in the law books.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by chrisseaton on Friday April 13, 2018 @09:56AM (#16829992)
You asked about innovation, not how easy it is for new people to enter the market. Innovation in browsers has definitely gone up and as a user I feel like I'm winning from this with better websites and more powerful web apps.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @09:59AM (#16830019)
How many new browsers do you see? Is that innovation in browsers? Browser competition and innovation is at its lowest ever. Chrome holds 2/3rds usage globally.

I don’t want more powerful ways to display ads, I want to get more content, better connected, without any of the fluff around it.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by chrisseaton on Friday April 13, 2018 @10:08AM (#16830097)
> Browser competition and innovation is at its lowest ever.

I don't care directly about competition, because that's just a means to an end, and the end I care about is innovation, and I don't agree that innovation is low - I think it's high. New HTML features are coming out in a fast continuous stream, unlike how it used to be.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by tptacek on Friday April 13, 2018 @10:38AM (#16830367)
What does it even mean to parse a React app? Crawlers can't resolve the halting problem, either.
Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @10:43AM (#16830406)
> Crawlers can't resolve the halting problem, either.

And yet, that’s where we’re at today. Blogspot posts require JS. So many other pieces of content are similarily built.

And with phatomjs gone, we’re now running entire headless browsers just to test if websites are rendered correctly. It’s insanity.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by Latty on Friday April 13, 2018 @09:47AM (#16829911)
Yes, and before that there were maybe 1.5 viable ways to render flash content.

Then you need to take that `.exe` and try and pull out it's content. Game, app, whatever.

We have a web that can be parsed, with difficulty, instead of a web without half of the content we want to parse.

The web was being replaced - this is what saved it, like it or not.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by sanxiyn on Friday April 13, 2018 @11:41AM (#16831047)
> Writing an HTML5 parser takes thousands of developers 5 years.

This is demonstrably untrue. Servo's HTML5 parser, html5ever, was largely written by a single developer within a year. (Yes, it's not a month, but it's also not 5 years.)

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @12:27PM (#16831502)
And wouldn’t it have been easier to write it without any of the leniency it has to expose? Wouldn’t it have been easier if all tags were either ending in /> or followed by a closing tag? Wouldn’t it have been easier if the syntax was formally defined as ABNF, and could be translated into code in a matter of days?

I believe it would have been. And I believe that making the web easier machine readable, and making it easier for people to develop tools working with the web, would be a valuable goal.

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by hsivonen on Friday April 13, 2018 @01:32PM (#16832091)
> Wouldn’t it have been easier if all tags were either ending in /> or followed by a closing tag?

Not really.

> Wouldn’t it have been easier if the syntax was formally defined as ABNF, and could be translated into code in a matter of days?

No, working from an spec written as an algorithm is easier than working from ABNF plus some inconvenient prose constraints.

(With the exception of template element support, I wrote the HTML parser used in Firefox and Validator.nu.)

Re:Microsoft, Google, Mozilla, and Apple Object to W3C Fork ... by kuschku on Friday April 13, 2018 @02:55PM (#16832902)
> No, working from an spec written as an algorithm is easier than working from ABNF plus some inconvenient prose constraints.

That sounds very unlikely.

I’ve implemented my own parsers for countless specs – plaintext or binary, and the parsers that are written as imperative algorithms are insanely complicated to implement as functional implementations.

I end up with horrifying code, while the specs written as ABNF are much easier to translate into pattern matching code.

The specs written as algorithm only work fine for a single type of implementation IME, while the ABNF specs work equally well for all types.