From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EYBjN-0003Ka-Qd for garchives@archives.gentoo.org; Sat, 05 Nov 2005 00:16:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA50FhB8014957; Sat, 5 Nov 2005 00:15:43 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA50DEwI028239 for ; Sat, 5 Nov 2005 00:13:14 GMT Received: from gentoo.xs4all.nl ([213.84.68.112] helo=[10.0.0.2]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EYBgH-00039b-LE for gentoo-dev@lists.gentoo.org; Sat, 05 Nov 2005 00:13:13 +0000 Message-ID: <436BF918.6030509@gentoo.org> Date: Sat, 05 Nov 2005 01:13:12 +0100 From: Xavier Neys User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051026) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] GLEP ??: Critical News Reporting References: <20051101015125.1cc45eb4@snowdrop.home> <200511012257.22527.jkt@gentoo.org> <20051101221635.1a53a258@snowdrop.home> <200511021933.38078.jkt@gentoo.org> <20051102223443.042bae23@snowdrop.home> <436B6F94.4060205@gentoo.org> <20051104183922.699f3dc0@snowdrop.home> In-Reply-To: <20051104183922.699f3dc0@snowdrop.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: bbc93301-6304-4f7d-8785-fe68a8b03db9 X-Archives-Hash: 6835ec278135d076180bb6ef75379366 Ciaran McCreesh wrote: > On Fri, 04 Nov 2005 15:26:28 +0100 Xavier Neys wrote: > | > Oh? Our GuideXML to HTML conversion is thousands of lines of code... > | > | Plain wrong, but you have always made it clear that you are not only > | biased against XML for anything, but also very much XML challenged. > > Run a wc -l on guide.xsl sometime. Either wc is lying or that alone is > thousands of lines of code. You know how to count. Well done. You still haven't got a fscking clue what you're counting, though. BTW, 1525 is not thousands. Remove all the html that surrounds the content, i.e. the top bar with logo and menu, the left col with the menu and old news items, the right col with the ads and you're left with less than a thousand lines. Then remove the blank lines, comments and a bit of what I believe is dead wood but I know has nothing to do with GuideXML, and what's left already does a lot more than GuideXML to HTML transformation. > | Don't worry, some are even worse than you are, worse enough to claim > | that XML is hard to parse because "XML files from a programming > | perspective require extra logic to parse. Compare the following key > | value pair and xml tag pseudo parsing logic for configuration: > | entry > | Hit a >, tag1 as realized tag name, read until <, read ahead one to > | ensure a closing slash, read until > to get the tag name, compare tag > | name with previous tag name to see what tag it's closing. store value > | attached to tag1." > > That is not parsing XML. That is parsing some arbitrary markup language > you just invented. Please read the XML specification, note how complex > some of the little used side features are, and then remember that a > compliant XML parser has to implement **all** of them. I did not invent that, I was quoting another dev. FYI, the quote is the bit between the " characters. -- / Xavier Neys \_ Gentoo Documentation Project / French & Internationalisation Lead \ http://www.gentoo.org/doc/en /\ -- gentoo-dev@gentoo.org mailing list