[ prog / sol / mona ]

prog


XHTML

1 2022-06-15 15:45

XHTML application/xhtml+xml seems rendering faster in FF. Is this true?

2 2022-06-15 16:11

it is not about being fast
it is about being beautiful and valid

3 2022-06-15 17:28

>>2
Of course, I would use it only for its beauty. But my question is also about speed. Can anyone answer with proofs?

4 2022-06-15 19:10 *

XML is touted as an external format for representing data. This is not a hard problem. All we require are two properties:
• Self-describing From the external representation one should be able to derive the corresponding internal representation.
• Round-tripping If one converts from an internal representation to the external representation and back again, the new internal representation should equal the old.
Lisp S-expressions, for example, possess these properties.
XML has neither property. It is not always self-describing, since the internal format corresponding to an external XML description depends crucially on the XML Schema that is used for validation (for instance, to tell whether data is an integer or a string). And it is not always round-tripping, since some pathological Schemas lack this property (for instance, if there is a type union of integers and strings). So the essence of XML is this: the problem it solves is not hard, and it does not solve the problem well.

https://homepages.inf.ed.ac.uk/wadler/papers/xml-essence/xml-essence.pdf

5 2022-06-15 19:27

>>4

I didn't get a single word, I am not a Lisp programmer.

6


VIP:

do not edit these