English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] bug in nethtml.ml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-01 (22:35)
From: Alan Schmitt <alan.schmitt@p...>
Subject: [Caml-list] bug in nethtml.ml
I am sending this message to the caml mailing list as I did not see it
appear in the archive of the ocamlnet-devel mailing list (sourceforge
seems a bit broken)


I just found a bug in nethtml.ml, and according to the cvs browser of
sourceforge, it has not been fixed yet.

Here is a cvs diff -d

Index: nethtml.ml
RCS file: /cvsroot/ocamlnet/ocamlnet/src/netstring/nethtml.ml,v
retrieving revision 2.5
diff -u -p -r2.5 nethtml.ml
--- nethtml.ml  6 Jul 2002 16:26:25 -0000       2.5
+++ nethtml.ml  28 Feb 2003 16:16:50 -0000
@@ -127,7 +127,7 @@ let html40_dtd =
                                                      "sup"; "font"; "basefont"],
                                                    `Inline ));
     (* other: *)
-    "dl",                 (`Block, `Elements ["dl"; "dd"]);
+    "dl",                 (`Block, `Elements ["dt"; "dd"]);
     "div",                (`Block, `Flow);
     "noscript",           (`Block, `Flow);
     "blockquote",         (`Block, (`Block |. `Elements ["script"]));



The hacker: someone who figured things out and made something cool happen.
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners