Analisi Di Editor XML XML Editor Analysis
Total Page:16
File Type:pdf, Size:1020Kb
Istituto di Teoria e Tecniche per la Documentazione Giuridica ITTIG-CNR Enrico Francesconi Analisi di editor XML XML editor analysis Firenze 2002 Rapporto Tecnico n. 20 Istituto per la Documentazione Giuridica Analisi di editor XML Enrico Francesconi 18/2/2002 In questo documento viene presentata una rassegna dei principali editor XML attualmente disponibili, sia come risorse freeware che come risorse di mercato. Tale rassegna è stata realizzata consultando le documentazioni dei prodotti presenti sul Web. L’analisi ha lo scopo di verificare, per gli editor analizzati, la disponibilità della gestione della struttura di un documento XML tramite le classi e i metodi dell’interfaccia DOM (Standard W3C), attraverso le sue più diffuse implementazioni (C++, Java, VisualBasic, Javascript, VBScript, Delphi). Attualmente in IDG è stato sviluppato, per l’editor XMetal, un software nello standard DOM Javascript che consente la gestione di un documento XML. L’utilizzo di tale standard garantisce la modularità dell’architettura software attualmente sviluppata, in modo tale che la gestione tramite DOM dei documenti XML possa essere riutilizzata nell’ambito di altri editor che supportano tale standard. In questo documento gli editor XML analizzati sono stati suddivisi in tre categorie: 1) Prodotti per i quali viene dichiarato esplicitamente il supporto dell’interfaccia DOM; 2) Prodotti per i quali più genericamente è garantito l’accesso alla struttura di un documento XML tramite API; 3) Prodotti per i quali non vengono esplicitamente dichiarate le due precedenti proprietà. 1 Editor XML che supportano DOM 1 Editor che dichiarano esplicitamente il supporto dell’interfaccia DOM XML Pro Version: 2.0 Developer: Vervet Logic License: Commercial; demo version available Platforms: Windows 95/98/NT, Solaris, Linux. Requires Sun JRE 1.2 Product URL: http://www.vervet.com/product-index.html "XML Pro offers the features of an advanced XML Editor with an intuitive interface that allows XML experts and novices alike to create valid, well-formed XML documents. Priced at $149.95, XML Pro delivers a professional XML editing solution at a consumer price." Version 2.0 uses IBM's XML4J parser and supports XML 1.0, DOM, and SAX. In addition, it offers drag and drop, cut and paste, an option to change document encoding, and a DTD view. SixPack Version: 1.0dr1 (developer release) Developer: simple/CHAOS License: Open source Platforms: Macintosh Product URL: http://www.trafficstudio.com/sixpack/info.htm SixPack is a simple interface for XML parsing and creation, which includes an XML parser (that complies to the XML 1.0 specification as a well-formed processor), a set of classes that emulate the DOM, and a variety of visual components for editing and displaying well- formed XML documents. Created in REALbasic. XMetaL Version: 2.1 SP3 Developer: SoftQuad Software Inc License: Commercial Platforms: Windows 95, 98, 2000, or NT 4.0 Product URL: http://www.softquad.com/products/xmetal/content_xmetal.html Professional, full-featured XML/SGML editing tool. XMetaL has a word processor-like view, as well as a source view and a tag view. It works with SGML or XML DTD's, offers context-sensitive lists of allowed elements and attributes, and supports CALS tables, DOM, CSS, and HTML. XMetaL has an integrated browser preview for XML documents. XMetaL 2.0 adds well-formed XML editing, a much requested structure view, support for SGML catalogs, support for UTF-16, and more. 2 Editor XML che supportano DOM Epic (formerly Adept Editor) Version: 4.2 Developer: ArborText License: Commercial Platforms: Unix, Windows Product URL: http://www.arbortext.com/Products/products.html A high-end validating SGML/XML authoring and publishing tool for serious document work. Supported XML-related technologies include XSL, XLink, and DOM. Now includes an embedded XSL-FO engine, and a change tracking facility. Morphon XML-Editor Version: 4.2 Developer: Morphon Technologies License: Commercial Platforms: MacOs Unix, Windows Product URL: http://www.morphon.com/xmleditor/index.shtml The Morphon XML-Editor is a validating XML-Editor which lets you easily create and modify XML documents. Morphon also provides a CSS editor for use as a styling language. The Editor itself is able to run on the maximum number of platforms as it is written in Java, and uses the Java Foundation Classes (JFC) Libraries. Some key features of the Morphon XML-Editor: • WYSIWYG WordProcessor-Like XML Editing and Hierarchical views. Views are extensible through a plugin API. • Support XML Schemas grammar and thus namepaces. • Full Unicode 3.0 support and various character encodings such as UTF-8, UTF-16 and ISO-Latin's. • Support for Tables • Remote Editing and Publishing (HTTP or FTP). Extensible through a plugin API. • XMLEditor and the CSSEditor are written in Java (cross platform) and are distributed with an easy to use installer. Supported platforms include: Windows, Unix (Linux, SunOS, etc), MacOS (8 and higher including X) and many other platforms supporting Java. • Create and edit documents based on a grammar (either Schemas and DTDs). • The XMLEditor uses CSS as the styling language. The CSS can be edited using the CSSEditor. • Various plugin APIs for developers to use. The Storage API allows for customisation of the storage process such as interfacing directly with an XML database. A View API allows software developers to write custom views such as toggle buttons for 3 Editor XML che supportano DOM yes/no questions, custom selection lists, etc. All APIs are documented on the Morphon website. • Edit the structure of you document as well as the XML Entities and Notations. Also supports subdocuments (external entities). • Dynamic localization for different languages (ships with English, French and Dutch). API available for localization. • Full support for Drag and Drop (structures as well as text) and a dockable toolbar for commonly used actions. An extensive document history for easy access to frequently used DTDs and CSS. • XSL processing and preview: Preview of the document using an XSL stylesheet. • Supports catalogs: OASIS Entity Management Catalog as well as the XML Catalog format. Accessing the document as a DOM Tree The document can be accessed using the Swing text architecure: Element, but this is not really useful when editing XML, is it? So there is another option: access it via a DOM tree. There is a getDOMTTree() function in PluginView that returns a DOM Tree that can enable the view to navigate the document's structure. Editing this tree is currently being implemented, but for now the ony editing possible is the edition of attributes for Tag Elements. The DOM API used is that of DOM2 although many functions are not implemented in DOM2. Watch out for DOMExceptions that yell when using an unimplemented function. Most NS related functions are not implemented for example. XML Spy Version: 4.2 Developer: Altova Inc. License: Commercial Platforms: Windows Product URL: http://www.xmlspy.com Structured/document editor for editing XML, DTDs, schemas (DCD, XDR, BizTalk, XSD), and XSLT. Provides views for structured editing (grid view, table view) and document editing (WYSIWYG), and a graphical XSLT designer. Supports authoring with XSL-FO. Has full Unicode support. By default, MSXML3 is used, but you can specify an external XSLT processor to be used for XSLT transformations. Supports latest XML Schema Candidate Rec (10/24/00) and has a graphical schema design view for editing XML Schemas. Can convert April 7 schemas to conform to the new CR. Supports http and ftp for file access and allows saving of files directly to an FTP server. Athens Version: 1.00 4 Editor XML che supportano DOM Developer: Swift Incorporated License: 30 day trial Platforms: Windows and IE 5.0 (or later) with the March 2000 MSXML Technology Preview Version 3.0. Product URL: http://www.swiftinc.co.jp/downloads/Athens111.299.en.msi Athens Editor is an XML editor for XML source editing and data entry. Offers syntax highlighting, IntelliList for auto-completion of XML tags, auto-insertion of end tags, smart indent, well-formedness checking while you type. WYSIWYG editing views can be created with XML+XSLT. Athens is an ActiveX Control and can be embedded in an application. Easy XML Version: 1.0 Developer: Tanytech Systems License: Shareware Platforms: Windows + IE 5.0 or 4.0 (Service Pack 1) Product URL: http://www.tanyitech.com XML editor that allows you to rapidly create, manipulate and transform XML structures from ODBC data sources (e.g Microsoft Access, Oracle, and MS SQL Server) or from URLs and local files. Offers a text view and a tree view. Lets you validate your XML, for which it uses the MSXML parser. Visual XML Writer Version: ? Developer: eInternet Studios License: 60-day shareware Platforms: Windows 95/98/NT 4.0 Product URL: http://www.visual-xml.com An XML/XSL editor for creating and managing XML, XSL Stylesheets, Document Type Definitions (DTD's), Schemas, and Active Server Page (ASP) scripts. Uses MSXML 3 and provides database integration with ADO. XMLwriter 5 Editor XML che supportano DOM Version: 2.0 preview Developer: Wattle Software License: Commercial; 30 day evaluation available. Platforms: Windows 95,98,NT 4.0, or 2000; IE 4.01 SP1 or higher. Product URL: http://xmlwriter.net/xmlwriter_index.shtml An XML editor with a text editing interface that features auto indent and syntax highlighting. Uses the IE5 parser, MSXML. Features include: • Validation of XML documents XMLwriter validates your XML documents against a DTD or XML Schema using Internet Explorer's validating engine (MSXML). XMLwriter also gives you the choice to configure third party parsers to give you as much flexibility as possible! You can validate individual documents, or all of the documents in a project at once using the batch validation command. Validation results can be viewed in the error pane.