JXMLPad
Powerful JavaTM swing component for editing XML documents.


News

JXMLPad













JXMLPad 4.1

* News :

- Default encoding management
- Performance improvement
- Tooltip inside the tree shows namespace and attributes

* Bugs Fixed :

- File extension could be wrongly added for the saveAs action
- Attribute syntax color with multiple lines
- DTD system entities were ignored
- DTD parsing with the same entities name fixed
- DTD parsing fixed with choice operators
- DTD parsing for #FIXED ""
- Better threading management
- Default namespace was wrongly managed
- DocumentStateListener wasn't managed while saving
- Attribute reference incorrectly managed for the schema W3C assistant

JXMLPad 4.0

News :

- DTD parser manages SGML/DTD comments
- Content assistant rewritten
- Comment panel added inside the content assistant
- User can increase/decrease the content assistant size with "control" and "+" or "-" keys.
- Auto closing tag will check for already closing part
- Assistant for closing a tag

Bugs Fixed :

- Big entity name or value displayed correctly inside the content assistant
- Whitespaces for attribute value preserved

API Changes :

- The package com.japisoft.xmlpad.helper is renamed com.japisoft.xmlpad.helper.model
- Main package for helper assistant is com.japisoft.xmlpad.helper.handler
- The class SyntaxHelper is stored inside the com.japisoft.xmlpad.helper and is renamed SchemaHelperManager
- The classe Parser is renamed DTDParser (package com.japisoft.dtdparser)
- Deprecated methods addLocationListener,removeLocationListener, split,setSplit removed from the XMLContainer
- new static field DIALOG_ERROR inside the FormatAction for avoiding a dialog message for errors
- package com.japisoft.xmlpad.validator renamed com.japisoft.xmlpad.xml.validator
- All predefined colors ( tags, attributs, prefix ) located in the XMLDocumentInfo

 

JXMLPad 3.7 FC

 

News :

- Errors on the fly shown in the tree nodes
- Tooltip in the tree with the XPath location or the error
- The error panel can be customized
- Better performance for the node location
- Message displayed while formatting a wrong document
- The default element view is disabled for parsing errors
- Scrolling while drag'n drop a tree node
- The bookmark columns displayes each XML errors with a bound tooltip

Bugs Fixed :

- The 'no error status' could be notified several times
- Tree could be not synchronized following undo/redo operations
- Text selection from the tree was wrong
- Paste operation could add empty lines

API Changes :

- Refactoring for the errors management (new class ErrorManager)
- Method init is renamed initOnce inside the XMLContainer
- Removed method notifyDocumentStateError inside the XMLContainer (look at the ErrorManager)
- Updated method getNewXMLEditor from the ComponentFactory
- Added methods getErrorView/setErrorView inside the UIAccessibility
- Moved getElementView/setElementView inside the UIAccessibilty
- Removed errorFound/noErrorFound from the DocumentStateListener (look at the ErrorManager)
- Removed setPopableErrorMode from the XMLContainer (look at the ErrorManager)
- Renamed : RealTimeTreeManager is now TreeListeners

 

JXMLPad 3.6 FC

Download Now

News :

- Global performance improvement
- The first text characters are displayed in the tree
- The tree text node is selected on a full text selection
- The XPath on-the-fly includes text selection
- The redefine element is managed for W3C Schema content assistant

Bugs Fixed :

- Various problems on cardinalities with the content assistant for W3C schema fixed
- Tag delimiters were removed for a custor at the location 0
- 'All' connector for W3C Schema
- include element for W3C Schema fixed

API Changes :

- Refactoring for inner classes of XMLContainer
- SharedProperties contains a new property for setting the tree node size (only text part)

JXMLPad 3.5 FC


News :

- DTD coloration enhanced
- File overwritting query can be displayed when saving a file
- Content assistant for attribute values for DTD, W3C Schema, RelaxNG

Bugs Fixed :

- Coloration for the first item with inner DTD
- Exception when calling an action from a Dialog
- Disposing a Dialog could create a stackTrace
- SimpleContent with attributes extension managed for W3C Schema
- RelaxNG assistant

JXMLPad 3.4 FC


News :

- When dragging & dropping the source and the target node are displayed
- W3C Schema assistant rewritten
- 'include' managed for the W3C Schema content assistant
- Common assistant rewritten
- Content assistant ordered

Bugs fixed :

- Formatting a document with a W3C schema didn't work
- When copying a text from the tree a character was added
- 
 preserved when formatting
- DTD (a,b)|(c,d) management fixed

JXMLPad 3.3 FC


News :

- The full text view is enabled by default (SharedProperties.FULL_TEXT_VIEW)
- Better selection management for the default view
- Markers inside the Comment, declaration and CDATA view
- The default entity resolver can be overrided
- Better color support
- Property FormatAction.CANONICAL for preserving 
 entities.

