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 02:28:57 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5l1y5wvy25.fsf@rum.cs.yale.edu> 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 1036896114 10260 80.91.224.249 (10 Nov 2002 02:41:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2002 02:41:54 +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 18Ai2r-0002fI-00 for ; Sun, 10 Nov 2002 03:41:53 +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 18Ai1i-0000Dv-00; Sat, 09 Nov 2002 21:40:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!lon1-news.nildram.net!landlord!stones.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs User-Agent: Pan/0.11.4 (Unix) X-Comment-To: "Galen Boyer" Original-Lines: 78 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones 1036895337 212.159.101.92 (Sun, 10 Nov 2002 02:28:57 GMT) Original-NNTP-Posting-Date: Sun, 10 Nov 2002 02:28:57 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106884 comp.emacs:75720 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:3438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3438 On Sun, 10 Nov 2002 01:41:09 +0000, Galen Boyer wrote: > It uses PSGML mode for the structured editing but then it has built in > parsing of the dtd so that you get context sensitive tag creation through > menus. I find this quite helpful. I may be mistaken, but I'm pretty sure that it is PSGML which is providing that functionality. PSGML on its own has the capability to parse a DTD and then offer context sensitive menus for inserting elements and attributes (i.e. the contents of the menus only reflect what would be valid at that point in the document). > It supports the docbook right out of the box, but any other available dtd > that you reference can be the dtd for that document and that dtd will get > parsed and context sensitive menus created for that document. I like it > mostly cause it has the built-in xslt processor and a menu item, > > XAE --> View Document --> In Html Browser The thing is that I am either working directly with XHTML anyway, or writing my own XSL transformations which I then use via PHP. (I'm a web developer working mostly with the XML family, PHP, Javascript and CSS.) Things which are very cool if you are primarily a Docbook writer are not necessarily that useful for me. > Not sure how to soften those frustrations. If your java environment isn't > correct, the XAE isn't going to correct it. But, you could ask the XAE list > on how to correct it. You might get an answer. And also that was a while ago and I'm now using a much more up-to-date Linux and so it's entirely possible that my Java problems have gone away. >> Well schemas and namespace are certainly a core part of XML's direction, >> and I don't see how any full-featured XML editing environment can not >> support them, but at the same time to the best of my understanding XAE just >> uses PSGML, and Lennart and others have implied that adding support for >> them would involve a very major re-write. > > I think the context sensitive menu creation by parsing the referenced DTD is > what you mean by supporting? 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. > The last thing that makes the XAE attractive to me, is that Paul's JDE is a > really nice package. I see the XAE having even a much fuller environment as > Paul turns his concentrations to it. It is extremely useful already. I'd > like to be a user and help him by offering my perspective as a user. So, I > guess I'm saying that I trust that the package will remain in active > development for quite some time, and seeing the power of the JDE makes me > wonder what the XAE will look like in the future. Well on top of beng rubbish at lisp, I'm pretty rubbish at Java! (Please don't let there be anyone I work for reading this!) But I've seen the JDE and it is truly impressive. You are convincing me to investigate the XAE further, but I think the bottom line is that I need an XML editing environment that groks namespaces and schemas, and at the moment XAE looks like it is very much aimed at the Docbook writer. PSGML is the nearest thing I've found, but maybe trying to make PSGML understand namespaces and schemas is too big a poject, in which case we need another package altogether. And that thought makes me feel a little glum ... Best, Darren P.S. This was written very late at night after much wine, so if I'm not making sense I apologise. -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================