From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Saving markup formats Date: Tue, 19 Jun 2007 06:38:22 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182260352 15325 80.91.229.12 (19 Jun 2007 13:39:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2007 13:39:12 +0000 (UTC) To: "Oliver Scholz" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 15:39:11 2007 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.50) id 1I0dvL-0000nK-6s for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2007 15:39:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0dvK-0000Nr-KO for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2007 09:39:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0dvG-0000KA-Db for emacs-devel@gnu.org; Tue, 19 Jun 2007 09:39:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0dvC-0000Jv-Cu for emacs-devel@gnu.org; Tue, 19 Jun 2007 09:39:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0dvC-0000Js-87 for emacs-devel@gnu.org; Tue, 19 Jun 2007 09:39:02 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I0dvB-0001WR-Qw for emacs-devel@gnu.org; Tue, 19 Jun 2007 09:39:02 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5JDcuJL025692; Tue, 19 Jun 2007 08:38:56 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5JCr0mO024389; Tue, 19 Jun 2007 07:38:53 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-227.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 2967773611182260305; Tue, 19 Jun 2007 06:38:25 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:73306 Archived-At: Interesting post, Oliver. Lots of food for thought. Thanks. > I'd start designing the data structure. I would do it with an eye on > the various specifications for XML (most notably: the XML info set and > the style properties in CSS) What about the XQuery and XPath data model (XDM), instead of the = Infoset? It's essentially the XML Infoset + XML Schema types. From the = W3C XDM spec (http://www.w3.org/TR/xpath-datamodel/):=20 The data model is based on the [Infoset] (henceforth "Infoset"), but it requires the following new features to meet the [XPath 2.0 Requirements] and [XML Query Requirements]: * Support for XML Schema types. The XML Schema recommendations define features, such as structures ([Schema Part 1]) and simple data types ([Schema Part 2]), that extend the XML Information Set with precise type information. * Representation of collections of documents and of complex values. ([XML Query Requirements]) * Support for typed atomic values. * Support for ordered, heterogeneous sequences.