Bugs fixed :

- DTD Element coloration

JXMLPad 3.2 FC


News :

- When loading a document with a wrong W3C XML schema location the error is shown
- When loading a document with a wrong DTD location the error is shown
- Property for switching to the full text view ( SharedProperty.FULL_TEXT_VIEW )
- Color accessibility for customizing any colors of an XML document
- Better memory management while parsing
- New property for choosing a background for a particular tag prefix

API Changes :

- Overridable factory used by the validator part for choosing a saxparser
- All install methods for the look has a new container argument
- For changing color inside a document getDocumentColorAccessibility

Bugs fixed :

- Custom attribute color
- schemaLocation was managed as noNamespaceSchemaLocation
- Wrapped mode exception ( SharedProperty.WRAPPED_LINE )

JXMLPad 3.1 FC


News :

- DTDMapper for working locally (content assistant and parsing) with a remote DTD
- Delegate for customizing the dialog box
- DTDMapper usage inside the sample/dtdmapper directory

JXMLPad 3.0 FC


News :

- New view for tags, comments, entities and declaration
- The content helper works for a local DTD
- Wrapping line mode (inside the ShareProperties class)
- Content assistant caching for multiple instances (inside the ShareProperties class)
- Content assistant available by ctrl+space, ctrl+shift+space, ctrl+alt+space

Major API changes :

- getEditor inside the XMLDocument become getCurrentEditor

Bug fixed :

- The error panel was again shown after resetting a new document
- Validating wasn't enabled for a local DTD
- Content assistant was enabled inside a CDATA or comment section

JXMLPad 2.6 FC


News :
       
- New powerful content assistant for DTD and RelaxNG ( working with cardinality, ordered and non ordered list )
- New validator API
- The error line is shown when validating by relaxNG
- Several locator supported for RelaxNG schema (stream, reader, url...)
- XPath support for selecting nodes ( XMLToolkit )

Major API changes :

- The XMLContainer doesn't inherit from the javax.swing.JPanel, the user must call the getView method for having
the final swing component
- The package com.japisoft.xmlpad.bean is replaced by com.japisoft.xmlpad.editor
- setHighlightedXPathlist from the XMLEditor is replaced by highlightNodes
- setHighlightedErrorLine from the XMLEditor is replaced by highlightErrorLine
- getLastDocumentLocation from the XMLContainer is replaced by getCurrentNode
- getLasteParseDocument from the XMLContainer is replaced by getRootNode

Bug fixed :

- '>' inserted after a tag (FC)
- Formatting error (FC)
- Default validator was wrong (RC2)
- Syntax coloration for DOCTYPE usage
- Default font problem for Mac OS X is fixed
- Default shortcut works with the command key for Mac OS X

JXMLPad 2.5 FC


News :

- 'SubstitutionGroup' and 'abstract' element are managed by the W3C Schema content assistant (FC)
- Tree action toolbar
- The tree renderer showes the first attribute value if available
- New bookmark API
- The group and the sequence are managed for the content assistant based on a W3C XML Schema
- Better selection speed
- Improved XML schema content assistant for managing sequence
- Horizontal split
- The user can shared a tree between several XML Container

User API changes :

- The ComponentFactory has static setter and getter for overriding the default behavior
- the package com.japisoft.xmlpad.editor has been renamed com.japisoft.xmlpad.nodeeditor

Bugs fixed :

- The initial tree divider location to 0 was ignored (FC)
- The current node could be wrong if the cursor was before the first "<"
- Empty attribute is managed

JXMLPad 2.4 Final Released

News :

- All parsing error messages are localized and available by default in english or in french
- All completion popups have a title depending the usage context
- While a completion popup, user can continue to enter or remove a text and the popup filters the available choices
- Mouse click is supported for a completion popup
- The XML Comment and Cdata section are always added to a completion popup based on a schema
- Performance improvement for xpath location
- Performance improvement for text/tree synchronization
- When an error is detected the tree scrolls automatically to the root node
- Clicking on tree/left bar error will display in the status bar the error message

User API changes :

- All action has now an ID that can be used with the ActionModel
- All deprecated methods for schema have been removed

Bugs fixed :

- Various DTD parsing errors (Final Released)
- Popup could be outside the width of the editor (Final Released)
- Formatting with tabulation could create unnecessary spaces (Final Released)
- No parsing error was not notified with the DocumentStateListener (Final Released)
- Disposing the XMLContainer could throw exception
- The tree displays the first error when loading a bad document
- Drag'n drop for tree nodes was available while the document was invalid
- Comment a node or a selected text containing at least one comment was possible
- Tree error notification was sometimes not refreshed
- Clicking on the tree while an error has been detected displays the error
- The element view was editable while the document was invalid
- A syntax error is shown when the main element is not closed
- While updating the document the xml location was lost
- Scrolling in the editor could create a bad tree repaint
- Completion popups could be available on a wrong node

