spankalee 7 hours ago

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 PR doesn't necessarily mean that it'll be merged. Notice the unchecked tasks - there's a lot to still do on this one. Even so, give the cross-vendor support for this is seems likely to proceed at some point.

  • spankalee 6 hours ago

    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 exploits were found: https://www.offensivecon.org/speakers/2025/ivan-fratric.html

    And the maintainer of libxslt has stepped down: https://gitlab.gnome.org/GNOME/libxml2/-/issues/913

    • xvilka 5 hours ago

      There is a better alternative to libxslt - xee[1][2]. It was discussed[3] on HN before.

      [1] https://blog.startifact.com/posts/xee/

      [2] https://github.com/Paligo/xee

      [3] https://news.ycombinator.com/item?id=43502291

      • zetafunction 4 hours ago

        Disclaimer: I work on Chrome/Blink and I've also contributed a (very small) number of patches to libxml/libxslt.

        It's not just a matter of replacing the libxslt; libxslt integrates quite closely with libxml2. There's a fair amount of glue to bolt libxml2/libxslt on to Blink (and WebKit); I can't speak for Gecko.

        Even when there's no work on new XML/XSLT features, there's a passive cost to just having that glue code around since it adds quirks and special cases that otherwise wouldn't exist.

      • MallocVoidstar 3 hours ago

        > Xee implements modern versions of these specifications, rather than the versions released in 1999.

        My understanding is that browsers specifically use the 1999 version and changing this would break compat

    • xg15 6 hours ago

      I think this discussion is quite reasonable, but it also highlights the power imbalance: If this stuff is decided in closed meetings and the bug trackers are not supposed to be places for community feedback, where can the community influence such decisions?

      • jchw 6 hours ago

        I think it depends on the spec. Some of the working groups still have mailing lists, some of them have GitHub issues.

        To be completely honest, though, I'm not sure what people expect to get out of it. I dug into this a while ago for a rather silly reason and I found that it's very inside baseball, and unless you really wanted to get invested in it it seems like it'd be hard to meaningfully contribute.

        To be honest if people are very upset about a feature that might be added or a feature that might be removed the right thing to do is probably to literally just raise it publicly, organize supporters and generally act in protest.

        Google may have a lot of control over the web, but note that WEI still didn't ship.

        • bawolff 6 hours ago

          If people are upset about xslt being removed, step 1 would have been to actually use it in a significant way on the web. Step 2 would have been to volunteer to maintain libxslt.

          Everyone likes to complain as a user of open source. Nobody likes to do the difficult work.

      • mr_toad 5 hours ago

        WhatWG has a fairly well documented process for feature requests. Issues are not usually decided in closed meetings. But there’s a difference between constructive discussion and the stubborn shameless entitlement that some members of the community are displaying in their comments.

        https://blog.whatwg.org/staged-proposals-at-the-whatwg

      • jerf 4 hours ago

        Honestly, your chance to impact this decision was when you decided what technologies to use on your website, and then statistically speaking [1], chose not to use XSLT in the browser. If the web used it like crazy we would not be having this conversation.

        Your other opportunity is to put together a credible plan to resource the XSLT implementations in the various browsers. I underline, highlight, bold, and italicize the word "credible" here. You are facing an extremely uphill battle from the visible lack of support for the development; any truly credible offer should have come many years ago. Big projects are well aware of the utility of last-minute, emotionally-driven offers of support in the midst of a burst of publicity, viz, effectively zero.

        I don't know that the power is as imbalanced as people think here so much as a very long and drawn out conversation has been had by the web as a whole, on the whole the web has agreed this is not a terribly useful technology by vast bulk of implementation work, and this is the final closing chapter where the browsers are basically implementing the will of the web. The standard for removal isn't "literally 0 usage in the entire world", and whatever the standard is, if XSLT isn't on the "remove" side of it, that would just be a sign it needs to be tuned up because XSLT is a complete non-entity on the web. If you are not feeling like your voice is being respected it's because it's one of literally millions upon millions; what do you expect?

        [1]: I know exceptions are reading this post, but you are exceptions. And not terribly common ones.

        • ndriscoll 3 hours ago

          Statistically, how many websites are using webusb? I'm guessing fewer than xslt, which is used by e.g. the US Congress website.

          I have a hard time buying the idea that document templating is some niche use-case compared to pretty much every modern javascript api. More realistically, lots of younger people don't know it's there. People constantly bemoan html's "lack" of client side includes or extensible component systems.

          • otterley an hour ago

            Where is the US Congress's website identified as a potentially impacted site? https://chromestatus.com/metrics/feature/timeline/popularity...

            edit: I see Simon mentioned it - https://simonwillison.net/2025/Aug/19/xslt/ - e.g., https://www.congress.gov/119/bills/hr3617/BILLS-119hr3617ih.... - the site seems to be even less popular than Longhorn Steakhouse in Germany.

            My guess is that they'll shuffle people to PDF or move rendering to the server side, which is a common (and, with today's computing power, extremely cheap) way to generate HTML from XML.

          • em-bee 2 hours ago

            i just built a website in XSLT and implementing some form of client side include in XSLT is not easier than doing the same in javascript. while i agree with you that client side include is sorely missing in HTML, XSLT is not the answer to that problem. anyone who doesn't want to use javascript to implement client-side include, won't want to use XSLT either.

        • o11c 4 hours ago

          Counterpoint: most websites are not useful. If we only count useful websites a much higher percentage of them are using XSLT.

          But useful websites are much less likely to be infested by the all consuming Goo admalware.

          • bawolff 3 hours ago

            [Citation needed]

            Seriously, i doubt this.

            • const_cast 2 hours ago

              A lot of very old SPA like heavy applications use XSLT. Basically, enterprise web applications (not websites) that predate fetch, rest, and targeted or still target Internet Explorer 5/6.

              There was a time where the standard way to build a highly interactive SPA was using SOAP services on the backend combined with iframes on the front end that executed XSLT in the background to update the DOM.

              Obviously such an approach is extremely out of date and you won't find it on any websites you use. But, a lot of critical enterprise software was built this way and is kind of stuck like this.

              • bawolff an hour ago

                > Internet Explorer 5/6

                Afaik IE 5 did not support XSLT. It supported a proprietary similar language that was different. I think IE6 was first version to support XSLT.

                I feel like when i see enterprise xslt a lot of it is serverside.

            • cyanydeez 3 hours ago

              I secondly doubt this. Would love a succinct list of "important" websites.

        • xg15 4 hours ago

          That's not completely wrong, but also misses some nuance. E.g. the thread mentions the fact that web support is still stuck at XSLT 1.0 as a reason for removal.

          But as far as I know, there were absolutely zero efforts by browser vendors before to support newer versions of the language, while there was enormous energy to improve JavaScript.

          I don't want to imply that if they had just added support for XSLT 3.0 then everyone would be using XSLT instead of JavaScript today and the latest SIMD optimizations of Chrome's XPath pipeline would make the HN front-page. The language is just too bad for that.

          But I think it's true that there exists a feedback loop: Browsers can and do influence how much a technology is adopted, by making the tech less or more painful to use. Then turning around and saying no one is using the tech, so we'll remove it, is a bit dishonest.

          • jerf 3 hours ago

            Javascript was instantly a hit from the day it was released, and it grew from there.

            XSLT never took off. Ever. It has never been a major force on the web, not even for five minutes. Even during the "XML all the things!" phase of the software engineering world, with every tailwind it would ever had, it was never a serious player.

            There was, at no point, any reason to invest in it any farther.

            Moreover, even if you push a button and rewrite history so that even so it was heavily invested in anyhow, I see no reason to believe it would have ever been a major force in that alternate history either. I would personally contend that it has always been a bad idea, and if anything, it has been unduly propped up by the browsers and overinvested in as it is. But perhaps less inflammatorily and more objectively, it has always been a foreign paradigm that most programmers have no experience in, and this was even more true in the "XML all the things!" era which predates the initial Haskell burst that pushed FP forward by a good solid decade, and the prospects of it ever being popular were never all that great.

            • em-bee an hour ago

              i also don't see XSLT solving any problem that javascript could not solve. heck, if you rally need XSLT in the browser, using javascript you could even call some library like saxonjs, or you could run it webassembly.

      • 8NNTt8z3QvLT8tp 5 hours ago

        Fwiw the meetings aren't closed, unlike w3c the whatwg doesn't require paid membership to attend.

        The bug trackers are also a fine place to provide community feedback. For example there's plenty of comments providing use cases that weren't hidden. But if you read the hidden ones (especially on the issue rather than PR) there's some truly unhinged commentary that rightly resulted in being hidden and unfortunately locking of the thread.

        Ultimately the way the community can influence decisions is to not be completely unhinged.

        Like someone else said the other way would be to just use XSLT in the first place.

      • spankalee 6 hours ago

        Community feedback is usually very ad hoc. Platform PMs will work with major sites, framework maintainers, and sometimes do discussions and polls on social sites. IOW, they try to go where the community that uses the features are, rather than stay on GitHub in the spec issues.

        • NoGravitas 6 hours ago

          Although in this case, it seems more like they are trying to go where the community that uses the feature isn't.

      • ttepasse 27 minutes ago

        There isn't one. It's Google's web now. You should be thankful that you are still allowed to use it.

    • xg15 6 hours ago

      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 <?human-readable ...some url...?> 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.

      Sort of like an inverse of the <link rel="alternate" ...> solution that the post mentioned.

      The only thing this doesn't fix is sites that are abandoned and won't update or are part if embedded devices and can't update.

      • JimDabell 5 hours ago

        > I think this could be addressed by introducing a <?human-readable ...some url...?> 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 indicating which format they want and servers can respond with alternative representations. You can already respond with HTML for browsers and XML for other clients today. You don’t need the browser to know how to do the transformation.

        • youngtaff 5 hours ago

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

          • JimDabell 5 hours ago

            You can use content negotiation with static websites too. Apache has mod_negotiation, for example.

            • ndriscoll 5 hours ago

              Assuming you have access to server configuration. XML/XSLT works anywhere you can host a static page.

            • youngtaff 4 hours ago

              Most people are hosting static sites on GH pages, Vercel, Netlify, Cloudflare pages etc

      • arjvik 5 hours ago

        Purely out of curiosity, what are some websites that actually make use of XSLT?

      • lyricaljoke 2 hours ago

        I actually found that particular response to be quite disappointing. It should give pause to those advocating removal of XSLT that these three totally disparate use cases could already be gracefully handled by a single technology which is:

        * side effect free (a pure data to data transformation)

        * stable, from a spec perspective, for decades

        * completely client-side

        Isn't this basically an A+ report card for any attempt at making a powerful general tool? The fact that the suggested solution in the absence of XSLT is to toil away at implementing application-specific solutions forever really feels like working toward the wrong direction.

    • mananaysiempre 5 hours ago

      > [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.

      • zetafunction 5 hours ago

        Disclaimer: I work on Chrome and I have contributed a (very) small number of fixes to libxml2/libxslt for some of the recent security bugs.

        Speaking from personal experience, working on libxslt... not easy for many reasons beyond the complexity of XSLT itself. For instance:

        - libxslt is linked against by all sorts of random apps and changes to libxslt (and libxml2) must not break ABI compatibility. This often constrains the shape of possible patches, and makes it that much harder to write systemic fixes.

        - libxslt reaches into libxml and reuses fields in creative ways, e.g. libxml2's `xmlDoc` has a `compression` field that is ostensibly for storing the zlib compression level [1], but libxslt has co-opted it for a completely different purpose [2].

        - There's a lot of missing institutional knowledge and no clear place to go for answers, e.g. what does a compile-time flag that guards "refactored parts of libxslt" [3] do exactly?

        [1] https://gitlab.gnome.org/GNOME/libxml2/-/blob/ca10c7d7b513f3...

        [2] https://gitlab.gnome.org/GNOME/libxslt/-/blob/841a1805a9a9aa...

        [3] https://gitlab.gnome.org/GNOME/libxslt/-/blob/841a1805a9a9aa...

        • ArchOversight 4 hours ago

          Sounds like libxslt needs more than just a small number of fixes, and it sounds like Google could be paying someone, like you, to help provide the necessary guidance and feedback to increase the usability and capabilities of the library and evolve it for the better.

          Instead Google and others just use it, and expect that any issues that come up to be immediately fixed by the one or two open source maintainers that happen to work on it in their spare time. The power imbalance must not be lost on you here...

          If you wanted to dive into what [3] does, you could do so, you could then document it, or refactor it so that it is more obvious, or remove the compile time flag entirely. There is institutional knowledge everywhere...

          • pas 3 hours ago

            or, the downstream users who use it and benefit directly from it could step up, but websites and their users are extremely good at expecting things to just magically keep working especially if they don't pay for it. it was free, so it should be free forever, and someone set it up many moons ago, so it should keep working for many more magically!

            // of course we know that, as end-users became the product, Big Tech [sic?] started making sure that users remain dumb.

        • mananaysiempre 4 hours ago

          > libxslt is linked against by all sorts of random apps and changes to libxslt (and libxml2) must not break ABI compatibility. This often constrains the shape of possible patches, and makes it that much harder to write systemic fixes.

          I’m having trouble expressing this in a way that won’t likely sound harsher than I really want, but, uh, yes? That’s the fundamental difference between maintaining a part of the commons that anybody can benefit from and a subdirectory in a monorepo. The bazaar incurs coordination costs, and not being able to go and fix all the callers is one of them.

          (As best as I can see, Chrome’s approach is largely to make everything a part of the monorepo, so maintaining a part of the commons may not be high on the list of priorities.)

          This not to defend any particular ABI choice. Too often ABI is left to luck and essentially just happens instead of being deliberately designed, and too often in those cases we get unlucky. (I’m tempted to recite an old quote[1] about file formats, which are only a bit more sticky than public ABI, because of how well it communicates the amount of seriousness the subject ought to evoke: “Do you, Programmer, take this Object to be part of the persistent state of your application, to have and to hold, through maintenance and iterations, for past and future versions, as long as the application shall live?”)

          I’m not even deliberately singling out what seems to me like the weakest of the examples in your list. It’s just that ABI, to me, is such a fundamental part of lib-anything that raising it as an objection against fixing libxslt or libxml2 specifically feels utterly bizarre.

          [1] http://erights.org/data/serial/jhu-paper/upgrade.html

          • zetafunction 3 hours ago

            It's one thing if the library was proactively written with ABI compatibility in mind. It's another thing entirely if the library happens to expose all its implementation details in the headers, making it that much harder to change things.

  • dang 5 hours ago

    Ok thanks, we've dechromed the title above. (Submitted title was "Chrome intends to remove XSLT from the HTML spec".)

  • otterley 6 hours ago

    Also, according to Chrome's telemetry, very, very few websites are using it in practice. It's not like the proposal is threatening to make some significant portion of the web inaccessible. At least we can see the data underlying the proposal here.

    • intrasight 6 hours ago

      Sadly, I just built a web site with HTMX and am using the client-side-templates extension for client-side XSLT.

      >very, very few websites

      Doesn't include all the corporate web sites that they are probably blocked from getting such telemetry for. These are the users that are pushing back.

    • mhitza 5 hours ago

      Looking at the problem differently. Say some change would make Hacker News unusable, the data would support this and show that it practically affects no one.

      • otterley 3 hours ago

        First, we are an insignificant portion of the web, and it's okay to admit that.

        Second, if HN were built upon outdated Web standards practically nobody else uses, I'm sure YCombinator could address the issue before the deadline (which would probably be at least a year or two out) to meet the needs of its community. Every plant needs nourishment to survive.

    • troupo 2 hours ago

      1. Chrome telemetry underreports a lot of use cases

      2. They have a semi-internal document https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpS... that explicitly states: small usage percentage doesn't mean you can safely remove a feature

      --- start quote ---

      As a general rule of thumb, 0.1% of PageVisits (1 in 1000) is large, while 0.001% is considered small but non-trivial. Anything below about 0.00001% (1 in 10 million) is generally considered trivial.

      There are around 771 billion web pages viewed in Chrome every month (not counting other Chromium-based browsers). So seriously breaking even 0.0001% still results in someone being frustrated every 3 seconds, and so not to be taken lightly!

      --- end quote ---

      3. Any feature removal on the web has to be a) given thorough thought and investigation which we haven't seen. Library of congress apparently uses XSLT and Chrome devs couldn't care less

  • troupo an hour ago

    > Even so, give the cross-vendor support for this is seems likely to proceed at some point.

    Yup. Just like the removal of confirm/prompt that had vendor support and was immediately rushed. Thankfully to be indefinitely postponed.

    Here's Google's own doc on how a feature should be removed: https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpS...

    Notice how "unilateral support by browser vendors" didn't even look at actual usage of XSLT, where it's used, and whether significant parts would be affected.

    Good times.

  • kg 6 hours ago

    Former Mozilla and Google (Chrome team specifically) dev here. The way I see what you're saying is: Representatives from Chrome/Blink, Safari/Webkit, and Firefox/Gecko are all supportive of removing XSLT from the web platform, regardless of whether it's still being used. It's okay because someone from Mozilla brought it up.

    Out of those three projects, two are notoriously under-resourced, and one is notorious for constantly ramming through new features at a pace the other two projects can't or won't keep up with.

    Why wouldn't the overworked/underresourced Safari and Firefox people want an excuse to have less work to do?

    This appeal to authority doesn't hold water for me because the important question is not 'do people with specific priorities think this is a good idea' but instead 'will this idea negatively impact the web platform and its billions of users'. Out of those billions of users it's quite possible a sizable number of them rely on XSLT, and in my reading around this issue I haven't seen concrete data supporting that nobody uses XSLT. If nobody really used it there wouldn't be a need for that polyfill.

    Fundamentally the question that should be asked here is: Billions of people use the web every day, which means they're relying on technologies like HTML, CSS, XML, XSLT, etc. Are we okay with breaking something that 0.1% of users rely on? If we are, okay, but who's going to tell that 0.1% of a billion people that they don't matter?

    The argument I've seen made is that Google doesn't have the resources (somehow) to maintain XSLT support. One of the googlers argued that new emerging web APIs are more popular, and thus more deserving of resources. So what we've created is a zero-sum game where any new feature added to the platform requires the removal of an existing feature. Where does that game end? Will we eventually remove ARIA and/or screen reader support because it's not used by enough people?

    I think all three browser vendors have a duty to their users to support them to the best of their ability, and Google has the financial and human resources to support users of XSLT and is choosing not to.

    • spankalee 6 hours ago

      Another way to look at this is:

      Billions of people use the web every day. Should the 99.99% of them be vulnerable to XSLT security bugs for the other 0.01%?

      • jmull 5 hours ago

        That same argument applies to numerous web technologies, though.

        Applied to each individually it seems to make sense. However the aggregate effect is kill off a substantial portion of the web.

        In fact, it's an argument to never add a new web technology: Should 100% of web users be made vulnerable to bugs in a new technology that 0% of the people are currently using?

        Plus it's a false dichotomy. They could instead address XSLT security... e.g., as various people have suggested, by building in the XSLT polyfill they are suggesting all the XSLT pages start using as an alternative.

        • cyanydeez 3 hours ago

          depends entirely on which technologies are acctively addressing current and future vulnerabilities.

      • ArchOversight 4 hours ago

        If this is the reason to remove and or not add something to the web, then we should take a good hard look at things like WebSerial/WebBluetooth/WebGPU/Canvas/WebMIDI and other stuff that has been added that is used by a very small percentage of people yet all could contain various security bugs...

        If the goal is to reduce security bugs, then we should stop introducing niche features that only make sense when you are trying to have the browser replace the whole OS.

        • hokkos an hour ago

          whatever you do with xslt you can do it in a saner way, but whatever we need to use serial/bluetooth/webgpu/midi for there is no other way, and canvas is massively used.

      • danieldk 6 hours ago

        Solutions have been proposed in that threads, including adding the XSLT polyfill to the browser (which would run it in the Javascript VM/sandbox).

      • jopsen 6 hours ago

        Isn't this something that could be implemented using javascript?

        I don't think anyone is arguing that XSLT has to be fast.

        You could probably compile libxslt to wasm, run it when loading xml with xslt, and be done.

        Does XSLT affect the DOM after processing, isn't it just a dumb preprocessing step, where the render xhtml is what becomes the DOM.

        • NoGravitas 6 hours ago

          It could be. The meaningful argument is over whether the javascript polyfill should be built into the browser (in which case, browser support remains the same as it ever was, they just swap out a fast but insecure implementation for a slow but secure one), or whether site operators, principally podcast hosts, should be required to integrate it into their sites and serve it.

          The first strategy is obviously correct, but Google wants strategy 2.

    • thro1 10 minutes ago

      I just like declarative way of describing whats needed.

      And I don't value at all* imperative processing with JS - as just to express developer ego every time micromanaging some take on same problem solving by processing in another way with every case (it's not important detail - but only if I don't loose something because of this**) - then you can't access data in a way he didn't think about - but only by his specific, short-sight aligned code - but that's convenient to make users dependent and powerless - at cost of developer freedom.

      > Why wouldn't the overworked/underresourced Safari and Firefox people want an excuse to have less work to do?

      Because otherwise everybody has to repeat same work again and again, programming how - instead of focusing on what.

      Then data is not free, but caged by that processing.

      I want data, not the processing [just only because Chrome is somehow better at something that's doesn't matter in most cases - I don't need that ;/ ].

      I don't see any need to run any extra code over any information - except to keep control and to attach other code, trackers etc. - just, I'm not Google, no need to sell anything (JS engine.. - for what ?? - or instead of something they 'forgot' wishing they could erase it ?)

      I just want the information. Always processing, with strings attached, is not needed. At all.

      (*) I made mistakes long time ago - because of browser bugs, to make something unreal at that time, with no other way to how it shall be..

      (**) classic example: https://www.opensubtitles.org/ with:

      - JS disabled: type movietitle TAB E [english] Enter - done.

      - JS enabled: type movietitle TAB and.. react for nothing but.. SPACE or.. ENTER to open, now you can scroll with arrows (can't just press E WTF!? ), select with SPACE, press TAB ENTER - nothing, TAB ENTER and you hit.. an advert ! (fanfares) (there is no way to enter SEARCH with keyboard really ??) - what for ? - because you can't and now you now your place: developer rulez !

    • solardev 6 hours ago

      Bring back VRML!

      Seriously though, if I were forced to maintain every tiny legacy feature in a 20 year old app... I'd also become a "former" dev :)

      Even in its heyday, XSLT seemed like an afterthought. Probably there are a handful of legacy corporate users hanging on to it for dear life. But if infinitely more popular techs (like Flash or FTP or non HTTPS sites) can be deprecated without much fuss... I don't think XSLT has much of a leg to stand on...

      • chrismorgan 5 hours ago

        > But if infinitely more popular techs (like Flash or FTP or non HTTPS sites) can be deprecated without much fuss... I don't think XSLT has much of a leg to stand on...

        Flash was not part of the web platform. It was a plugin, a plugin that was, over time, abandoned by its maker.

        FTP was not part of the web platform. It was a separate protocol that some browsers just happened to include a handler for. If you have an FTP client, you can still open FTP links just fine.

        Non-HTTPS sites are being discouraged, but still work fine, and can reasonably be expected to continue to work indefinitely, though they are likely to be discouraged a bit harder over time.

        XSLT is part of the web platform. And removing it breaks various things.

        • solardev 3 hours ago

          I don't think that distinction makes much of a difference for the users and devs affected...

        • AlienRobot 4 hours ago

          Flash was the best part of the web, though.

          • LargoLasskhyfv 30 minutes ago

            Not if you were on a non-mainstream platform. Like some Linux, or oh my gawd NetBSD!1!!

            I couldn't be more happy about its demise.

      • SoftTalker 3 hours ago

        XSLT was awesome back in the day. You could get a block of XML data from the server, and with a bit of very simple scripting, slice it, filter it, sort it, present summary or detail views, generate tables or forms, all without a server round trip. This was back in IE6 days, or even IE5 with an add-on.

        We built stuff with it that amazed users, because they were so used to the "full page reload" for every change.

      • NoGravitas 5 hours ago

        > Probably there are a handful of legacy corporate users hanging on to it for dear life.

        Like more or less everyone that hosts podcasts. But the current trend is for podcast feeds to go away, and be subsumed into Spotify and YouTube.

        • solardev 3 hours ago

          Do people consume RSS feeds directly via XSLT? Not through apps and such that subscribe to the feed?

      • Jubijub an hour ago

        +1. I worked on an internal corporate eCommerce in 2005 built entirely on DOM + XSLT to create the final HTML. It was an atrocious pain in the neck to maintain (despite being server side so the browser never had to deal with the XSLT). Unless you still manipulate XML and need to transform it in various other formats through XSLT/XSL-FO, I don’t see why anyone would bother with it. It always cracks me up when people « demand » support for features hardly ever used for which they won’t spend a dime or a minute to help

    • Shebanator 5 hours ago

      So the Safari developers are overworked/under-resourced, but Google somehow should have infinite resources to maintain things forever? Apple is a much bigger company than Google these days, so why shouldn't they also have these infinite resources? Oh, right, its because fundamentally they don't value their web browser as much as they should. But you give them a pass.

      • kevin_thibedeau 5 hours ago

        One is a browser. The other is an ad delivery platform which requires a more strategic active development posture.

        • ioasuncvinvaer 2 hours ago

          The funny thing is that apple has a huge ad business so I don't know which browser you mean.

    • anon84873628 6 hours ago

      >who's going to tell that 0.1% of a billion people that they don't matter?

      This is also not a fair framing. There are lots of good reasons to deprecate a technology, and it doesn't mean the users don't matter. As always, technology requires tradeoffs (as does the "common good", usually.)

    • sugarpimpdorsey 6 hours ago

      > Representatives from Chrome/Blink, Safari/Webkit, and Firefox/Gecko are all supportive of removing XSLT

      Did anybody bother checking with Microsoft? XML/XSLT is very enterprisey and this will likely break a lot of intranet (or $$$ commercial) applications.

      Secondly, why is Firefox/Gecko given full weight for their vote when their marketshare is dwindling into irrelevancy? It's the equivalent of the crazy cat hoarder who wormed her way onto the HOA board speaking for everyone else. No.

      • pbhjpbhj an hour ago

        It has long seemed like Firefox is likely doing Google's bidding? That could be a reason why they're given a full vote?

        /abject-speculation

      • lukan 5 hours ago

        "Secondly, why is Firefox/Gecko given full weight for their vote when their marketshare is dwindling into irrelevancy?"

        There was not really a vote in the first place and FF is still dependant on google. Otherwise FF (users) represants a vocal and somewhat influental minority, capable of creating shitstorms, if the pain level is high enough.

        Personally, I always thought XSLT is somewhat weird, so I never used it. Good choice in hindsight.

      • const_cast 2 hours ago

        > Did anybody bother checking with Microsoft?

        > Secondly, why is Firefox/Gecko given full weight for their vote when their marketshare is dwindling into irrelevancy?

        The juxtaposition of these two statements is very funny.

        Firefox actually develops a browser, Microsoft doesn't. That's why Firefox gets a say and Microsoft doesn't. Microsoft jumped off the browser game years ago.

        No, changing the search engine from Google to Bing in chromium doesn't count.

        Ultimately, Microsoft isn't implementing jack shit around XSLT because they aren't implementing ANY web standards.

        • saurik 34 minutes ago

          You make it sound like those two thoughts are incompatible in juxtaposition, but they are in fact perfectly consistent, even if you were correct that Microsoft isn't building anything, as the premise is that users matter more than elbow grease. The reason why you'd want to ask Microsoft is the same reason why you might not bother consulting Firefox: because Microsoft has actual users they represent, and Firefox does not.

        • spankalee an hour ago

          This is not true. Microsoft is participating in standards and implementing them in Blink.

      • alfiedotwtf 3 hours ago

        Maybe because Edge is just a wrapper around Blink?

        • sugarpimpdorsey 2 hours ago

          So Microsoft cucked by Google and Mozilla being a puppet regime of Google at this point.

          Seems like a rigged game to me.

          Yes it's a wrapper but Microsoft represents a completely different market with individual needs/wants.

          If it wasn't for Apple (who doesn't care about enterprise) butting in, the browser consortium would be reminiscent of the old Soviet Union in terms of voting.

      • mr_toad 4 hours ago

        > Secondly, why is Firefox/Gecko given full weight for their vote when their marketshare is dwindling into irrelevancy?

        Ironic, considering the market share of XSLT.

    • mr_toad 4 hours ago

      > 0.1% of a billion people

      Probably more like 0.0001% these days. I doubt 0.1% of websites ever used it.

    • 93po 6 hours ago

      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 Mozilla in insidious ways to massively reduce Firefox's marketshare. And I have long predicted that Google is going to make the rate of change needed in web standards so high that orgs like Mozilla can't keep up and then implode/become unusable.

      • nobleach 6 hours ago

        Well, every browser engine that is part of WHATWG. That's how working groups... work. The current crop of "not Chrome/Firefox/Webkit" aren't typically building their own browser engines though. They're re-skinning Chromium/Gecko/Webkit.

      • spankalee 6 hours ago

        This makes the job of smaller engines like Servo and Ladybird a lot easier.

      • mr_toad 4 hours ago

        > Does it include unanimous support from browser projects

        They could continue supporting XSLT if they wanted.

      • dralley 6 hours ago

        >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 Mozilla in insidious ways to massively reduce Firefox's marketshare.

        This has never ever made sense because Mozilla is not at all afraid to piss in Google's cheerios at the standards meetings. How many different variations of Flock and similar adtech oriented features did they shoot down? It's gotta be at least 3. Not to mention the anti-fingerprinting tech that's available in Firefox (not by default because it breaks several websites) and opposition to several Google-proposed APIs on grounds of fingerprinting. And keeping Manifest V2 around indefinitely for the adblockers.

        People just want a conspiracy, even when no observed evidence actually supports it.

        >And I have long predicted that Google is going to make the rate of change needed in web standards so high that orgs like Mozilla can't keep up and then implode/become unusable.

        That's basically true whether incidentally or on purpose.

        • 93po 3 hours ago

          Controlled opposition is absolutely a thing, and to think that people at trillion dollar companies wouldn't do this is naive. I'm not claiming for a fact that mozilla is controlled opposition, i'm just saying it's very feasible that it could be, and i look for signs of it.

          You give examples of things they disagree on, and i wouldn't refute that. However i would say that google is going to pick and choose their battles, because ultimately things they appear to "lose on" sort of don't matter. fingerprinting is a great example - yes, firefox provides it, but it's still largely pretty useless, and its impact is even more meaningless because so few people use it. if you have javascript on and arent using a VPN, chances are your anti-fingerprinting isn't actually doing much other than annoying you and breaking sites.

          the only real thing to be used for near-complete-anonymity is Tor, but only when it's also used in the right way, and when JavaScript is also turned off. And even then there are ways it could and probably has failed.

      • kevingadd 6 hours ago

        It's not a huge conspiracy, but it is worthwhile to consider what the incentives are for people from each browser vendor. In practice all the vendors probably have big backlogs of work they are struggling to keep up with. The backlogs are accumulating in part because of the breakneck pace at which new APIs and features are added to the web platform, and in part because of the unending torrent of new security vulnerabilities being discovered in existing parts of the platform. Anything that reduces the backlog is thus really appealing, and money doesn't have to change hands.

        Arguably, we could lighten the load on all three teams (especially the under-resourced Firefox and Safari teams) by slowing the pace of new APIs and platform features. This would also ease development of browsers by new teams, like Servo or Ladybird. But this seems to be an unpopular stance because people really (for good reason) want the web platform to have every pet feature they're an advocate for. Most people don't have the perspective necessary to see why a slower pace may be necessary.

    • segmondy 6 hours ago

      By your argument, once anything makes it in, then it can't be removed. Billions of people are going to use the web every day and it won't stop. Even the most obscure feature will end up being used by 0.1% of users. Can you name a feature that's supported by all browsers that's not being used by anyone?

      • kevingadd 6 hours ago

        Yes. That is exactly how web standards work historically. If something will break 0.1% of the web it isn't done unless there are really really strong reasons to do it anyway. I personally watched lots of things get bounced due to their impact on a very small % of all websites.

        This is part of why web standards processes need to be very conservative about what's added to the web, and part of why a small vocal contingent of web people are angry that Google keeps adding all sorts of weird stuff to the platform. Useful weird stuff, but regardless.

        • WhitneyLand 5 hours ago

          “That is exactly how web standards work…”

          Says who? You keep mentioning this 0.1% threshold yet…

          1. I can’t find any reference to that do you have examples / citations?

          2. On the contrary here’s a paper that proposes a 3x higher heuristic: https://arianamirian.com/docs/icse2019_deprecation.pdf

          3. It seems there are plenty of examples of features being removed above that threshold NPAPI/SPDY/WebSQL/etc.

          4. Resources are finite. It’s not a simple matter of who would be impacted. It’s also opportunity cost and people who could be helped as resources are applied to other efforts.

          • troupo an hour ago

            E.g. Google said in their document https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpS...

            --- start quote ---

            As a general rule of thumb, 0.1% of PageVisits (1 in 1000) is large, while 0.001% is considered small but non-trivial. Anything below about 0.00001% (1 in 10 million) is generally considered trivial. There are around 771 billion web pages viewed in Chrome every month (not counting other Chromium-based browsers). So seriously breaking even 0.0001% still results in someone being frustrated every 3 seconds, and so not to be taken lightly!

            --- end quote ---

            Read the full doc. They even give examples when they couldn't remove a feature impacting just 0.0000008% of web views.

  • upofadown 6 hours ago

    The implementations are owned by the implementers. Who owns the actual standard, the implementers or the users?

    • tsimionescu 2 hours ago

      As for any standard, the implementers ultimately own it. Users don't spend resources on implementing standards, so they only get a marginal say. Do you expect to contribute to the 6G standards, or USB-C, too?

    • solardev 6 hours ago

      I think trying to own a web standard is like trying to own a prayer. You can believe all you want, but it's up to the gods to listen or not...

    • mr_toad 4 hours ago

      Own is not really the right word for an open source project. In practice it is controlled by Apple, Google, Microsoft and Mozilla.

  • thanhhaimai 6 hours ago

    The responses of some folks on this thread reminds me of this:

    https://xkcd.com/1172/

    • jmull 6 hours ago

      That's more a joke about people coming to rely on any observable behavior of something, no matter how buggy or unintentional.

      Here's we're talking about killing off XSLT used in the intended, documented, standard way.

BoiledCabbage 6 hours ago

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 mostly ignored.

And "if this is about adoption then listen to the constant community request to update the the newer XSLT 3.0 which has been out for years and world have much higher adoption due to tons of QoL improvements including handling JSON."

And the argument presented, which i don't know (but seems reasonable to me), is that XSLT supports the open web. Google tried to kill it a decade ago, the community pushed back and stopped it. So Google's plan was to refuse to do anything to support it, ignore community requests for simple improvements, try to make it wither then use that as justification for killing it at a later point.

Forcing this through when almost all feedback is against it seems to support that to me. Especially with XSLT suddenly/recebtly gaining a lot of popularity and it seems like they are trying to kill it before they have an open competitor in the web.

https://github.com/whatwg/html/issues/11523

  • arp242 3 hours ago

    > all the feedback said "no, please don't"

    Thread was already locked due vitriol, insults, and general ranting before I had the chance to comment to say I felt it was a good idea. Also, "this is a good idea" is not really the sort of things people tend to comment, so it will always be biased towards people who disagree. What "all feedback" said on that thread is basically meaningless – it's not a vote.

    The fastest way to be dismissed is to be a dick. People were massive dicks so they were dismissed. You all made your bed, so now you have lie in it.

  • notatoad 6 hours ago

    >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.

    • LegionMammal978 5 hours ago

      > people who are actually using it

      I'd presume that most of those people are using it in some capacity, it's just that their numbers are seen as too minor to influence the decision.

      > explain why it's necessary

      No feature is strictly necessary, so that's a pretty high standard.

      • kstrauser 5 hours ago

        > I'd presume that most of those people are using it in some capacity, it's just that their numbers are seen as too minor to influence the decision.

        I think the idea of that is reasonable. If I used XSLT on my tiny, low-traffic blog, I think it's reasonable for browser devs to tell me to update my code. Even if 100 people like me said the same thing, that's still a vanishingly small portion of the web, a rounding error, protesting it.

        I'd expect the protests to be disproportionate in number and loudness because the billion webmasters who couldn't care less aren't weighing in on it.

        Now, I'm not saying this with a strong opinion on this specific proposal. It doesn't affect me either way. It's more about the general principle that a loud number of small webmasters opposing the move doesn't mean it's not a good idea. Like, people loudly argued about removing <marquee> back in the day, but that happened to be a great idea.

        • LegionMammal978 5 hours ago

          True, a small number of vocal opponents does not automatically make something a bad idea. But in these cases of compatibility, especially with something as big as the Web, the vast majority of those affected who do care will be completely silent. There's no hotline to call up the entire world and tell them to update their code.

          (And if you did want to tell the entire world to update their code, and have any chance of them following through with it, you'd better make sure there's an immediate replacement ready. Log4Shell would probably still be a huge issue today if it couldn't be fixed in place by swapping out jar files.)

        • basscomm 4 hours ago

          > If I used XSLT on my tiny, low-traffic blog, I think it's reasonable for browser devs to tell me to update my code.

          I _do_ use XSLT on my tiny, low-traffic blog, and I _don't_ think that it's reasonable for browser devs to tell me to update my code.

          Also, it's real easy to manufacture a situation where adoption of a thing is low when the implementation is incomplete and hasn't had significant updates for decades.

          • tsimionescu 2 hours ago

            The web has grown a thousand fold over those decades, in spite of no support for XSLT. No browser has failed (or gained market traction) by missing support for (or adding more support for) XSLT. It's an irrelevancy, even if you did like it once.

            Lots of content was lost when Flash was removed as well - much, much more than the amount of content that will be lost if XSLT is removed. And yet the web continued.

    • cholantesh 5 hours ago

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

    • zahlman 3 hours ago

      Well, no; the reasonable course of action is to solicit feedback from the right people instead.

  • webstrand 6 hours ago

    It would be incredible if we could pull it into the javascript/wasm sandbox and get xslt 3.0 support. The best of both worlds, at the cost of a performance hit on those pages, but not a terrible cost.

    • bilog an hour ago

      There's even a JS implementation of XSLT 3.0 already (SaxonJS).

      • webstrand an hour ago

        That's pretty cool, its too bad the license is a bit confusing about whether bundling with Chrome or Firefox would be permissible under the license.

    • NoGravitas 5 hours ago

      This is clearly the Right Thing. So what do you suppose the chance of it happening is?

  • cess11 6 hours ago

    It comes with the XML territory that things have versioned schemas and things like namespaces, and can be programmed in XSLT. This typically means that integrations are trivial due to public, reliable contracts.

    Unlike your average Angular project. Building on top of minified Typescript is rather unreasonable and integrating with JSON means you have a less than reliable data transfer protocol without schema, so validation is a crude trial and error process.

    There's no elegance in raw XML et consortes, but the maturity of this family means there are also very mature tools so in practice you don't have to look at XML or XSD as text, you can just unmarshal it into your programming language of choice (that is, if you choose a suitable one) and look at it as you would some other data structure.

  • insin 6 hours ago

    Google tells you what they're going to do to the web with a question mark on the end.

  • pjmlp 6 hours ago

    Web is for all practical purposes ChromeOS, but then people complain about Apple not playing ball.

    • nativeit 6 hours ago

      > ChromeOS is for all practical purposes, the web.

      Fixed that typo for you.

      • danans 6 hours ago

        > > ChromeOS is for all practical purposes, the web

        I'm very practically using Debian Linux on ChromeOS to develop test and debug enterprise software. I even compile and run some native code. It is very much more than just the web.

        • pjmlp 5 hours ago

          That is a VM, and actually maybe eventually it will be on top of Webassembly, how things are going.

          • danans 5 hours ago

            > That is a VM...

            So is WSL on Windows. I wouldn't call Windows "just the web".

            There's also nothing stopping me from building and running local desktop GUI software on the VM.

            In fact, a VM is better in that I can back up and restore the image easily.

            • pjmlp 4 hours ago

              WSL and other VMs are the Year of Desktop Linux finally coming true, nothing to do with Web.

              • danans an hour ago

                > WSL and other VMs are the Year of Desktop Linux finally coming true, nothing to do with Web.

                Just like the Linux VM on ChromeOS.

JimDabell 7 hours ago

Previously:

Should we remove XSLT from the web platform? – 4 days ago (89 comments):

https://news.ycombinator.com/item?id=44909599

XSLT – Native, zero-config build system for the Web – 27th June 2025 (328 comments):

https://news.ycombinator.com/item?id=44393817

  • fuzzy2 7 hours ago

    Also related, now flagged:

    https://news.ycombinator.com/item?id=44949857

    Google is killing the open web, today, 127 comments

    • nicce 7 hours ago

      Why flagged? The post was reasonable.

      • maratc 7 hours ago

        Probably labeling a removal of a format (which is somewhat niche anyway) as "killing the open web" was a bit hyperbolic and not entirely warranted in this case.

        Imagine that tomorrow, Google announces plans to stop supporting HTML and move everyone to its own version of "CompuServe", delivered only via Google Fiber and accessible only with Google Chrome. What headline would you suggest for that occasion? "Google is killing the open web" has already been used today on an article about upcoming deprecation of XSLT format.

        • shiomiru an hour ago

          Right. If anything, it's the opposite: removing XSLT reduces the complexity of existing browsers, allowing new ones to catch up faster.

          To me it seems that some people just really like using XSLT, and don't want it gone. Which is fair, but it also has nothing to do with the web's openness - yes, Google has far too much power, but XSLT isn't helping.

        • pjmlp 6 hours ago

          No need, with exception of Safari, Web is ChromeOS already.

          All the other alternatives are meaningless, including Firefox.

          I am one of the few folks on my team that still uses Firefox, all our projects dropped support for it like 5 years ago.

          • nativeit 6 hours ago

            Wow, you’re really pushing this Web=ChromeOS nonsense. Want to support that with something more than your own isolated anecdote?

            • nikeee 5 hours ago

              Hard to find these days, but it remindes me of this [0]:

              > "- Google had a plan called "Project NERA" to turn the web into a walled garden they called "Not Owned But Operated". A core component of this was the forced logins to the chrome browser you've probably experienced (surprise!)"

              To "not own but operate" seems to go into the direction of the parent comment.

              Also this: https://news.ycombinator.com/item?id=28976574

              [0]: https://web.archive.org/web/20211024063021/https://twitter.c...

            • troupo an hour ago

              E.g. Google releasing through dozens of Chrome-only APIs with hardly a spec, and then expecting everyone to support the "standards".

              Every discussion about "Safari holding back the web" on HN are about 99% about Google-only non-standards that both Safari and Firefox oppose.

              There are multiple "works only in Chrome" websites, many of them regularly published on HN.

            • pjmlp 5 hours ago

              Chrome and Electron market share, easy to find out.

        • fuzzy2 6 hours ago

          I agree. I think the article isn't really about the what but about the how. Which does appear to be rather questionable.

        • dfxm12 6 hours ago

          I don't think that would be the reason, as mods regularly change headlines of otherwise fine discussion threads instead of killing them.

        • goku12 4 hours ago

          > Probably labeling a removal of a format (which is somewhat niche anyway) as "killing the open web" was a bit hyperbolic and not entirely warranted in this case.

          Incorrect on three counts. That article lists a bunch of useful technologies that were rejected at WHATWG with unconvincing reasons against massive public protests. It wasn't just labeling the removal of a format - that's a misrepresentation. The second is your characterization of calling XSLT niche. The article makes a case for why it is like that why it shouldn't be so. It's niche because it is neglected by the browser devs themselves. It hasn't been updated to the latest standard in a long time and it isn't maintained well enough to avoid serious bugs. And finally the third - "killing the open web" being a hyperbole. I don't even know where to start. There was a joke that web standards are proposed by someone from Google, reviewed and cleared from someone else from Google and finally approved by someone from Google. We saw this in action with WEI (The only reason for its partial rollback being the unusual attention and the massive backlash they faced from the wider tech community and mainstream media - including ours). At this point the public discussion there is just a farce. I don't know how many times this keeps repeating. That article shows many examples of this. Let me add my own recollections of the mockery to the mix - inclusion of EME and the rejection of JPEG-XL (technically not a part of the standard, but it is in a manner of speaking). It doesn't even resemble anything open.

          I will be surprised if this comment doesn't receive a ton of negative votes. But there is no point in being a professional and in being here, if I'm unwilling to oppose this in public interest. The general conduct of WHATWG antithetical to public interest and are meant to escape the attention of the non-tech public. And even the voice of the savvy public is ignored repeatedly and contemptuously. It's not difficult to identify the corruptive influences of private commercial interests on these standards - EME and WEI being the tip of the iceberg. And let's not ignore the elephant in the room. It getting harder by the day to use a browser (web engine to be more precise) of your choice. In this context, the removal of XSLT isn't just a unilateral decision (please don't quote Firefox, Safari or Edge. Their interdependence is nothing short of a cabal at this point), its justification is based on problems that they themselves created.

          Again expecting to be downvoted, it's hard to miss the patterns - arguments against XSLT that ignore the neglect that lead to it, and the dismissal of public comments (then why discuss it where anyone can read and post? why bill it as open?). The same happened with SMIL, JPEG XL,... It's tense to suggest attempts to drown out the opposition (I know it has a name. But that's enough trigger some), even if there are sufficient reasons to suspect it. But the flagging of that other article is a blatant indicator of that. Nothing in that article is factually false or remotely hyperbolic. Many of us are first hand witnesses of the damages and concerns it raises. The article is a good quality aggregation of the relevant history. Who is so inconvenienced by that? The only reason I can think of is the zeal to censor public interest opinions. Is the hubris in the group issue tracker spreading to public tech fora now? Conduct like this makes me lose hope that the web platform will ever be the harbinger of humanity's progress that it once promised to be. Instead it's turning out to be another slow motion casualty of unbridled greed.

          PS: The flag has been cleared by the admins. But their (!admin) intent is unmistakable.

      • dang 5 hours ago

        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.

        • goku12 4 hours ago

          Respectfully, there is nothing baity about that title. The body of that article justifies it. XSLT is only about the last third of it.

        • garganzol 4 hours ago

          [flagged]

          • maratc 4 hours ago

               > Please don't post insinuations about astroturfing, shilling, brigading, foreign agents, and the like. It degrades discussion and is usually mistaken.
            
            (from the guidelines)
            • goku12 3 hours ago

              Honestly, the guidelines must also include a clause prohibiting those activities. Sometimes the pattern is overwhelming. But it's prohibited to complain about it. Not an ideal situation. Hope you'll give it a serious thought.

      • garganzol 5 hours ago

        Companies use the same tactics as some states, bot campaigns, etc. The aim is to suppress, or at least diminish, the voices of opposition.

        The flagged post is a perfect example. It contains just a fraction of factual information, but it was enough for bot farms to engage. Manipulators get mad at truth.

codedokode 7 hours ago

This is actually not a bad idea. Why should the browser contain a specific template engine, like XSLT, and not Jinja for example? Also it can be reimplemented using JS or WASM.

The browsers today are too bloated and it is difficult to create a new browser engine. I wish there were simpler standards for "minimal browser", for example, supporting only basic HTML tags, basic layout rules, WASM and Java bytecode.

Many things, like WebAudio or Canvas, could be immplemented using WASM modules, which as a side effect, would prevent their use for fingerprinting.

  • geocar 6 hours ago

    > This is actually not a bad idea. Why should the browser contain a specific template engine, like XSLT

    XSLT is a specification for a "template engine" and not a specific engine. There are dozens of XSLT implementations.

    Mozilla notably doesn't use libxslt but transformiix: https://web.mit.edu/ghudson/dev/nokrb/third/firefox/extensio...

    > and not Jinja for example?

    Jinja operates on text, so it's basically document.write(). XSLT works on the nodes itself. That's better.

    > Also it can be reimplemented using JS or WASM.

    Sort of. JS is much slower than the native XSLT transform, and the XSLT result is cacheable. That's huge.

    I think if you view XSLT as nothing more than ancient technology that nobody uses, then I can see how you could think this is ok, but I've been looking at it as a secret weapon: I've been using it for the last twenty years because it's faster than everything else.

    I bet Google will try and solve this problem they're creating by pushing AMP again...

    > The browsers today are too bloated

    No, Google's browser today is too bloated: That's nobody's fault but Google.

    > and it is difficult to create a new browser engine

    I don't recommend confusing difficult to create with difficult to sell unless you're looking for a reason to not do something: There's usually very little overlap between the two in the solution.

    • kstrauser 5 hours ago

      I'm asking this genuinely, not as a leading question or a gotcha trap: why use this client side, instead of running it on the server and sending the rendered output?

      • bilog an hour ago

        For one, in many cases the XML + XSLT is more compact than the rendered output, so there are hosting and bandwidth benefits, especially if you're transforming a lot of XML files with the same XSLT.

      • joe_the_user 3 hours ago

        I think the obvious answer is that client side mapping would let the browser give different view of the data to the client. The obvious problem is that downloading all the data and then transforming is inherently inefficient (and sure, despite this, download-then-process is a common solution used for many problems - but it's problematic to specify the worst solution before you know the problem).

        Perhaps there's an alternative universe where javascript lost and an elegant, declarative XSLT could declaratively present data and incrementally download only what's needed, allowing compact and elegant websites.

        But in our universe today, this mapping language wound-up a half-thought-idea that just kicked around for a long time in the specs without ever making sense.

        • kstrauser 3 hours ago

          My gut instinct is to agree with every bit of that. I admit that I might be missing something, but I've never wanted to send the data once and then have the client view it in multiple transformed ways (minus simple presentation stuff like sorting a table by column and things like that).

          And using it to generate RSS as mentioned elsewhere in the comments? That makes perfect sense to me on the server. I don't know that I've ever even seen client-side generated RSS.

          But again, this may all be my own lack of imagination.

    • codedokode 6 hours ago

      > I've been looking at it as a secret weapon: I've been using it for the last twenty years because it's faster than everything else.

      Serving a server-generated HTML page could be even faster.

      • geocar 6 hours ago

        > Serving a server-generated HTML page could be even faster.

        Except it isn't.

        Lots of things could be faster than they are.

        • codedokode 2 hours ago

          Loading one page is probably faster that loading a template and only after that loading the data with the second request, given that the network latency can be pretty high. That's why Google serves (served?) its main page as a single file and not as multiple HTML/CSS/JS files.

          • geocar an hour ago

            > Loading one page is probably faster that loading a template and only after that loading the data with the second request, given that the network latency can be pretty high

            XSLT is XML: It can be served with the XML as a single request.

            You don't have any idea what you're talking about.

            > That's why Google serves (served?) its main page as a single file and not as multiple HTML/CSS/JS files.

            Google.com used to be about a kilobyte. Now it's 100kb. I think it's absolutely clear Google either doesn't have the first idea how to make things fast, or doesn't care.

      • ArchOversight 4 hours ago

        That assumes the server has a lot of additional CPU power to serve the content as HTML (and thus do the templating server side), whereas with XSLT I can serve XML and the XSLT and the client side can render the page according to the XSLT.

        The XSLT can also be served once, and then cached for a very long time period, and the XML can be very small.

        • codedokode 2 hours ago

          With server-side rendering you control the amount of compute you are providing, with client-side rendering you cannot control anything and if the app would be dog slow on some devices you can't do anything.

      • timeon 5 hours ago

        Maybe but PR author, who created the Issue there as well, gave example: 'JSON+React'. 'React' one of the slowest framework out there. Performance is rarely considered in contemporary front-end.

    • codedokode 6 hours ago

      > Sort of. JS is much slower than the native XSLT transform, and the XSLT result is cacheable. That's huge.

      Nobody is going to process million of DOM nodes with XSLT because the browser won't be able to display them anyway. And one can write a WASM implementation.

      • geocar 4 hours ago

        I think you're confusing throughput with latency.

        You're right nobody processes a million DOM nodes with XSLT in a browser, but you're wrong about everything else: WASM has a huge startup cost.

        Consider applying stylesheet properties: XSLT knows exactly how to lay things out so it can put all of the stylesheet properties directly on the element. Pre-rendered HTML would be huge. CSS is slow. XSLT gets you direct-attach, small-payload, and low-latency display.

        • codedokode 2 hours ago

          That's even a rarer case, embedding CSS rules into XSLT template (if I understood you correctly), I never heard of it. I know that CSS is sometimes embedded into HTML though.

  • dragonwriter 6 hours ago

    > Why should the browser contain a specific template engine, like XSLT,

    XSLT is a templating language (like HTML is a content language), not a template engine like Blink or WebKit is a browser engine.

    > Also it can be reimplemented using JS or WASM.

    Changing the implementation wouldn't involve taking the language out of the web platform. There wouldn't need to be any standardization talk about changing the implementation used in one or more browsers.

  • chrismorgan 5 hours ago

    > Many things, like WebAudio or Canvas, could be immplemented using WASM modules, which as a side effect, would prevent their use for fingerprinting.

    Audio and canvas are fundamental I/O things. You can’t shift them to WASM.

    You could theoretically shift a fair bit of Audio into a WASM blob, just expose something more like Mozilla’s original Audio Data API which the Web Audio API defeated for some reason, and implement the rest atop that single primitive.

    2D canvas context includes some rendering stuff that needs to match DOM rendering. So you can’t even just expose pixel data and implement the rest of the 2D context in a WASM blob atop that.

    And shifting as much of 2D context to WASM as you could would destroy its performance. As for WebGL and WebGPU contexts, their whole thing is GPU integration, you can’t do that via WASM.

    So overall, these things you’re saying could be done in WASM are the primitives, so they definitely can’t.

  • pygy_ 6 hours ago

    The old, bug-ridden native XSLT code could also be shipped as WASM along with the browser rather than being deprecated. The sandbox would nullify the exploits, and avoid breaking old sites.

    They actually thought about it, and decided not to do it :-/

  • rebolek 6 hours ago

    Why should the browser contain a specific scripting language, like JavaScript, and not ActiveScript for example?

    • xnx 6 hours ago

      I suspect you might know this, but Internet Explorer 3 supported JavaScript (JScript) and VBScript in 1996.

    • codedokode 6 hours ago

      The browser could use Java or .NET bytecode interpreter - in this case it doesn't need to have a compiler and you can use any language - but in this case you won't be able to see a script's source code.

      • const_cast 2 hours ago

        You already effectively can't see a scripts source code because we compile, minify, and obfuscate JS these days. Because the performance characteristics are so poor.

        Actually, most of the time C# decompiles nicer from CLR bytecode than esoterically built JS.

    • krapp 6 hours ago

      It's a consequence of javascript being "good enough." Originally, the goal was for the web to support multiple languages (I think one prototype of the <script> tag had a "type=text/tcl") and IE supported VBScript for a while.

      But at the end of the day, you only really need one, and the type attribute was phased out of the script tag entirely, and Javascript won.

  • fngjdflmdflg 6 hours ago

    I kind of agree that little used,[0] non-web-like features is fair to be considered for removal. However I wish they didn't hide behind security vulnerabilities as the reason as that clearly wasn't it. The author didn't even bother to look if a memory safe package existed. "We're removing this for your own good" is the worst way to go about it but he still doubles down on this idea later in the thread.

    [0] ~0.001% usage according to one post there

    • geocar 6 hours ago

      > [0] ~0.001% usage according to one post there

      This is still a massive number of people who are going to be affected by this.

      https://news.ycombinator.com/item?id=44938747

      • FridgeSeal 41 minutes ago

        It’s classic Google behaviour: “oh not used by a billion people? Didn’t get popular enough, axe it”.

        They arguably became a victim of their own scale.

      • adwn 4 hours ago

        I get what you're saying, but following this line of reasoning would mean that successful, wide-spread specifications, standards, and technologies must never drop any features. They would only ever accumulate new features, bloating to the point of uselessness, and die under the weight of their own success.

        • geocar an hour ago

          Nonsense. Following this line of reasoning is that putting percentages on billions is intellectually dishonest: You don't have to go any further than that. It is perhaps out of ignorance (now you know), but if you try to make it about anything else, that's just arguing in bad-faith.

          Of course you can drop features, but if you work at Google I think you can pick something else, and you'll have a hard time convincing anyone that XSLT which was in Chrome back when it was fast, is why Chrome isn't fast anymore. And if you don't work at Google, why do you care? You've learned something new today. Enjoy.

  • dehrmann 6 hours ago

    > Why should the browser contain a specific template engine, like XSLT, and not Jinja for example?

    Historic reasons, and it sounds like they want it to contain zero template engines. You could transpile a subset of Jinja or Mustache to XSLT, but no one seems to do it or care.

    • codedokode 6 hours ago

      Adding XSLT support is as absurd as adding React into a browser (especially given that it's change detection is inefficient and requires lot of computation). Instead, browsers should provide better change tracking methods for JS objects.

      • joquarky 3 hours ago

        Knockout.js may be off the radar these days, but has robust handling for this.

        Still the best framework I've ever worked with.

        • codedokode 2 hours ago

          The downside of knockout was that it used proxies for change tracking, and you had to create those proxies manually, so you cannot have an object with a Number property, you had to have an object with a proxy function as a property.

  • butlike 6 hours ago

    Compare webkit to UDK (The unreal development kit for game dev) to consider why there is so much bloat in the browser. People have wanted to render more and more advanced things, and the webkit engine should cater to all of them as best it can.

    For better or worse, http is no longer just for serving textual documents.

    • thrown-0825 6 hours ago

      Maya is the go to example of bloat for me for many of the same reasons.

  • 9dev 6 hours ago

    While this sounds crazy at first, I could warm for several incremental layers of features, where browsers could choose to implement support for only a set of layers. The lowest layer would be something like HTTP with plain text, the next one HTML, then CSS with basic selectors, then CSS with the full selector set, then ECMA and WASM, then device APIs, and so forth.

    Would make it possible to create spec-compliant browsers with a subset of the web platform, fulfilling different use cases without ripping out essentials or hacking them in.

    • codedokode 6 hours ago

      There is no point in several layers because to maximize compatibility developers would need to target the simplest layer. And if they don't, simple browsers won't be able to compete with full-fledged ones.

    • butlike 6 hours ago

      You can set the doctype in the document to the spec you want to use, which is basically what you're asking for. Try setting <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

  • JimDabell 6 hours ago

    > Why should the browser contain a specific template engine, like XSLT, and not Jinja for example? Also it can be reimplemented using JS or WASM.

    I think a dedicated unsupported media type -> supported media type WASM transformation interface would be good. You could use it for new image formats and the like as well. There are things like JXL.js that do this:

    https://github.com/niutech/jxl.js

  • croes 7 hours ago

    So instead of a complete browser engine we get a basic engine and we need to write the complete on top of it?

  • _ache_ 7 hours ago

    I get the point a minimal browser and WASM, but Java bytecode ?! Why not Python bytecode ? Seems unreasonable to me to add any specific bytecode support. By layout rules you mean get rid of CSS ? Sounds also unreasonable IMHO.

    And no WebAudio and Canvas couldn't be implemented in client WASM without big security implication. If by module you mean inside the browser, them, what is the point of WASM here ?

    • codedokode 6 hours ago

      What WebAudio needs to provide is only means to get or push buffers from/to audio devices and run code in high priority thread. There is no need for browser to provide implementation of low-pass filters, audio proccessing graphs and similar primitives.

    • bigstrat2003 6 hours ago

      Honestly, even WASM makes it not very minimal in my book. A minimal browser should be HTML and perhaps a subset of CSS, that's it.

  • intrasight 6 hours ago

    >Why should the browser contain a specific template engine, like XSLT

    Because XSLT is part of the web standards.

notnullorvoid 9 minutes ago

There are better candidates to remove from the spec than XSLT, like HTML. The parsing rules for HTML are terrible and it hinders further advancement of the spec more than anything. The biggest mistake of HTML was back peddling on the switch to XHTML.

Removal of anything is problematic though, better off freezing parts of the spec to specific compatibility versions and getting browsers to ship optional compatibility modes that let you load and view old sites.

jmull 6 hours ago

Breaking the fundamental promise of the HTML spec is a big deal.

The discussions don't address that. That surprises me, because these seem to be the people in charge of the spec.

The promise is, "This is HTML. Count on it."

Now it would be just, "This is HTML for now. Don't count on it staying that way, though."

Not saying it should never be done, but it's a big deal.

They are removing XSLT just for being a long-tail technology. The same argument would apply to other long-tail web technologies.

So what they're really proposing is to cut off the web's long tail.

(Just want to note: The list of long-tail web technologies will continue to grow over time... we can expect it to grow roughly in proportion to the rate at which web technologies were added around 20 years in the past. Meaning we can expect an explosion of long-tail web technologies soon enough. We might want to think carefully about whether the people currently running the web value the web's long tail the way we would like.)

  • foobazgt 4 hours ago

    Nothing lasts forever, and eventually you have to port, emulate, archive or otherwise deal with very old applications / media. You see this all over the place: physical media, file formats, protocols, retro gaming, etc.

    There's a sweet spot between giving people enough time and tools to make a transition while also avoiding having your platform implode into a black hole of accumulated complexity. Neither end of the spectrum is healthy.

    • Pxtl 3 hours ago

      I can still run windows applications that are decades old. If you don't want to support legacy stuff, don't insinuate yourself into global standards.

      If this was just Android that would be an issue between Google and their developers/users, but this is everybody.

  • magicalist 4 hours ago

    To be completely fair, looking over the lines removed by the PR, there don't appear to be any normative statements requiring HTML handling XSLT unless I missed one.

    I get that people are more reacting to the prospect of browsers removing existing support, but I was pretty surprised by how short the PR was. I assumed it was more intertwined.

    • jmull 3 hours ago

      Their explicit intent is to generally remove XSLT from browsers.

      If this was just about, e.g., organizing web standards docs for better separation of concerns, I think a lot of people would be reacting to it quite differently.

  • xg15 2 hours ago

    WHATWG broke this quasi-officially when they declared HTML a "Living Standard". The HTML spec is not a standard to be implemented anymore, it's just a method of coordinating/announcing what the browser vendors are currently working on.

    (For the same reason, they dropped the name HTML5 and are only talking about "HTML". Who needs version numbers if there is no future and no past anyway?)

    https://whatwg.org/faq#living-standard https://github.com/whatwg/html/blob/main/FAQ.md#html-standar...

    • jmull 21 minutes ago

      Your FAQ stresses the importance of backwards compatibility multiple times.

      Seems hard to square removing XSLT with that.

  • Pxtl 3 hours ago

    There's a perverse irony that Google is as responsible as anybody for cramming a crazy amount of new stuff into the HTML/CSS/browser spec that everybody else has to support forever.

    If they were one of the voices for "the browser should be lightweight and let JS libs handle the weird stuff" I would respect this action, but Google is very very not that.

esprehn 5 hours ago

Fwiw the XSLT implementation in Blink and WebKit is extremely inefficient. For example converting the entire document into a string, to parse it to a format that's compatible with libxslt, to then produce a string and parse it back into a node structure again. I suspect a user space library could be similarly as effective.

Ex. https://source.chromium.org/chromium/chromium/src/+/main:thi...

https://source.chromium.org/chromium/chromium/src/+/main:thi...

https://github.com/WebKit/WebKit/blob/65b2fb1c3c4d0e85ca3902...

Mozilla has an in-house implementation at least:

https://github.com/mozilla-firefox/firefox/tree/5f99d536df02...

It seems like the answer to the compat issue might be the MathML approach. An outside vendor would need to contribute an implementation to every browser. Possibly taking the very inefficient route since that's easy to port.

LegionMammal978 7 hours ago

Oh hey, that thing happened that one could easily see was going to happen [0]. The writing was on the wall for XSL as soon as the browsers tore out FTP support: their desire to minimize attack surface trumps any tendency to leave well enough alone.

I wonder what the next step of removing less-popular features will be. Probably the SMIL attributes in favor of CSS for SVG animations, they've been grumbling about those for a while. Or maybe they'll ultimately decide that they don't like native MathML support after all. Really, any functionality that doesn't fit in the mold of "a CSS attribute" or "a JS method" is at risk, including most things XML-related.

[0] https://news.ycombinator.com/item?id=43880391

  • chocmake 5 hours ago

    CSS animations still lack a semantic way to sequence animations based on the beginning/end of some other animation, which SMIL offers. With SMIL you can say 'when this animation ID begins/ends only then trigger this other animation', including time offsets from that point.

    Which is miles better than having to having to use calcs for CSS animation timing which requires a kludge of CSS variables/etc to keep track of when something begins/ends time-wise, if wanting to avoid requiring Javascript. And some years ago Firefox IIRC didn't even support time-based calcs.

    When Chromium announced the intent to deprecate SMIL a decade back (before relenting) it was far too early to consider that given CSS at that time lacked much of what SMIL allowed for (including motion along a path and SVG attribute value animations, which saw CSS support later). It also set off a chain of articles and never-again updated notes warning about SMIL, which just added to confusion. I remember even an LLM mistakenly believing SMIL was still deprecated in Chromium.

    • LegionMammal978 2 hours ago

      > if wanting to avoid requiring Javascript.

      And there's one of the issues: browser devs are perfectly happy if user JS can be used to replicate some piece of functionality, since then it's not their problem.

  • timmg 6 hours ago

    > their desire to minimize attack surface trumps any tendency to leave well enough alone.

    Is that a good thing or a bad thing?

    Technical people like us have our desires. But the billions of people doing banking on their browsers probably have different priorities.

    • LegionMammal978 6 hours ago

      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 security. Just look at the situation on Apple OSes, where developers are kept on a constant treadmill to update their programs to the latest APIs. I'd rather not have everything trend in that direction, even if it means keeping shims and polyfills that aren't totally necessary for modern users.

      • intrasight 6 hours ago

        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.

        • LegionMammal978 5 hours ago

          > 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.

          • MrJohz 5 hours ago

            Sure, but this requires someone sitting down and writing the JS polyfill, and then maintaining it indefinitely. And for something as complicated as XSLT, that will surely be indefinite maintenance, because complicated specs beget complicated implementations.

            In the absence of anyone raring to do that, removal seems the more sensible option.

            • masfuerte 4 hours ago

              The vendor discussion on removing XSLT is predicated on someone creating a polyfill for users to move to. It is not an unreasonable assumption because a polyfill can be created fairly trivially by compiling the existing XSLT processor to WASM.

              And it is also fairly trivial to put that polyfill into the browsers.

              The Chrome team has been moaning about XSLT for a decade. If security was really their concern they could have replaced the implementation with asm.js a decade ago, just as they did for pdfs.

            • LegionMammal978 4 hours ago

              > Sure, but this requires [...] maintaining it indefinitely.

              Does it, though? Browsers already have existing XSLT stacks, which have somehow gotten by practically unmodified for the last 20 years. The basic XSLT 1.0 functionality never changes, and the links between the XSLT code and the rest of the codebase rarely change, so I find it hard to believe that slapping it into a sandbox would suddenly turn it into a persistent time sink.

  • butlike 6 hours ago

    > The writing was on the wall for XSL as soon as the browsers tore out FTP support

    When did they do that? Can I not still ftp://example.com in the url bar?

    • xnx 6 hours ago

      FTP support was completely removed from Chrome with the release of Chrome 88, which was released in January 2021

mmastrac 7 hours ago

This would be sad, but I think it's sadder that we didn't spend more effort integrating more modern XSLT. It was painful to use _but_ if it had a few revisions in the browser I think it would have been a massive contender to things like React.

XML was unfairly demonized for the baggage that IBM and other enterprise orgs tied to it, but the standard itself was frigging amazing and powerful.

  • phkahler 6 hours ago

    I have to agree. I liked XSLT and would have done much more with just a few additions to it.

    Converting a simple manually edited xml database of things to html was awesome. What I mostly wanted the ability to pass in a selected item to display differently. That would allow all sorts of interactivity with static documents.

Y_Y 7 hours ago

> @whatwg whatwg locked as too heated and limited conversation to collaborators

Too heated? Looked pretty civil and reasonable to me. Would it be ridiculous to suggest that the tolerance for heat might depend on how commenters are aligned with respect to a particular vendor?

  • sunaookami 7 hours ago

    "too heated" is a codeword for "we don't want to deal with dissenting opinions". Same on other forums, e.g. Reddit.

  • netsharc 6 hours ago

    It's a little jarring that the 1 comment visible underneath that is a "Nice, thanks for working on this!", and if you click on the user that wrote it, it's someone working for Google on Chrome... sheesh, kiss-ass much?

  • JimDabell 6 hours ago

    > Why do people create such joke PRs?

    > We didn't forgot your decade of fuckeries, Google.

    > You wanted some heated comment? You are served.

    > the JavaScript brainworm that has destroyed the minds of the new generation

    > the covert war being waged by the WHATWG

    > This is nothing short of technical sabotage, and it’s a disgrace.

    > breaking yet another piece of the open web you don't find convenient for serving people ads and LLM slop.

    > Are Google, Apple, Mozilla going to pay for the additional hosting costs incurred by those affected by the removal of client-side XSLT support?

    > Hint: if you don't want to be called out on your lies, don't lie.

    > Evil big data companies who built their business around obsoleting privacy. Companies who have built their business around destroying freedom and democracy.

    > Will you side with privacy and freedom or will you side with dictatorship?

    Bullshit like this has no place in an issue tracker. If people didn’t act like such children in a place designed for productive conversation, then maybe the repo owners wouldn’t be so trigger happy.

  • spankalee 6 hours ago

    FYI, I heard that it was Apple employees who administer that repo that marked those comments as off topic and locked the thread, but people are attributing that to the Google employee that opened the issue.

  • troupo 7 hours ago

    There was a discussion they opened to "gather community feedback" just three weeks ago. That one did get heated: https://github.com/whatwg/html/issues/11523

    Google ignored everything, pushed on with the removal, and now pre-emptively closed this discussion, too

    • diggan 7 hours ago

      > Google ignored everything, pushed on with the removal, and now pre-emptively closed this discussion, too

      To be fair to Google, they've consistently steam-rolled the standards processes like that for as long as I can remember, so it really isn't new.

      • recursive 6 hours ago

        I don't understand how this is any more fair to Google than the quoted statement.

lucb1e 6 hours ago

How do we feel about this concern in general? Not just specific to XSLTs

> my main concern is for the “long tail” of the web—there's lots of vital information only available on random university/personal websites last updated before 2005

It's a strong argument for me because I run a lot of old webpages that continue to 'just work', as well as regularly getting value out of other people's old pages. HTML and JS have always been backwards compatible so far, or at least close enough that you get away with slapping a TLS certificate onto the webserver

But I also see that we can't keep support for every old thing indefinitely. See Flash. People make emulators like Ruffle that work impressively well to play a nostalgic game or use a website on the Internet Archive whose main menu (guilty as charged) was a Flash widget. Is that the way we should go with this, emulators? Or a dedicated browser that still gets security updates, but is intended to only view old documents, the way that we see slide film material today? Or some other way?

sedatk 4 hours ago

I love XSLT. I released a client-side XSLT-based PWA last year (https://github.com/ssg/eksi-yedek - in Turkish). The reason I had picked XSLT was that the input was in XML, and browser-based XSLT was the most suitable candidate for a PWA.

Two years ago, I created a book in memory of a late friend to create a compilation of her posts on social media. Again, thanks to XSLT, it was a breeze.

XSLT has been orphaned on the browser-side for the last quarter century, but the story on the server-side isn't better either. I think that the only modern and comprehensive implementation comes with Saxon-JS which is bloated and has an unwieldy API for JavaScript.

Were XSLT dropped next year, what would be the course of action for us who rely on browser-based XSLT APIs?

XSLT, especially 3.0, is immensely powerful, and not having good solutions on JS ecosystem would make the aftermath of this decision look bleaker.

  • mr_toad 4 hours ago

    I’d just use the browsers XML parser and javascript for the transformation. Which is what I assume a putative XSLT javascript library would do.

    And if you’re leaning towards a declarative framework, use React.

    • timeon 2 hours ago

      There are many declarative frameworks. React is one of the slowest.

coldpie 7 hours ago

I have no opinion on this, just sharing my one-and-only XSLT story.

My first job in software was as a software test development intern at a ~500 employee non-profit, in about 2008 when I was about 19 or 20 years old. Writing software to test software. One of my tasks during the 2 years I worked there was to write documentation for their XML test data format. The test data was written in XML documents, then run through a test runner for validation. I somehow found out about XSLT and it seemed like the perfect solution. So I wrote up XML schemas for the XML test data, in XSD of course. The documentation lived in the schema, alongside the type definitions. Then I wrote an XSLT document, to take in those XML schemas and output HTML pages, which is also basically XML.

So in effect what I wrote was an XML program, which took XML as input, and outputted XML, all entirely in the browser at document-view time.

And it actually worked and I felt super proud of it. I definitely remember it worked in our official browser (Internet Explorer 7, natch). I recall testing it in my preferred browser, Firefox (version 3, check out that new AwesomeBar, baby), and I think I got it working there, too, with some effort.

I always wonder what happened with that XML nightmare I created. I wonder if anyone ever actually used it or maybe even maintained it for some time. I guess it most likely just got thrown away wholesale during an inevitable rewrite. But I still think fondly back on that XSLT "program" even today.

  • kccqzy 7 hours ago

    My XSLT story:

    I wrote my personal website in XML with XSLT transforming into something viewable in the browser circa 2008. I was definitely inspired by CSS Zen Garden where the same HTML gave drastically different presentation with different CSS, but I thought that was too restrictive with too much overly tricky CSS. I thought the code would be more maintainable by writing XSLT transforms for different themes of my personal website. That personal webpage was my version of the static site generator craze: I spent 80% of the time on the XSLT and 20% on the content of the website. Fond memories, even though I found XSLT to be incredibly difficult to write.

    • eszed 7 hours ago

      Ha! Shout out to CSS Zen Garden. I didn't go as far down the rabbit hole as you did (noped out before XSLT made its way into my mix), but around that time I made sure all of my html was valid XML (er, XHTML), complete with the little validation badge at the bottom of the page. 80:20 form to content ratio sounds about right.

    • pjmlp 6 hours ago

      Another fellow soul!

      My first rewrite of my site, as I moved it away from Yahoo, into my own domain was also in XSLT/XML.

      Eventually I got tired of keeping it that way, and rewrite the parsing and HTML generation into PHP, but kept the site content in XML, to this day.

      Every now and then I think about rewriting it, but I rather do native development outside work, and don't suffer from either PHP nor XML allergies.

      Doing declarative programming in XSLT was cool though.

      • 1oooqooq 4 hours ago

        almost same. wrote a xml cms and then the xslt into html... then realized I would have to continue to write xml and said hell no! and rewrote the whole thing with php and a mysql db.

  • jahnu 7 hours ago

    I implemented the full XPath and XSLT language with debugging capabilities for a company I used to work for some 25ish years ago. It was fun (until XPath and XSLT 2. Well that was fun too but because of nice work colleague not the language) but I always did wonder how this took off and Lisp didn’t.

    • hollowonepl 6 hours ago

      Blame the java people, they always over engineered and those 25 years ago they still had a voice.

  • mlinhares 7 hours ago

    After the XML madness whenever I see some tech being hyped and used all over the place I remember the days of XML and ignore it.

    • CheeseFromLidl 6 hours ago

      I was quite fond of DokuWiki’s xml-rpc. Probably long replaced now but it was a godsend to have a simple rpc to the server from within javascript. (2007)

  • yangman 5 hours ago

    I once attempted to use XSLT to transform SOAP requests generated by our system so the providers' implementation would accept them. This included having to sufficiently grok XSD, WSDL el at to figure out what part of the chain is broken.

    At the end of the (very long) process, I just hard-coded the reference request XML given by the particularly problematic endpoints, put some regex replacements behind it, and called it a day.

  • arwhatever 6 hours ago

    “Yo dawg, I heard you liked XML …”

  • raverbashing 6 hours ago

    We can laugh at NFTs but honestly there are a lot of technical solutions that fit the "kinda works/kinda seems like a good idea" but in the end it's a house of cards with a vested interest

    Imagine people put energy into writing that thick of a book about XML. To be filed into the Theology section of a library

    • pstuart 6 hours ago

      Except the only selling point for NFTs was laundering money and scamming people.

j0057 5 hours ago

It's not like the browsers can just switch to some better maintained XSLT library. There aren't any. There are about 1.5 closed-source XSLT 3 implementations, Altova and Saxonica. I don't want to sound ageist, but the latter is developed by the XSLT spec's main author, who is nearing retirement age. This library is developed behind closed doors, and from time to time zip files with code get uploaded to GitHub. Make of that what you will in terms of the XSLT community. For all of its elegance, XSLT doesn't seem very relevant if nobody is implementing it. I'm all for the open web, but XSLT should just be left in peace to slide into the good night.

therealmarv 7 hours ago

Best comment from another related thread (not from me):

So the libxml/libxslt unpaid volunteer maintainer wants to stop doing 'disclosure embargo' of reported security issues: https://gitlab.gnome.org/GNOME/libxml2/-/issues/913 Shortly after that, Google Chrome want to remove XSLT support.

Coincidence?

Source (yawaramin): https://news.ycombinator.com/item?id=44925104

PS: Seems libxslt which is used by Blink has an (unpaid) maintainer but nothing going on there really, seems pretty unmaintained https://gitlab.gnome.org/GNOME/libxslt/-/commits/master?ref_...

PS2: Reminds me all of this https://xkcd.com/2347/ A shame that libxml and libxslt could not get more support while used everywhere. Thanks for all the hard work to the unpaid volunteers!

  • franciscop 7 hours ago

    This seems totally fine though? XSLT 1.0 supporter says the support time is costing heavily, then Chrome says removing support is fine, which seems to align to both of them.

    It'd be much better that Google did support the maintainer, but given the apparent lack of use of XSLT 1.0 and the maintainer already having burned out, stopping supporting XSLT seems like the current best outcome:

    > "I just stepped down as libxslt maintainer and it's unlikely that this project will ever be maintained again"

  • geocar 6 hours ago

    Mozilla doesn't use libxslt

aidenn0 7 hours ago

I used XSLT once to publish recipes on the web. The cookbook software my mom used (maybe MasterCook?) could "export as xml" and I wrote an xslt to transform it into readable html. It was fine. It's, of course, also possible to run the XSLT from the command line to generate static html.

The suggestion of using a polyfill is a bit nonsensical as I suspect there is little new web being written in XSLT, so someone would have to go through all the old pages out there and add the polyfill. Anyone know if accomplishing XSLT is possible with a Chrome extension? That would make more sense.

  • moritzwarhier 6 hours ago

    It would sure be possible to combine a polyfill with a webextension, not sure if XSLT contains any footguns for this approach that would make it hard to do, but if it's solely a single client-side transformation of the initial XML response, this should work fine.

    Cool example with the recipes page :)

    • aidenn0 6 hours ago

      I guess it's time for me to write that webextension; if it gets popular enough I can sell it to someone wearing a black hat for maybe tens of dollars!

exabrial 7 hours ago

I love how one company can do whatever they want. This is perfect.

  • icedchai 7 hours ago

    How do you think we got into this mess in the first place? First it was Netscape, then Microsoft, now Google.

    • raincole 7 hours ago

      Yet, the web has been prospering for two decades in spite of the quasi-monopoly state of browsers. It's the living evidence that the dominant browser vendor doesn't has as much power as people imagine.

      • bogwog 7 hours ago

        > prospering

        Like 90%+ of internet traffic goes to a handful of sites owned by tech giants. Most of what's left is SEO garbage serving those same tech giants' ad networks.

      • icedchai 7 hours ago

        More like three decades, but I get your point. ;) I remember running Netscape 0.9 something back in 1994.

        • recursive 6 hours ago

          I remember when you could go down to Circuit City and buy a web browser for money. It came in a cardboard box. Shortly after the era you describe.

      • meindnoch 7 hours ago

        The web has been prospering?

        • michaelt 7 hours ago

          Obviously not things like blogs, or things you’d find via search, or independent forums, or newspaper websites. They certainly aren’t prospering.

          But walled gardens like YouTube, Discord, ChatGPT and suchlike that are delivered via the browser are prospering. And as a cross platform GUI system, html is astonishingly popular.

        • raincole 7 hours ago

          "One of the most adopted technologies, the one that is permeating into even native desktop and mobile apps, is not prospering." - HN users, probably.

          • NanoCoaster 5 hours ago

            There's a difference between web technologies and "the web" as an amorphous philosophical construct. Web technologies, as you stated, are obviously doing just fine. I'd argue the latter isn't. To be more specific, the latter as it was envisioned (in a way that I, and I speculate, GP also still subscribe to) 20+ years ago.

        • cluckindan 7 hours ago

          What is Google? Or Amazon?

          I’m sure you can come up with more examples of extremely high value business which would not have happened without the web.

          • presbyterian 7 hours ago

            I don't think we all necessarily agree that "high value businesses" is the same as "prospering". If you mean "prospering" as in "making some people rich", sure, but if you mean "being beneficial to society at large", it's certainly debatable.

  • znpy 7 hours ago

    But hey it’s totally not a monopoly!

  • bayindirh 7 hours ago

    “Free markets and capitalism”. They give us superior, user centered, transparent products.

dwoldrich 3 hours ago

The XSLT juice is worth the squeeze, but only to a tiny minority of users, and there's costly rewrites to do to keep XSLT in there (for Chrome, at least.)

Here's what I wish could happen: allow implementers to stub out the XSLT engine and tell users who love it that they can produce a memory-safe implementation themselves if they want the functionality put back in. The passionate users and preservationists would get it done eventually.

I know that's not a good solution because a) new xslt engine code needs to be maintained and there's an ongoing cost for that for very few users, b) security reviews are costly for the new code, c) the stubs themselves would probably be nasty to implement, have security implications, etc. And, there's probably reasons d-z that I can't even fathom.

It sucks to have functionality removed/changed in the web platform. Software must be maintained though; cost of doing business. If a platform doesn't burden you with too much maintenance and chooches along day after day, then it's usually a keeper.

samschooler 7 hours ago

The idea of building something like PDF.js makes a lot of sense. I think the core crux of it though is the polyfill should be in the browser, not something that a site maintainer has to manually implement.

  • stuaxo 7 hours ago

    We absolulely shouldn't be just ripping out support.

    If there is a polyfill I'm not sure making it in Javascript makes sense but web assembly could work.

bokchoi 6 hours ago

This is tragic. I believe we should have gone the other way and included xslt 3.0 in the baseline browser requirements.

lucb1e 7 hours ago

I had no idea what XSLT even was until today. Reading the submission, the thread linked by u/troupo below, and Wikipedia, I find that it's apparently used in RSS parsing by browsers, because RSS is XML and then XSLT is "originally designed for transforming XML documents into other XML documents" so it can turn the XML feed into an HTML page

I agree RSS parsing is nice to have built into browsers. (Just like FTP support, that I genuinely miss in Firefox nowadays, but allegedly usage was too low to warrant the maintenance.) I also don't really understand the complaint from the Chrome people that are proposing it: "it's too complex, high-profile bugs, here's a polyfill you can use". Okay, why not stuff that polyfill into the browser then? Then it's already inside the javascript sandbox that you need to stay secure anyway, and everything just stays working as it was. Replacing some C++ code sounds like a win for safety any day of the week

On the other hand, I don't normally view RSS feeds manually. They're something a feed parser (in my case: Blogtrottr and Antennapod) would work with. I can also read the XML if there is a reason for me to ever look at that for some reason, or the server can transform the RSS XML into XHTML with the same XSLT code right? If it's somehow a big deal to maintain, and RSS is the only thing that uses it, I'm also not sure how big a deal it is to have people install an extension if they view RSS feeds regularly on sites where the server can do no HTML render of that information. It's essentially the same solution as if Chrome would put the polyfill inside the browser: the browser transforms the XML document inside of the JS sandbox

  • afavour 7 hours ago

    It's much more general purpose than that. RSS is just XML after all. XSLT basically lets you transform XML into some other kind of markup, usually HTML.

    I think the principle behind it is wonderful. https://www.example.com/latest-posts is just an XML file with the pure data. It references an XSLT file which transforms that XML into a web page. But I've tried using it in the past and it was such a pain to work with. Representing things like for loops in markup is a fundamentally inefficient thing to do, JavaScript based templating is always going to win out from the developer experience viewpoint, especially when you're more than likely going to need to use JS for other stuff anyway.

    It's one of those purist things I yearn for but can never justify. Shipping XML with data and a separate template feels so much more efficient than pre-prepared HTML that's endlessly repetitive. But... gzip also exists and makes the bandwidth savings a non-issue.

  • ndriscoll 7 hours ago

    RSS likely isn't the only thing that uses it. XSLT is basically the client side declarative template language for XML/HTML that people always complain doesn't exist (e.g. letting you create your own tags or do includes with no server or build steps).

    • lucb1e 7 hours ago

      I understand that there are more possible uses for the tool, but RSS is the only one I saw someone mention. Are there more examples?

      It may be that I don't notice when I use it, if the page just translates itself into XHTML and I would never know until opening the developer tools (which I do often, fwiw: so many web forms are broken that I have a habit of opening F12, so I always still have my form entries in the network request log). Maybe it's much more widespread than I knew of. I have never come across it and my job is testing third-party websites for security issues, so we see a different product nearly every week (maybe those sites need less testing because they're not as commonly interactive? I may have a biased view of course)

      • ndriscoll 7 hours ago

        It's by far the easiest way to do templated pages. I use it for my personal stuff (e.g. photo albums I share with my mom), but I can't imagine Google cares about the non-commercial web.

        I think I've read some governments still use it, which would make sense since they usually don't have a super high budget for tons of developers, so they have to stick to the easy way to do things.

        • lucb1e 7 hours ago

          Right, that sounds like a blind spot of mine as well. We test nearly only commercial products (or open source projects large enough to get commercial backing), and in private time, of course I'd come across big websites sooner than across small ones. Still, I'm surprised I never even heard of it (also considering we literally had a class on XML and the features, like these DTDs that I never found a use for in the decade since). Sounds like I should look into XSLT, since I also build a lot of small tools and simple old tech is generally right up my alley!

      • mmcgaha 4 hours ago

        I use it to maintain our product catalog at work. The server does the final rendering of the complete document but as a page is getting edited the preview is getting rendered in the browser. Back to what everyone is saying, this isn't important enough to move the needle for people making these decisions.

      • jorams 4 hours ago

        > Are there more examples?

        Practically every WordPress site with one of the top two SEO plugins (I'm not familiar with others) serves XML sitemaps with XSLT. It's used to make the XML contents human readable and to add a header explaining what it is.

        • lucb1e 4 hours ago

          Did you ever use a sitemap as a human? I've only ever seen it recommended for SEO, and search engines are perfectly capable of parsing sitemap.xml without needing it turned into some transformed format, or at least so was my understanding (been a while since I looked into sitemaps or SEO). It seems to only be linked in robots.txt, not to any humans: https://www.sitemaps.org/protocol.html#informing

          Every (Wordpress) site with an SEO plugin should be fine, since the search engines can still read it and that's the goal of an SEO plugin

      • o11c 6 hours ago

        Almost every single government organization uses it to publish their official documents. Lots of major corporations too.

        As much of a monopoly as Chrome is, if they actually try to remove it they're likely to get a bunch of government web pages outright stating "Chrome is unsupported, please upgrade to Firefox or something".

        • lucb1e 6 hours ago

          Huh? I mainly see official government documents as annoying PDFs. Thankfully someone had the bright idea to turn the national law's text into a proper webpage and not use an image-like format for that. (I think regional governments also publish laws as PDF though.) Double checking now, yes: that's definitely HTML and not a transformed XML

          Which government or governmental organizations are you talking about?

          • mx7zysuj4xew 6 hours ago

            Yes, PDF documents which are generated using XSL-FO (XSL Formatting Objects) from an xml source document

  • 4ndrewl 7 hours ago

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

    • lucb1e 7 hours ago

      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

      • 4ndrewl 5 hours ago

        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.

    • mx7zysuj4xew 6 hours ago

      Xslt actually solved a lot of problems for me last week in processing json to relational data

      • lucb1e 4 hours ago

        Huh! I'm learning a lot here today. Trying to find more info, indeed the top answer on stackoverflow on the "XSLT equivalent for JSON" is XSLT itself: https://stackoverflow.com/a/49011455/. Hard to find how you'd actually use it though, basically all results I get for "xslt json" are about different tools that convert between JSON and XML

    • kevingadd 6 hours ago

      At the time I ran across lots of real websites using it. I successfully used it myself at least once too. Off the top of my head, Blizzard was using it to format WoW player profiles for display in the browser.

    • croes 7 hours ago

      But XSLT is at least actually useful

      • lucb1e 7 hours ago

        So is metaverse, at least depending on the definition. Second Life is mentioned as an example of one on Wikipedia and that died pretty quickly because it was more of a mechanism instead of a destination in itself. The general concept of hanging out online with an avatar and friends is not gone at all

        5G was another hype word. Can't say that's not useful! I don't really notice a difference with 4G (and barely with 3G) but apparently on the carrier side things got more efficient and it is very widely adopted

        I guess there's a reason the Gartner hype cycle ends with widespread adoption and not with "dead and forgotten": most things are widely picked up for a reason. (Having said that, if someone can tell me what the unique selling point of an NFT was, I've not yet understood that one xD)

  • troupo 7 hours ago

    > I also don't really understand the complaint from the Chrome people that are proposing it: "it's too complex, high-profile bugs, here's a polyfill you can use".

    Especially considering the amount of complex standards they have qualms about from WebUSB to 20+ web components standards

    > On the other hand, I don't normally view RSS feeds manually.

    Chrome metrics famously underrepresent corporate installation. There could be quite a few corporate applications using XSLT as it was all the rage 15-20 years ago.

    • jeroenhd 6 hours ago

      My guess is that they're fine with WebBluetooth/USB/FileSystem/etc. because the code for the new standard is recent and sticks with modern security sensibilities.

      XSLT (and basically anything else that existed when HTML5 turned ten years old) is old code using old quality standards and old APIs that still need to be maintained. Browsers can rewrite them to be all new and modern, but it's a job very few people are interested in (and Google's internal structure heavily prioritizes developing new things over maintaining old stuff).

      Nobody is making a promotion by modernizing the XSLT parser. Very few people even use XSLT in their day to day, and the biggest product of the spec is a competitor to at least three of the four major browser manufacturers.

      XSLT is an example of exciting tech that failed. WebSerial is exciting tech that can still prove itself somehow.

      The corporate installations still doing XSLT will get stuck running an LTS browser like they did with IE11 and the many now failed strains of technology that still supports (anyone remember ActiveX?).

    • lucb1e 6 hours ago

      We pentest lots of corporate applications so if this was widespreadly deployed in the last ~8 years that I've been doing the job full time, I don't know how I would have missed it (like, never even saw a talk about it, never saw a friend using it, never heard a colleague having to deal with it... there's lots of opportunities besides getting such an assignment myself). Surely there are talks on it if you look for it, just that I haven't the impression that this is a common corporate thing, at least among the kinds of customers we have (mainly larger organizations). A sibling comment mentions they use it on their hobby site though

magnio 7 hours ago

I don't get the people complaining that they need it on their low-power microcontrollers yet instead of using an XSLT library they'd rather pull in Chromium.

With how bloated browsers are right now, good riddance IMO

  • tetromino_ 6 hours ago

    They are not talking about pulling in Chromium on a microcontroller. Their web server is on a microcontroller, so they want to minimize server side CPU usage and force the browser to do their XSLT transformation.

    Since it's a microcontroller, modifying that server and pushing the firmware update to users is probably also a pain.

    Unusual use case, but an reasonable one.

    • bucklybuck 5 hours ago

      Yeah, I don't think XML + XLST is any better than or allows anything that sending say JSON and transforming it with JS wouldn't. However that would require changing the firmware, which as you mention may be difficult or impossible.

  • kemayo 6 hours ago

    I think they're talking about outputting XML+XSLT on those microcontrollers, i.e. just putting out text. Chromium would come in for the viewer who's loading whatever tiny status-webpage those microcontrollers are hosting on a separate device.

hypeatei 7 hours ago

This proposal seems to be aimed at removing native support in favor of a WASM-based polyfill (like PDF.js, I guess) which seems reasonable?

Google definitely throws its weight around too much w.r.t. to web standards, but this doesn't seem too bad. Web specifications are huge and complex so trying to size down a little bit while maintaining support for existing sites is okay IMO.

  • ummonk 7 hours ago

    No, that would indeed be reasonable, but the proposal is to remove XSLT from the standard and remove Chrome support for XSLT entirely, forcing websites to adopt the polyfill themselves.

    • Spivak 7 hours ago

      Which is, to me, silly. If you ship the polyfill then there's no discussion to be had. It works just the same as it always has for users and it's as secure as V8, no aging native codebase with memory corruption bugs to worry about.

      • RadiozRadioz 4 hours ago

        > It works just the same as it always has for users

        No it doesn't. An HTML page constructed with XSLT written 10 years ago will suddenly break when browsers remove XSLT. The webmaster needs to add the polyfill themselves. If the webmaster doesn't do that, then the page breaks.

        From a user perspective, it only remains the same as before if the webmaster adopts the polyfill. From the web developer perspective, this is a breaking change that requires action. "shipping the polyfill" requires changes on many many sites - some of which have not needed to change in many years.

        It may also be difficult to do. I'm not sure what their proposed solution is, but often these are static XML files that include an XSLT stylesheet - difficult to put JS in there.

  • Klonoar 7 hours ago

    Last I checked, it’s a polyfill that Chrome won’t default include - they’re just saying that they’d have a polyfill in JS and it’s on site authors to use.

    That breaks old unmaintained but still valuable sites.

    • pdw 7 hours ago

      As a user you can only use the polyfill to replace the XSLTProcessor() JavaScript API. You can't use the polyfill if you're using XSLT for XML Stylesheets (<?xml-stylesheet … ?> tags).

      (But of course, XML Stylesheets are most widely used with RSS feeds, and Google probably considers further harm to the RSS ecosystem as a bonus. sigh)

      • snackbroken 5 hours ago

        Moz also has no love for RSS, having removed support for live bookmarks in Firefox 64 (2018) and no longer displaying the RSS icon anywhere in the UI when a website has any <link rel="alternate" type="application/rss+xml"> tags. If you want to subscribe to feeds you have to jump through a bunch of hoops instead of it being a single click.

        Fortunately, Thunderbird still has support for feeds and doesn't seem to have been afflicted by the same malaise as the rest of the org chart. Who knows how long that will last.

    • hypeatei 7 hours ago

      Ah, okay. I guess that's another one I'll add to the list of hostile actions towards the web then.

      I completely understand the security and maintenance burdens that they're bringing up but breaking sites would be unacceptable.

  • troupo 7 hours ago

    The polyfills are something devs have to include and use. It means all the pages that cannot be updated will be broken.

  • Devasta 7 hours ago

    The polyfills suggested are for the servers to do the transforms, not the browser.

panzi 6 hours ago

I saw XSLT used to transform RSS feeds into something nicely human readable. That is, the RSS feed was referencing the XSLT. Other than that I haven't noticed the use of XSLT on the web.

butlike 6 hours ago

I had to look up what XSLT was (began working professionally as a programmer in 2013). Honestly, if it simplifies the spec, at this point it seems like a good idea to remove it.

XSLT came across as a little esoteric.

tannhaeuser 5 hours ago

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?

  • timeon 4 hours ago

    Or just Xee.

tomComb 7 hours ago

Chrome is a browser – it can’t remove something from the spec. Perhaps this should say Google proposes to remove it from the spec.

  • spystath 7 hours ago

    Chrome is the dominant browser. Sad as this may be removing it from Blink means de facto removing it from the spec.

    That being said, I'm not against removing features but neither this or the original post provide any substantial rationale on why it should be removed. Uses for XSLT do exist and the alternative is "just polyfill it" which is awkward especially for legacy content.

    • tomComb 5 hours ago

      But a browser doesn’t have agency – it’s Google that is doing this.

  • Vosporos 7 hours ago

    By metonymy it's referring to the browser's owner.

  • NoGravitas 5 hours ago

    Not sure if you missed it, but a few days before this PR, Google did propose removing it from the spec.

jmorenoamor 5 hours ago

I remember having built a static site that was 100% xml data and xslt transformers in the early 2000s

Quite fun at the time

paulvnickerson 6 hours ago

I support the html and browser spec being greatly simplified in general. Makes it easier to develop competing browsers.

  • moritzwarhier 6 hours ago

    But at the same time, people don't want web pages and web apps to become all fully opaque like Flutter web or complex, minified JS-heavy sites. Even the latter have many a11y benefits of markup.

    I think that's a tradeoff.

    Simplest approach would be to just distribute programs, but the Web is more than that!

    Another simple approach would be to have only HTML and CSS, or even only HTML, or something like Markdown, or HTML + a different simple styling language...

    and yet nothing of that would offer the features that make web development so widespread as a universal document and application platform.

    • b_e_n_t_o_n 2 hours ago

      I think most people just don't care, although the a11y benefits are truely important. HTML isn't going anywhere and often you need JS to make things more accessible.

      But like, most people just want a site to work and provide value, save them time etc and the way the site is built is entirely unimportant. I find myself moving towards that side despite being somewhat of a web purist for years.

stuaxo 7 hours ago

So annoying, XSLT is very powerful but browsers let it languish at 1.0

XSLT 1.0 is still useful though, and absolutely shouldn't be removed.

Them: "community feedback" Also them: <marks everything as off topic>

This came about after the maintainer of libxml2 found giving free support to all these downstream projects (from billionaire and trillionaire companies) too much.

Instead of just funding him, they have the gall to say they don't have the money.

While this may be true in a micocosm of that project, the devs should look at the broader context and who they are actually working for.

stmw 2 hours ago

IBM owns a very high-performance XSLT engine they could probably open source or license to the browser makers. IF anyone from IBM is here (?), may want to consider it..

ksec 7 hours ago

Do we know Webkit, KHTML and Gecko's stand on this?

I know this is for security reason but why not update the XSLT implementation instead. And if feature that aren't used get dropped, they might as well do it all in one good. I am sure lots of HTML spec aren't even used.

  • devmor 7 hours ago

    If it was just for security reasons, they could sponsor FOSS development on the implementation.

    I am of the opinion that it is to remove one of the last ways to build web applications that don't have advertising and tracking injected into them.

    • xcrjm 7 hours ago

      I get the impression they are ripping it out because they don't want to sponsor the FOSS volunteer working on it or deal w/ maintaining it themselves. The tracking/advertising take doesn't hold much water for me as adding those things to the page is something developers and companies choose to do. You could just as easily inject a tracking script tag or pixel or whatever via XSLT during transformation if you wanted.

    • umanwizard 6 hours ago

      > I am of the opinion that it is to remove one of the last ways to build web applications that don't have advertising and tracking injected into them.

      Er, how so? What stops you from doing so in HTML/JS/CSS ?

Klonoar 5 hours ago

Setting aside the discussion of the linked issue itself (tone, comments, etc), I feel like I need to throw this out there:

I don't understand the point in having a JS polyfill and then expecting websites to include it if they want to use XSLT stuff. The beauty of the web is that shit mostly just works going back decades, and it's led to all kinds of cool and useful bits of information transfer. I would bet money that so much of the weird useful XSLT stuff isn't maintained as much today - and that doesn't mean it's not content worth keeping/preserving.

This entire issue feels like it would be a nothing-burger if browser vendors would just shove the polyfill into the browser and auto-run it on pages that previously triggered the fear-inducing C++ code paths.

What exactly is the opposition to this? Even reading the linked issue, I don't see an argument against this that makes much sense. It solves every problem the browser vendors are complaining about and nothing functionally changes for end users.

cnst 4 hours ago

Wait, all the web browsers had XSLT support all along?

I remember using these things in a CSCI class, and, IIRC, we were using something akin to Tomcat to do transformations on the server, before serving HTML to the browser, circa 2005/2006.

nikeee 7 hours ago

If security and memory-safety is a concern and there is already a polyfill, why remove the API form the standard instead of just using the WASM-based polyfill internally?

  • kevingadd 6 hours ago

    They want to punt a half-baked polyfill over the wall and remove support from the browser so they don't have to do any maintenance work, making it someone else's problem.

fancyfredbot an hour ago

I'm sorry but I don't understand this. If a polyfill can add xslt support then why don't browser vendors ship the polyfill and apply it automatically when necessary?

Animats 5 hours ago

Ouch. Two of my old web sites use XSLT, as a way to display info from a database on administrative pages. I guess it's time to kill off those sites.

dec0dedab0de 5 hours ago

The web is so far gone at this point, they should probably remove everything but wasm.

At least that's how my cynical side feels anymore.

chrismorgan 6 hours ago

Intent to remove: emergency services dialling (911, 112, 000, &c.)

Almost no one ever uses it: metrics show only around 0.02% of phone calls use this feature. So we’re planning on deprecating and then removing it.

—⁂—

Just an idea that occurred to me earlier today. XSLT doesn’t get a lot of use, but there are still various systems, important systems, that depend upon it. Links to feeds definitely want it, but it’s not just those sorts of things.

Percentages only tell part of the story. Some are tiny features that are used everywhere, others are huge features that are used in fewer places. Some features can be removed or changed with little harm—frankly, quite a few CSS things that they have declined to address on the grounds of usage fall into this category, where a few things would be slightly damaged, but nothing would be broken by it. Other features completely destroy workflows if you change or remove them—and XSLT is definitely one of these.

chocmake 6 hours ago

This is disappointing. I was using XSLT for transforming SVGs, having discovered it early last year via a chat. Even despite browsers only shipping with v1.0 it still allowed a quite compact way to manipulate them without adding some extra parser dependency.

fithisux 7 hours ago

Actually, I think removing XSLT is bad because it means we are more tied to javascript or other languages for XML transformation instead of a language designed for this specific purpose, a DSL.

Which means more unreadable code.

But if they decide to remove XSLT from spec, I would be more than happy if they remove JS too. The same logic applies.

dark-star 7 hours ago

having browsers transform XML data into HTML via XSLT is a cool feature, and it works completely statically, without any server-side or client-side code. Would be a shame if that was removed. I have a couple dozen XML databases that I made accessible in a browser using xslt...

brian_herman 6 hours ago

As long as xpath is still there I approve

varbhat 7 hours ago

i thought that HTML spec is immutable.

  • redwall_hp 7 hours ago

    The W3C spec was. But WHATWG and HTML5 represent a coup by the dominant browser corporations (read: Google). The biggest browser dictates the "living standard" and the W3C is forced into a descriptivist role.

    The W3C's plan was for HTML4 to be replaced by XHTML. What we commonly call HTML5 is the WHATWG "HTML Living Standard."

    • arccy 6 hours ago

      the old sages in ivory towers handed us a spec engraved in stone and expected is to live by it

      no wonder they were sidelined

      • WorldMaker 6 hours ago

        They weren't sidelined because they had bad ideas (XHTML 2.0 had a lot of great ideas, many of which HTML5 eventually "borrowed"), they were sidelined because they still saw the web as primarily a document platform and Google especially was trying to push it as a larger application platform. It wasn't a battle between the ivory tower and practical concerns, it was a proxy battle in the general war between the web as a place optimized to link between meaningful, accessibility-first documents and the web as a place to host generalized applications with accessibility often an afterthought. (ARIA is great, but ARIA can only do so much, not as much of it by default/a pit of success as XHTML 2.0 once hoped to be.)

  • JimDabell 7 hours ago

    The WHATWG HTML spec. is famously mutable. They literally call it a “living standard” and it separates them from the versioned W3C standard.

  • tommica 7 hours ago

    Yep, doesn't this make certain pages not work anymore?

    • therealmarv 7 hours ago

      it will. It will make old non-updated pages break with same fate as old outdated pages which used MathML in the past and were not updated with polyfills.

    • onion2k 7 hours ago

      It makes them not work in Chrome. For any application that supports XSLT they'll continue to work fine.

  • meindnoch 7 hours ago
    • maxloh 7 hours ago

      An implementation with >90% market share becomes the defacto standard.

      • anonymars 6 hours ago

        Who else is watching this who grew up watching this same movie play out with Microsoft/IE as the villain and Google as the hero? (Anyone want to make the "live long enough" quote?)

  • troupo 7 hours ago

    It's immutable in the sense of "only remove stuff after incredibly careful consideration".

    Which Chrome has transmuted into "we do whatever we want to do". Remember their attempt to remove confirm/prompt?

Pxtl 3 hours ago

So Google is bringing the deprecation treadmill to the web, yay!

Yegge called it:

https://steve-yegge.medium.com/dear-google-cloud-your-deprec...

"""

> Because I sometimes get similar letters from the Google Cloud Platform. They look like this:

>> Dear Google Cloud Platform User,

>> We are writing to remind you that we are sunsetting [Important Service you are using] as of August 2020, after which you will not be able to perform any updates or upgrades on your instances. We encourage you to upgrade to the latest version, which is in Beta, has no documentation, no migration path, and which we have kindly deprecated in advance for you.

>> We are committed to ensuring that all developers of Google Cloud Platform are minimally disrupted by this change.

>> Besties Forever,

>> Google Cloud Platform

> But I barely skim them, because what they are really saying is:

>> Dear RECIPIENT,

>> Fuck yooooouuuuuuuu. Fuck you, fuck you, Fuck You. Drop whatever you are doing because it’s not important. What is important is OUR time. It’s costing us time and money to support our shit, and we’re tired of it, so we’re not going to support it anymore. So drop your fucking plans and go start digging through our shitty documentation, begging for scraps on forums, and oh by the way, our new shit is COMPLETELY different from the old shit, because well, we fucked that design up pretty bad, heh, but hey, that’s YOUR problem, not our problem.

>> We remain committed as always to ensuring everything you write will be unusable within 1 year.

>> Please go fuck yourself,

>> Google Cloud Platform

"""

  • codedokode 2 hours ago

    But if you live in a capitalist country with a free market, several competitors should pop out and suggest migrating your system into their cloud for free, shouldn't they? No way capitalist overlooks an unoccupied market niche.

    • fancyfredbot an hour ago

      Oh look over there, is that Azure?

bawolff 3 hours ago

As a reminder for people who love xslt.

Nothing is stopping you from using content negotiation to do it server side.

dukoid 2 hours ago

Ah, now I am glad I stuck with DSSSL :)

troupo 8 hours ago

Despite rather heated discussion just three weeks they started just two weeks prior https://github.com/whatwg/html/issues/11523

  • webstrand 7 hours ago

    Looks like they're going to ram it through anyway, no matter the existing users. There's got to be a better way to deal with spam than just locking the thread to anyone with relevant information.

    • delfinom 7 hours ago

      WHATWG literally forced W3C to sign a deal and obey their standards. WHATWG is basically Google + Apple + Microsoft directly writing the browser standards. Fixing Microsoft's original mistake of Internet Explorer of not creating a faux committee lol.

      • arccy 6 hours ago

        w3c architecture astronauts have no place dictating standards that they can't implement.

  • bayindirh 7 hours ago

    It’s another “we listened the community and nobody told us no” moment. Like Go’s telemetry issue.

    Google is boneheaded and hostile to open web at this point, explicitly.

    • agwa 7 hours ago

      > It’s another “we listened the community and nobody told us no” moment. Like Go’s telemetry issue.

      Go changed their telemetry to opt-in based on community feedback, so I'm not sure what point you're trying to make with that example.

      • bayindirh 7 hours ago

        No. The official statement from Brian was “I received a couple of personal e-mails from some credible people who stated that their data belonged to them, so we (I) decided to make it opt-in” (paraphrased).

        I spent days in that thread. That uproar was “a bunch of noisy minority which doesn’t worth listening” for them.

        • tptacek 7 hours ago

          It's weird to see you try to make hay out of Google doing the thing you actually wanted them to do.

          • bayindirh 6 hours ago

            Please see my other comment in the same thread.

        • arccy 7 hours ago

          where is this official statement, I don't think you even managed to get the name right

          • bayindirh 6 hours ago

            Sorry. Was at dinner. It's Russ Cox. Being hungry and in a hurry doesn't help with remembering names.

            The GitHub discussion is there: https://github.com/golang/go/discussions/58409

            but the words I of Russ I cited is here: https://groups.google.com/g/golang-dev/c/73vJrjQTU1M/m/WKj7p...

            Copying verbatim:

                It's good to know that's what it looks like. I can tell you that the shouting did not really influence the decision. Long-time Go contributors and supporters commenting quietly or emailing me privately had far greater influence.
            
            So as a person who just started programming Go and made some good technical comments didn't matter at all. Only people with clout has mattered, and the voice had to come from the team itself. Otherwise we the users' influence is "fuck all" (sorry, my blood boils every time I read this comment from Russ).
        • rafram 7 hours ago

          I mean yeah, I too would probably prefer to read a few well-reasoned arguments over email than to wade through hundreds of hateful, vitriolic, accusatory comments from randos in a GitHub thread. Being an open-source maintainer is hard.

          • troupo 7 hours ago

            Or, you know, do the right thing from the start considering that forced telemetry you have to opt-out of is universally reviled and every project that includes it suffers from literally the same issues.

  • uyzstvqs 7 hours ago

    "Heated discussion" sounds like any comment voicing legitimate concern being hidden as "off-topic", and the entire discussion eventually being locked. Gives me Reddit vibes, I hope this is not how open web standards are managed.

  • ummonk 7 hours ago

    If it's a security issue, shouldn't the browsers just replace C++ code with the JS or WASM polyfill themselves?

    • therealmarv 7 hours ago

      I also wondered about that. They probably don't want to do that because of maintaining, fixing and allocating resources to it then.

      Probably a browser extension on the user side can do the same job if an XSLT relying page cannot be updated.

      • ummonk 6 hours ago

        This seems like the kind of thing that won't require any resources to maintain, other than possible bugfixes (which 3rd parties can provide). It only requires parsing and DOM manipulation, so it doesn't really require any features of JS or WASM that would be deprecated in the future, and the XSLT standard that is supported by browsers is frozen - they won't ever have to dedicate resources to adding any additional features.

        • esprehn 5 hours ago

          That is an interesting approach, you could suggest it? In general using JS to implement web APIs is very difficult, but using WASM might work especially for the way XSLTProcessor works today.

stop_nazi 4 hours ago

Finally! Remove this shit!