From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: Problems with xml-parse-string Date: Sat, 25 Sep 2010 14:59:59 +0100 Message-ID: <87ocblexeo.fsf@gmail.com> References: <87vd5x7ty2.fsf@stupidchicken.com> <87vd5wo48a.fsf@stupidchicken.com> <8739t03q2g.fsf@stupidchicken.com> <87k4mb2mfu.fsf@stupidchicken.com> <87pqw3nm4y.fsf@stupidchicken.com> <87iq1v0yi2.fsf@stupidchicken.com> <87bp7nvt9j.fsf@stupidchicken.com> <8739syls92.fsf@stupidchicken.com> <8339syrlto.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285423230 14797 80.91.229.12 (25 Sep 2010 14:00:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 14:00:30 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 16:00:29 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzVIg-0007FE-Qe for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 16:00:27 +0200 Original-Received: from localhost ([127.0.0.1]:56479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzVIg-0005gY-6X for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 10:00:26 -0400 Original-Received: from [140.186.70.92] (port=54732 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzVIT-0005gQ-Jg for emacs-devel@gnu.org; Sat, 25 Sep 2010 10:00:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzVIO-0001Jd-Cm for emacs-devel@gnu.org; Sat, 25 Sep 2010 10:00:13 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:63621) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzVIO-0001JX-6L; Sat, 25 Sep 2010 10:00:08 -0400 Original-Received: by wyb36 with SMTP id 36so4335702wyb.0 for ; Sat, 25 Sep 2010 07:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=EjEasL+4TiiXKNxhF0V8jTwzWOH1wPWP43YCp/MZxhk=; b=qBanxJxdgi0S9V3WxK1JmBZP+sYyMCylp/hbpaxlOgvbeHtT7SRk8dRwha9tat3BBJ M33IrZkx+FUf9M8aW9Sw5YiVNld6cGzOBYb9q1rkj1F+zNSax0SOdQRv1y9NJFpEAIUC zRlNLdLSSs97Oe1vAFWbfKTdpyxZv7kz49ilM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=BmGbcvIT9WWwj5PpH9lah7obMxmmefSLvM+1z47i2l45cIkpr5k7UZ4Cqs+xoIgDmp 48t0t7yWAizxw+ThTIK8wsK6JZEK8bqpoI6zvU17QmpdwA6uhjlgutoZJrE0cU/AUs93 ZuDL7XmSowVSpaeykCqf7EACUHdy0bkv+wbcE= Original-Received: by 10.216.11.205 with SMTP id 55mr3956625wex.51.1285423206941; Sat, 25 Sep 2010 07:00:06 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-133-35-46.range86-133.btcentralplus.com [86.133.35.46]) by mx.google.com with ESMTPS id n17sm2112476weq.30.2010.09.25.07.00.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 07:00:05 -0700 (PDT) In-Reply-To: <8339syrlto.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 Sep 2010 15:31:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130845 Archived-At: Eli Zaretskii writes: >> From: Lars Magne Ingebrigtsen >> Date: Sat, 25 Sep 2010 15:11:40 +0200 >> >> Chong Yidong writes: >> >> > You are overselling your case. >> >> I give up. > > That's a pity. > > Chong, I'd suggest trusting Lars's instincts and experience a bit > more. OTOH, if you indeed want to see valid technical arguments for > his suggestion, you should request the same from the opposite views. > We should either judge intuition against intuition or specific > arguments vs specific arguments. I saw no practical arguments to back > up the other view, only academic ones. That's unfair, IMO. Saying, `I used Sxml with Lisp in a real project and I had no problems with it at all' is enough? To emphasise, a real project, which means working for food. How can be a better proof or technical reason. If i wanted to transfer the data from Elisp equipped with Sxml, to the other one, what would be the easiest way? `Prin1' obviously, and `read' at other side, or in case of Lars format transforming back to XML and re-parse and re-read (Which is not supported yet at all, BTW). How about other maybe `less practical' languages like Mbase (the one I worked on). Can I actually do the same with the Scheme: yes I could if the format was Sxml. There is no real reason behind having this format beside: + it is portable + very well specified and robust + well known standard + will not surprise us with some nitpicks For a Lars format + only Emacs would use that + we still don't know how to support all the stuff from Xml + nobody produced spec for it that we can actually believe it is OK to transform from XML and to XML without losing information + some small problems with escaping `:' but that's regarding Sxml too + BTW: you cannot use `text' property to store content, as it can be used as an attribute (just a trivial example). So yes, that's the practical reasons again, to emphasise I don't mind this one or other one (if anybody asked me really..), it would be just wise to use something that is well specified and not reinventing the wheel again. Wojciech