2.3 Final released


News :

- Syntax helper is used by the element view part
- The element view part works with namespace declaration
- Initial location for split panes (tree and element view) is now customizabled
- "Line break" entity support
- English and French localized texts (for actions and dialogs)

API changes :

- Accessibility for Schema (getSchemaAccessibility) on the XMLContainer
- Accessibility for User interface element (getUIAccessibility) on the XMLContainer
- The autodispose mode is disabled by default, so after usage the 'dispose' method must be called on the
XMLContainer instance

Packaging changes :

- Two jars : One for the classes and one for the resources (localized texts and images)

Bugs fixed :

- Clicking on the tree part could create a bad synchronize event
- Escape key wasn't managed by dialogs
- Formatting action exception with the oracle parser
- Copy action was disabled when selecting all the text
- Tree was not well updated sometimes

2.2 Final Released


News :

- Global performance improvement
- User can now get an external tree
- JXMLAppKit look at : http://www.japisoft.com
- Better popup look

Bugs fixed :

- Element view editing
- Tree was not updated for the initial starting calling setText

2.2 RC2


News :

- Element view can be editable / non editable
- New look / themes at com.japisoft.xmlpad.look.themes (blue, red, green)
- Better UIManager support

Bugs fixed :

- Some synchronization for the element view error
- Editable state was not taken into account for the Element View

2.2 RC1


News :

- Fast editing view for tags
- Attribute completion on schema
- UIManager support for resetting global look
- Renderer API
- Accessibility API

Bugs fixed :

- Several DTD problems fixed for completion
- Divider location when starting
- Many parsing problems resolved

Note : We give up JDK 1.3 compatibiliy

2.1 RC1


News :

- JAXP support for parsing/formatting : User can now use any JAXP compliant parser
- Drag and drop for copying/moving nodes

Bugs fixed :

- Undo was disabled on a focus change
- Invalid schema is now reported for completion

2.0 RC6

News :

- Document with RelaxNG validating parsing
- Document using RelaxNG syntax completion
- Add IE Look
- Relative schema location for parsing
- Document using Schema syntax completion
- Template includes default dtd or default schema
- Auto-indentation reporting previous line indentation to the new one
- Real time tag delimiter
- Hide/Show the real-time tree
- Popup,TreePopup model for updating default content
- All action/dialog support internalization for label, tooltip...
- Better control over action popup adding (group definition)
- InsertFile, CommentNode, TreeVisibility, Previous, Next actions
- History for tree navigation
- Samples & Documentation improved

Bugs fixed :

- Syntax color for entities inside attribute (RC6)
- JDK 1.3 compatibility (RC6)
- Dialogs (search/comment...) for applet usage were not opened (RC5)
- Left tag delimiter background color (RC5)
- Unicode support for load/save action (RC5)
- Syntax Completion for applet usage (RC4)
- Tree update for multiple editors (RC3)
- One memory leak (RC3)
- Cut/Copy/Paste when splitting (RC2)
- Left Tag delimiter refresh (RC2/RC3)
- Bad DTD/Schema relative location was not notified
- Syntax completion was sometime in a bad document context
- Formatting didn't preserve namespace prefix
- NullPointerException was thrown without a document content by clicking on the left selector
- First tag location was never shown on a new document
- Real time location was not disabled outside the root tag scope
- Bad location refresh was visible when typing fastly a text
- DTD parsing was freezing on <!NOTATION> content
- EMPTY Element was not well managed on syntax completion
- Multiple same tag could be shown on syntax completion
- SaveAs action was not taking into account the current document location
- Syntax coloration for several lines on tag attribute
- Auto-closing tag was not working correctly with tag on several lines
- Undo/Redo takes into account the current editor for initial state
- ToolbarModel and PopupModel were null before a addNotify
- EditorNode action thown a NullpointException for container without a tree
- Format action added a space inside any comment
- Tag underline was not always refreshed when working without a tree
- Better coherence between tab/untab action and the FormatAction for indent size and char
- When calling the setVisibleToolBar( true ), it had no effect when previously call invisible
- Default DTD was not managed before the XMLContainer visibility

 

 

 

 

 

 

 

 

 

 

 

 


JavaLobby member comment


"It's MVC has LookAndFeel. Plus interface definitions for core components. Note XML editor correctly extends the closest default swing component JEditor Pane unlike JEdit. It uses Swing actions etc..XMLDocument extends PlainDocument. Excellent design its a better Swing component than the ones inside Swing itself... Compare this to some of the other widgets mentioned earlier the difference is night and day. It's not often that I see widgets that meet my standards...".

Copyright © 2004-2008 JAPISoft - All rights reserved
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.