Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barefootliam
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
barefootliam
1y ago
These problems are a large part of why later versions of XSLT were developed.
2.
▲
by
barefootliam
1y ago
This is neither correct nor helpful, i think. There are examples of dynamic pages using XSLT, and the purpose is not compression at all. A very simple one - https://wendellpiez.github.io/XMLjellysandwich/IChing/ Y
3.
▲
by
barefootliam
1y ago
3.0 adds JSON support, maps, arrays, to 2.0 - and many other other changes, including streaming and optimizable recursion with the oddly-named xsl:iterate, but the JSON support is biggest for the in-browser uses. 4.0 will add parse-html() t
4.
▲
by
barefootliam
1y ago
XQuery has a different focus from XSLT. XQuery doesn’t have apply-templates, the document-based implicit dispatch that is so central to XSLT, and it doesn’t have the multiple inheritance possible with overloading templates, but it is strong
5.
▲
by
barefootliam
1y ago
0.02% of public Web pages, apparently, have the XSLT processing instruction in them, and a few more invoke XSLT through JavaScript (no-one really knows how many right now). It’s likely more heavily used inside corporate and governmental fir
6.
▲
by
barefootliam
1y ago
When i first encountered the early GNOME 1 software back in the very late 1990s, and DV (libml author) was active, i was very surprised when i asked for the public API for a library and was told, look at the header files and the source. The
7.
▲
by
barefootliam
4y ago
Beowulf was a Type 3 PostScript font, not Type 1, so that it could bypass the font cache and could access random numbers on the LaserWriter PostScript interpreter. Type 3 fonts don't have hinting in the renderer, and require a full Pos
8.
▲
by
barefootliam
5y ago
It's the default combination for printing, and it's probably also default (i didn't check) e.g. on one-bit e-ink screens.
9.
▲
by
barefootliam
6y ago
Here at least, firefox depends on libxml2, which comes from a different package. But, bloated is in the eye of the beholder - there's always Dillo and lynx.
10.
▲
by
barefootliam
6y ago
No. XML libraries increase the attack _surface_, but XML itself is passive. There was a famous "billion laughs" attack, but JavaScript was also vulnerable to this, as is any language that lets you concatenate strings. The usual fi
11.
▲
by
barefootliam
6y ago
MathML is being added to WebKit; an implementation offered for Safari was rejected years ago.
12.
▲
by
barefootliam
6y ago
When we invented XML we did not have configuration files as a major use case- although the possibility of ubiquity had been hinted at in a speech by Michael Sperberg-McQueen earlier that year, comparing the potential of SGML to the infrastr
13.
▲
by
barefootliam
6y ago
There isn't an alternative, largely i think because XML people come at the problem from the idea that documents are primary, not just artifacts of programs.
14.
▲
by
barefootliam
6y ago
I think more about the fact libxml and libxslt are large pieces of code and have had CVEs raised against them (and fixed) in the past. They are still actively maintained.
15.
▲
by
barefootliam
6y ago
"The biggest advantage of JSON and YAML" should be put in a context of, "when working as a programmer with config files". When we designed XML, we were working on things like a million pages of Unix documentation, or the