Gabriel Radanne

Results 318 comments of Gabriel Radanne

How does it "not work" ? If it crashes or something, I'm pretty sure it's related to the implementation of the `D` module, because nothing in tyxml do anything about...

In eliom, the relevant pieces are: https://github.com/ocsigen/eliom/blob/master/src/lib/eliom_lib_base.shared.ml#L119 https://github.com/ocsigen/eliom/blob/master/src/lib/eliom_content_core.server.ml#L251-L252

Hmm, unfortunately we can't really do that one. The content of the nodes are a pseudo-list. For most implementation, that's the normal lists. However for things like reactive nodes it's...

@dbuenzli The typing aspect is not the crux of the issue, as I explained above. The issue is that HTML is not text. It simply has a textual representation. With...

As a limited fix, only for the native tyxml implementation, I did https://github.com/ocsigen/tyxml/pull/107/commits/85c62cdcdd2448743aa481bbde9f8929a2002781

Mantis bug report: http://caml.inria.fr/mantis/view.php?id=7212 @vasilisp That is unfortunate. Remind me to check that mixing variances like that is actually sound (HTML-wise).

Excellent question, I'm slightly surprised it does that. Do you know what the specs says ?

I agree this is quite inconvenient, but I'm not sure I have a satisfying solution. We could turn all the `unit` taking attributes into boolean ones. This is a slight...

hmm, that might be due to some over-enthusiastic case normalisation ...

In general, it's better to debug these kind of things by looking at the *emitted HTML* before the browser result. In this case, the emited HTML is: ```html Home 1...