From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew W. Nosenko" Newsgroups: gmane.emacs.devel Subject: Re: online conversion support from xsd to rng? Date: Wed, 8 Dec 2010 12:45:26 +0200 Message-ID: References: <87hbep8psi.fsf@stupidchicken.com> <8739q9jbic.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291805171 8922 80.91.229.12 (8 Dec 2010 10:46:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 10:46:11 +0000 (UTC) Cc: Chong Yidong , joakim@verona.se, Emacs developers To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 08 11:46:05 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 1PQHX5-0005E4-3J for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2010 11:45:59 +0100 Original-Received: from localhost ([127.0.0.1]:35516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQHX4-0001Vs-Gr for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2010 05:45:58 -0500 Original-Received: from [140.186.70.92] (port=36171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQHWy-0001Vl-O6 for emacs-devel@gnu.org; Wed, 08 Dec 2010 05:45:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQHWx-00029o-Lz for emacs-devel@gnu.org; Wed, 08 Dec 2010 05:45:52 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:59441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQHWx-00029h-Ij for emacs-devel@gnu.org; Wed, 08 Dec 2010 05:45:51 -0500 Original-Received: by vws10 with SMTP id 10so816206vws.0 for ; Wed, 08 Dec 2010 02:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pB9pVj3mzomhB2Fw8w9CRKo/LIhy0ghT9ryzDoPcYsw=; b=gGZlppqbppvDHYDmeS3gGeI9+gwrlbCWVdxTaMZc2UtqJ/lFPvQTyhb9CCjA5n8dJj cDYUL18W65EFyW9wCCpw+E3OxU6wbrNpzkYOOH2u8DJTb7NgGsNRz7xoJNOEvTr4y5DK aLCYhuqxyHrqPcghjF59vSSIbbT7hqTNPURsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dDNJl2g1ga+w/YYIjjr/j30U0jNCyP1t2mlUzbNDcnQl0rFUXy87svYZqo2eRX1DBr EuGd+HnGy52nwJHMcMAthhxdLHZQVlP7TkYkO48mFESnB2bXBx0jHG/DgAFLX/o6GH+j NraJn4aFWC6KyY7AoSEw4ASaqXDLg5zOOfdoo= Original-Received: by 10.229.217.133 with SMTP id hm5mr6517501qcb.258.1291805126449; Wed, 08 Dec 2010 02:45:26 -0800 (PST) Original-Received: by 10.229.95.209 with HTTP; Wed, 8 Dec 2010 02:45:26 -0800 (PST) In-Reply-To: <8739q9jbic.fsf@ambire.localdomain> 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:133533 Archived-At: On Wed, Dec 8, 2010 at 03:31, Thien-Thi Nguyen wrote: > () joakim@verona.se > () Tue, 07 Dec 2010 23:42:05 +0100 > > =A0 but it will require xsltproc and trang to > =A0 be installed. > > I just noticed: > > $ ldd ~/bin/bloody-emacs | grep expat > =A0 =A0 =A0 =A0libexpat.so.1 =3D> /usr/lib/libexpat.so.1 (0xf6ed5000) > > so perhaps you could write C bindings to libexpat and port xsltproc and > trang (or the desired subset of their functionality) to Emacs Lisp. You don't need to port the libxslt from the libxml2 to libexpat -- libxml2 already used in emacs $ ldd emacs | grep libxml2 libxml2.so.5 =3D> /usr/local/lib/libxml2.so.5 (0x804240000) Also, while libexpat obtained through X11 dependency, libxml2 linked in deliberately (thread started at http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00179.html). --=20 Andrew W. Nosenko