From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Problems with xml-parse-string Date: Fri, 24 Sep 2010 21:34:34 +0200 Organization: Programmerer Ingebrigtsen Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285356901 23504 80.91.229.12 (24 Sep 2010 19:35:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2010 19:35:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 21:34:59 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 1OzE2r-0004TG-Tc for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2010 21:34:58 +0200 Original-Received: from localhost ([127.0.0.1]:45336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzE2r-000781-D3 for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2010 15:34:57 -0400 Original-Received: from [140.186.70.92] (port=39884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzE2j-00076n-8L for emacs-devel@gnu.org; Fri, 24 Sep 2010 15:34:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzE2e-0003ek-VL for emacs-devel@gnu.org; Fri, 24 Sep 2010 15:34:49 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34103) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzE2e-0003ec-LT for emacs-devel@gnu.org; Fri, 24 Sep 2010 15:34:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzE2d-0004CJ-VA for emacs-devel@gnu.org; Fri, 24 Sep 2010 21:34:43 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 21:34:43 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 21:34:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXZz8utoaJvZWRGPTui l5giGxqRh4jjC5C/AAACb0lEQVQ4jVXTvXLjIBAA4MXjSy0Uxr0XSX0gqLYcogcQQ28hzPs/wu0i +ZJjnMafl/0j0MjjXLR1Jgzel1IQC0xSsgmpg9U2huz9TFTA+6kGvEfrIp1F1Zh/oGLEyBImWQX2 31OAcYEjQpaqgt+hD3R/jego5AfoJhdtjSgHvG6KLmj6iyHl3/Cke8K2WDql/AZHYPSIw4AZa1nw ShHCorsi13lOE/e4Q0tgjV5v0KiS8k/EFyVF1BMAnOet+4FnjAYHXHlmbRo9SR2JoiYI0lWuUrwX c4CXF4LFzPeHeAixDTsoz7ldsMOKD7gJtaGZuCq/9x1tp/AGYr5r/bpKym/eA26pgTdtNNrsyw5U FCcHDwJ7RNsxTLSQnvozQ4YWYMak7fXVeU/9mQbgQg2KZMxwQEsLCuMLNlxK3uG9ToogMTwx8EwY vrVzmkBUeFVFoJ+9s+YBbxWsNt2R4/PpemNWKqlG6DHvoD7oiVgkqMfaYVZ+JmhXGyj5C5zFnHeY bTDW3ECtmaZFK+P3y3DXzrhlgnaikk8xDGUvl8BaFyYQN7rpT7B4URVUro/weqRYjrFTuVuFUfL3 J3rcWu45JNL+aO4rZQBqNejrDvfEOaLpGGiVAT8ZJtkWerE6mkwgCBZaVIULR1DF3CFDsHVW3l+4 XPowvPEGnN9BzY5Ghcj1nun/xNibFAWyl20fDOqBcyiqvO7sBLTG9csgbgNfJTUN9PNMyaCUTJ5O eeaByGSjHu/c6pAe5C10E9ANTZusXgV3lAcpANpmbipcUBsl6tSEPDdwlvwjkEKlEVsp4NepIsS6 +vX/ryvQm5NQF/AXyDvPSRzF/6oAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Marianne Faithfull's _Dangerous Acquaintances_: "Truth, Bitter Truth" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:kIdLkX6FdHKkyuIT87sgFBTNG0Y= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130800 Archived-At: Chong Yidong writes: > That's why you use `xml-node-children' and so forth. So your argument is now that it doesn't matter how crappy the representation is, since we're going to teach all users of the data to use small accessor functions that hide the horror? Instead of assq we're going to use xml-find-attribute? Well, that's dandy, if you manage to cover all the use cases, and you manage to teach all users these accessors. But that's not how it works. Somebody wants some data. It's in html. They parse it. They look at it. They use assq and are angry it breaks in some cases. (excuse typos. I'm writing from my mobile phone.) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen