From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: psgml - support for XML namespaces and schemas? Date: Sun, 10 Nov 2002 15:45:49 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: <84pttdwkiq.fsf@crybaby.uni-duisburg.de> References: <5l1y5wvy25.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036941648 28426 80.91.224.249 (10 Nov 2002 15:20:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2002 15:20:48 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18AttG-0007OM-00 for ; Sun, 10 Nov 2002 16:20:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Atub-00011N-00; Sun, 10 Nov 2002 10:22:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 27 Original-NNTP-Posting-Host: p50877e51.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1036940105 24921 80.135.126.81 (10 Nov 2002 14:55:05 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Nov 2002 14:55:05 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:fub6ex1ddijG2rksb+B6JvncTxw= Original-Xref: shelby.stanford.edu gnu.emacs.help:106899 comp.emacs:75730 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3450 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3450 "D. D. Brierton" writes: > Yes. For the kind of stuff I'm working on, either for current clients, or as > future prodiucts to sell to clients, hybrid XML documents are becoming the > norm. By that I mean documents which contain markup from more than one XML > application; such documents depend on namespaces for validation and DTDs > don't understand namespaces so XML schemas *have* to be used instead. Ideally, > ones editing environment should also understand that documents can be hybrid > and instead of looking to the DTD for populating menus for the insertion of > elements or attributes they need to be able to understand namespaces. I agree that you need namespaces and XML schemas. This is only a stopgap measure to provide half-baked "support". If you construct a DTD which has all the elements from all the schemas involved, complete with their prefix, then you might be able to use that. Of course, this means that you need to decide on a prefix for your documents. But at least you could get tags completion this way. I agree that it is painful, however, to construct a DTD for all mixtures of schemas that you might need. However, maybe you can get away with making ONE DTD that contains ALL schemas that you work with. kai -- ~/.signature is: umop ap!sdn (Frank Nobis)