From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: online conversion support from xsd to rng? Date: Fri, 10 Dec 2010 10:52:13 +0900 Message-ID: <877hfitmwi.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87hbep8psi.fsf@stupidchicken.com> <8739q9jbic.fsf@ambire.localdomain> <87mxoggsz1.fsf@ambire.localdomain> <87mxoe5w50.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1291957959 16765 80.91.229.12 (10 Dec 2010 05:12:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 05:12:39 +0000 (UTC) Cc: 'Chong Yidong' , 'Thien-Thi Nguyen' , "'Andrew W. Nosenko'" , 'Emacs developers' , joakim@verona.se, Drew Adams To: =?us-ascii?Q?=3D=3Fiso-8859-2=3FQ=3F=3DA9t=3DECp=3DE1n=5FN=3DECmec=3F?= =?us-ascii?Q?=3D?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 10 06:12:34 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 1PQvHV-00039L-Cd for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 06:12:34 +0100 Original-Received: from localhost ([127.0.0.1]:33067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQvHT-0002IP-RC for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 00:12:31 -0500 Original-Received: from [140.186.70.92] (port=45116 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQsCa-0000M2-QR for emacs-devel@gnu.org; Thu, 09 Dec 2010 20:55:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQsBG-0002UN-GB for emacs-devel@gnu.org; Thu, 09 Dec 2010 20:53:55 -0500 Original-Received: from imss12.cc.tsukuba.ac.jp ([130.158.254.161]:48161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQsBG-0002Tm-1S for emacs-devel@gnu.org; Thu, 09 Dec 2010 20:53:54 -0500 Original-Received: from imss12.cc.tsukuba.ac.jp (imss12.cc.tsukuba.ac.jp [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id B333F2AF543; Fri, 10 Dec 2010 10:53:49 +0900 (JST) Original-Received: from mgmt1.sk.tsukuba.ac.jp (unknown [130.158.97.223]) by imss12.cc.tsukuba.ac.jp (Postfix) with ESMTP id A51FA2AF542; Fri, 10 Dec 2010 10:53:49 +0900 (JST) Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id A35373FA0550; Fri, 10 Dec 2010 10:53:49 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 32E61129CBF; Fri, 10 Dec 2010 10:52:15 +0900 (JST) In-Reply-To: <87mxoe5w50.fsf@gmail.com> X-Mailer: VM undefined under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) 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:133561 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: base64 qXTscA== --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =E1n=20 --=-=-= Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable N=ECmec writes: > This is nonsense. XPath and friends are not bound to the external > representation of the data in any way. They operate on the DOM tree. So > as long as your XML conversion to sexp format is lossless (which it > should be, of course), you lose nothing, only gain the advantages of > saner format (i.e. sexp) both for humans and the machine -- you just > need an XPath etc. implementation for your language. Sure. But our language doesn't have a standard lossless format yet, it doesn't have an XPath implementation at all, and it's not clear to me why a lossless sexp format would be all that much more readable than XML (assuming an XML mode designed to be readable, which would probably be a bigger gain than XML-to-Lisp -- all XML modes I've seen have been designed for use by those who think XML is readable). I think you've got a lot of work ahead of you. --=-=-=--