Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 50367 invoked from network); 31 May 2006 23:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2006 23:32:22 -0000 Received: (qmail 6936 invoked by uid 500); 31 May 2006 23:32:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6912 invoked by uid 500); 31 May 2006 23:32:20 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 6903 invoked by uid 99); 31 May 2006 23:32:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 16:32:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jta@bristowhill.com designates 66.75.162.133 as permitted sender) Received: from [66.75.162.133] (HELO ms-smtp-01.socal.rr.com) (66.75.162.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 16:32:19 -0700 Received: from [192.168.15.53] (cpe-204-210-23-212.san.res.rr.com [204.210.23.212]) by ms-smtp-01.socal.rr.com (8.13.6/8.13.6) with ESMTP id k4VNVrNM014351 for ; Wed, 31 May 2006 16:31:56 -0700 (PDT) Message-ID: <447E2769.4000801@bristowhill.com> Date: Wed, 31 May 2006 16:31:53 -0700 From: "Jean T. Anderson" Reply-To: jta@bristowhill.com User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: [web / doc] 3 tools for editing Derby Web site XML source X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My xml editor has been vi (yes, I'm a dinosaur), so I started looking at XML editors. I put notes about three products I briefly looked at down below for anyone who might be interested: - jEdit - Eclipse WST XML Editor - XMLBuddy Eclipse plugin I worked with each for no more than an hour because fast spinup is important, but it also means that I'm stating opinions without being fully knowledgeable. btw, forrest has an eclipse plugin (http://forrest.apache.org/tools/eclipse.html); however, I did not use it because I'm looking for a more general editor that can handle any xml, including the xml source that apache anakia and maven sites use. XML validation is my main interest, so I tested two basic things that I am prone to goofing up: 1) Invalid tag: bad tag (instead of "section") 2) Unclosed

tag I also tried to configure the catalog entity resolver to get the forrest dtd's locally and avoid going out to forrest.apache.org. *** jEdit (www.jedit.org / GPL) *** What a sweet tool! Within an hour I had downloaded, installed, and was using it. Very nice, comprehensive documentation. Test 1 error: the invalid tag was underlined in red and the error was 'Element type "sectoin" must be declared'. [Excellent] Test 2 error: 'The element type "p" must be terminated by the matching end-tag "

".' No location for the problem, but it has a handy "Close Last Open Tag" functionality. [Good] The forrest web site explains how to configure the catalog entity resolver (http://forrest.apache.org/docs_0_70/catalog.html). [Excellent] *** Eclipse WST XML Editor (www.eclipse.org / EPL) *** WST, which is part of the Web Tools Project (WTP), includes an XML editor. You'll find the documentation for it in Web Standard Tools Developers Guide -> XML Tools & Schema Definition. It seems to run out of steam pretty quickly: it validates but can't provide specific information about the error. The close tag completion works, but it can't provide a list of tags from which to choose inserts. Test 1 error: 'The content of element type "section" must match "(title,(section|p|source|...|anchor)*)"', with no indication where the problem was. [Poor] Test 2 error: 'The element type "p" must be terminated by the matching end-tag "

"'. [Poor] I didn't figure out how to configure the catalog entity resolver. [assume it's my problem] *** XMLBuddy Eclipse Plug-in (xmlbuddy.com / Free) *** It isn't open source but the base XMLBuddy product is free and XMLBuddy Pro is $35 U.S. Very nice -- everything validates live as you type and the performance is great. If there's documentation I didn't spot it, but haven't seemed to need it yet. Test 1 error: 'Element type "sectoin" must be declared.' [Excellent] Test 2 error: 'Fatal error - The element type "p" must be terminated by the matching end-tag "

".' Since it validates while you're typing, it's easier to catch the error early. [Excellent] XMLBuddy caches the DTD; I'm looking for a way to configure the entity resolver, but caching reduces future hits on forrest.apache.org, so that's good. [Good] Of the three, XMLBuddy was the best at catching both types of errors in time for me to fix them, without my having to hunt down the closed tag problem. all my personal opinion, of course, -jean