Live data from Hacker News

"Remove mentions of XSLT from the html spec"

github.com

251–260 of 559 posts

Re: "Remove mentions of XSLT from the html spec"

#251

A few things to note: - This isn't Chrome doing this unilaterally. https://github.com/whatwg/html/issues/11523 shows that representatives from every browser are supportive and there have been discussions about this in standards meetings: https://github.com/whatwg/html/issues/11146#issuecomment-275... - You can see from the WHATNOT meeting agenda that it was a Mozilla engineer who brought it up last time. - Opening a…

Also, https://github.com/whatwg/html/issues/11523 (Should we remove XSLT from the web platform?) is not a request for community feedback. It's an issue open on the HTML spec for the HTML spec maintainers to consider. It was opened by a Chrome engineer after at least two meetings where a Mozilla engineer raised the topic, and where there was apparently vendor support for it. This is happening after some serious exploi…

> [T]he maintainer of libxslt has stepped down: https://gitlab.gnome.org/GNOME/libxml2/-/issues/913

... Largely because of lack of help from major users such as browsers.

Re: "Remove mentions of XSLT from the html spec"

#253

So if in reading the two threads correctly essentially Google asked for feedback, essentially all the feedback said "no, please don't". And they said "thanks for the feedback, we're gonna do it any way!"? The other suggestions ignored seemed to be "if this is about security, then fund the OSS, project. Or swap to a newer safer library, or pull it into the JS sandbox and ensure support is maintained." Which were all m…

>essentially all the feedback said "no, please don't". And they said "thanks for the feedback, we're gonna do it any way!"? this is a perfectly reasonable course of action if the feedback is "please don't" but the people saying "please don't" aren't people who are actually using it or who can explain why it's necessary. it's a request for feedback, not just a poll.

You're literally commenting on a thread full of those explanations that were handwaved away.

Re: "Remove mentions of XSLT from the html spec"

#254
post #154

Earlier quoted context omitted.

When I see "reps from every browser agree" my bullshit alarm immediately goes off. Does it include unanimous support from browser projects that are either: 1. not trillion dollar tech companies or 2. not 99% funded from a trillion dollar tech company. I have long suspected that Google gives so much money to Mozilla both for the default search option, but also for massive indirect control to deliberately cripple Mozil…

The reckless, infinite scope of web browsers https://drewdevault.com/2020/03/18/Reckless-limitless-scope....

It’s worth noting that since that article was written, the Ladybird browser has made a lot of progress with their new browser engine.

https://ladybird.org

Re: "Remove mentions of XSLT from the html spec"

#255
post #214

Earlier quoted context omitted.

I think this post is useful where the thread author proposed some solutions to the people affected: https://github.com/whatwg/html/issues/11523#issuecomment-318... The main thing that seems unaddressed is the UX if a user opens a direct link to an XML file and will now just see tag soup instead of the intended rendering. I think this could be addressed by introducing a processing instruction that browsers would inter…

> I think this could be addressed by introducing a processing instruction that browsers would interpret like a meta tag redirect. Then sites that are interested could put that line at the top of their XML files and redirect to an alternative representation in HTML or even to a server-side or WASM-powered XSLT processor for the file. HTTP has already had this since the 90s. Clients send the Accept HTTP header indicati…

Apart from that doesn’t really work for people who are statically hosting their RSS feeds etc.

Re: "Remove mentions of XSLT from the html spec"

#257
If this is in response to Nick Wellnhofers announcement from three months ago to stop embargoing/priorizing libxlst/libxml2 CVEs due to lack of manpower (which I suspect is a consequence of flooding projects with bogus LLM-generated findings from students wanting to butter their profile), wouldn‘t it be possible to ship an emscripten-compiled libxslt implementation instead of libxslt proper?

Re: "Remove mentions of XSLT from the html spec"

#258
post #50
post #25

Earlier quoted context omitted.

Also related, now flagged: https://news.ycombinator.com/item?id=44949857 Google is killing the open web, today, 127 comments

Why flagged? The post was reasonable.

Users flagged it. We can only guess why users flag things. Perhaps it was the baity title.

I've taken the flags off that post now.

Re: "Remove mentions of XSLT from the html spec"

#259

Earlier quoted context omitted.

There's ways to reduce attack surface short of tearing out support. Such as, for instance, taking one of those alleged JS polyfills and plugging it into the browser, in place of all the C++. But if attack surface is your sole concern, then one of those options sounds much easier than the other, and also ever-so-slightly superior. In any case, there's no limit on how far one can disregard compatibility in the name of…

It is a balance (compatibility vs attach surfaces). The issue with XSLT (which I am still a strong advocate for) is that nobody is maintaining that code. So vulnerabilities sit there undetected. Like the relatively recent discovery of the xsl:document vulnerability.

> It is a balance (compatibility vs attach surfaces).

What I'm trying to say is that it's a false dichotomy in most cases: implementations could almost eliminate the attack surface while maintaining the same functionality, and without devoting any more ongoing effort. Such as, for instance, JS polyfills, or WASM blobs, which could be subjected to the usual security boundaries no matter how bug-ridden and ill-maintained they are internally.

But removing the functionality is often seen as the more expedient option, and so that's what gets picked.

Re: "Remove mentions of XSLT from the html spec"

#260
post #83
post #72

Earlier quoted context omitted.

XSLT was the blockchain, nft, metaverse of the mid?-2000s. Was totally going to solve all of our problems.

I thought XML was that big hype, not XSLT. That I somehow never saw mentioned that you can do actual webpages and other useful stuff with it is probably why I never understood why people thought XML was so useful ^^' I thought it was just another data format like JSON or CSV, and we might as well have written HTML as {"body":{"p":"Hello, World!"}} and that it's just serendipity that XML was earlier

XML was the data storage - IBM DB9 supported it natively in a similar way to how Postgres supports jsonb.

You'd use XSLT to translate your data into a webpage. Or a mobile device that supported WML/WAP. Or a desktop application.

That was the dream, anyhow.

Post reply on HN