From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Steven T. Hatton" Newsgroups: gmane.emacs.devel Subject: OT:XML Schema Validation with Emacs Date: Sat, 31 Jan 2004 23:41:28 -0500 Organization: Global Symmetry Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401312341.28470.hattons@globalsymmetry.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1075611151 28873 80.91.224.253 (1 Feb 2004 04:52:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2004 04:52:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Feb 01 05:52:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1An9aq-0008IM-00 for ; Sun, 01 Feb 2004 05:52:24 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1An9aq-0006Gc-00 for ; Sun, 01 Feb 2004 05:52:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1An9Yt-0007GI-4i for emacs-devel@quimby.gnus.org; Sat, 31 Jan 2004 23:50:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1An9YW-0007FY-C1 for emacs-devel@gnu.org; Sat, 31 Jan 2004 23:50:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1An9Y0-0006ts-FY for emacs-devel@gnu.org; Sat, 31 Jan 2004 23:49:59 -0500 Original-Received: from [66.92.149.152] (helo=baldur.globalsymmetry.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1An9Y0-0006rx-1q for emacs-devel@gnu.org; Sat, 31 Jan 2004 23:49:28 -0500 Original-Received: from ljosalfr.globalsymmetry.com (ljosalfr.globalsymmetry.com [192.168.0.27]) by baldur.globalsymmetry.com (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id i114nu1h026226 for ; Sat, 31 Jan 2004 23:49:57 -0500 Original-Received: from ljosalfr.globalsymmetry.com (localhost [127.0.0.1]) by ljosalfr.globalsymmetry.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i114fTSK007801 for ; Sat, 31 Jan 2004 23:41:29 -0500 Original-Received: from localhost (localhost [[UNIX: localhost]]) by ljosalfr.globalsymmetry.com (8.12.10/8.12.10/Submit) id i114fSAT007800 for emacs-devel@gnu.org; Sat, 31 Jan 2004 23:41:28 -0500 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.6 Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19602 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19602 This may be a bit OT for this list, but I believe it is vitally important and Emacs related. AFAIK, there is no way to validate an XML document against a w3c XML Schema instance. It is sometimes possible to convert xsd to dtd, and validate against the resulting dtd. This is, in general, a lossy conversion, and is thus unsatisfactory. More and more, it is becoming the case that an xsd is used where a dtd has traditionally been used. I find the functionality I get with (X)Emacs and psgml superior to any other tool (free or proprietary) for editing xml documents. Without a dtd, that functionality is not available. I am aware of James Clarke's nXML http://www.xmlhack.com/read.php?item=2061 but that only works with RELAX NG, which I have not encountered in the areas I've be focusing. DocBook, Apache Ant, etc. If any one has the skills, time, and inclination to look at this issue, I, for one would be grateful. STH