From: xslide S. <xsl...@me...> - 2003-09-20 19:25:46
|
At 19 Sep 2003 20:48 -0400, Glen Peterson wrote: > First </ is just as easy to type as C-c / and is simply brilliant. That > is one of the things I like most about xslide. It's also something that people sometimes want PSGML to do. I usually add it with an `xml-mode-hook`. Of course, PSGML couldn't do that for SGML, since end-tags can sometimes be omitted, so there's sometimes choices for what to end. > Second, I would like to see C-c v for Verify document. Xalan is crummy > at giving good error messages. It would be nice to be able to verify a > document and get a good error message from xslide. I have a prototype > of this working. Not very robust, but worth adding to. I'll submit a > patch when I finish my merge. You and I have totally opposite perspectives (and not for the first time). I was contemplating the usefulness of C-c C-v to run an external XML processor for well-formedness checking, but I decided against mentioning it in my previous mail because C-c C-p in xslide will do that for you anyway (and more besides). I would never have thought to write a well-formedness checker as part of xslide. (Actually, I am thinking of parsing it with `semantic`, but that's not exactly the same thing.) If Xalan gives lousy error messages, isn't the solution just to use a different XSLT processor that does give better error messages? C-c C-p will populate the history with the command lines for a couple of XSLT processors, and you can add others, so it's pretty easy to set it up so you can alternate between Xalan and another at will. Regards, Tony Graham. |