From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: Re: psgml - support for XML namespaces and schemas? Date: Sun, 10 Nov 2002 15:19:26 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5l1y5wvy25.fsf@rum.cs.yale.edu> <84pttdwkiq.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036942497 30450 80.91.224.249 (10 Nov 2002 15:34:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2002 15:34:57 +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 18Au6x-0007uh-00 for ; Sun, 10 Nov 2002 16:34:55 +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 18Au7r-0003qT-00; Sun, 10 Nov 2002 10:35:51 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newspeer.clara.net!news.clara.net!landlord!wards.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Pan/0.11.4 (Unix) X-Comment-To: "Kai =?iso-8859-1?q?Gro=DFjohann=22?= Original-Lines: 32 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: wards 1036941617 212.159.101.92 (Sun, 10 Nov 2002 15:20:17 GMT) Original-NNTP-Posting-Date: Sun, 10 Nov 2002 15:20:17 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106902 comp.emacs:75731 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:3455 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3455 On Sun, 10 Nov 2002 14:45:49 +0000, Kai Großjohann wrote: > 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. Theoretically that is certainly doable; pragmatically I'm not sure it is. It would take me simply ages to compile this one great big DTD, and then on publishing all the documents would have to have their DTDs changed again, to something which isn't specific to my system (admittedly that's pretty simple but a pain nonetheless). As the W3C publishes new applications at a rate of knots these days I'd be spending more time trying to maintain my super DTD then I would working! Thanks for the suggestion anyway. It will certainly be worth bearing in mind if no other solution looks likely. Best, Darren -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================