Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 75979 invoked by uid 500); 28 Feb 2003 08:35:15 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 75951 invoked from network); 28 Feb 2003 08:35:14 -0000 Received: from unknown (HELO mail.cbim.it) (212.131.130.82) by daedalus.apache.org with SMTP; 28 Feb 2003 08:35:14 -0000 Received: from cuprouter.cbim.it (cuprouter.cbim.it [192.168.4.10]) by mail.cbim.it (8.11.0/8.11.0) with ESMTP id h1S8utU14982 for ; Fri, 28 Feb 2003 09:56:55 +0100 Received: from cbim.it (caterina.cbim.it [192.168.4.42]) by cuprouter.cbim.it (8.9.3/8.9.3) with ESMTP id JAA24128 for ; Fri, 28 Feb 2003 09:37:49 +0100 Message-ID: <3E5F1F63.1010404@cbim.it> Date: Fri, 28 Feb 2003 09:35:47 +0100 From: Ugo Cei Organization: C.B.I.M. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Problem with HTMLGenerator References: <3E5E7FA8.4060901@caddr.com> <1046381724.17639.36.camel@yum.ot> In-Reply-To: <1046381724.17639.36.camel@yum.ot> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bruno Dumon wrote: > On Thu, 2003-02-27 at 22:14, Miles Egan wrote: > >>After updating cvs and rebuilding I get this error when using the >>HTMLGenerator: >> >>[NamespaceNormalizingDOMStreamer] Encountered a DOM Element without a >>localName. DOM Level 1 trees are not supported by this DOMStreamer. >> >>Is this a bug? > > > No, it's a feature :-) Isn't there anything better than JTidy for converting HTML to XHTML? I am using it to convert HTML generated by Mozilla's Midas editor (why, oh why doesn't it produce valid markup? :-() and found the same problem (not surprisingly, since I pasted code from HTMLGenerator). I also tried using XOM to process the XML produced by JTidy and found another problem, so went back to the old, stupid DOM. I lost three hours working around these problems the other night. :-( Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: u.cei@cbim.it