[
https://jira.jboss.org/jira/browse/JBIDE-2988?page=com.atlassian.jira.plu...
]
John Graham reopened JBIDE-2988:
--------------------------------
When any file that cannot be understood by the Smooks editor is opened, the editor should
just display the error page.
Currently there are valid Smooks configuration files that end up showing the type
selection dialog (see attached for example)
Handling unsupported/incomplete/incorrect Smooks configuration files
--------------------------------------------------------------------
Key: JBIDE-2988
URL:
https://jira.jboss.org/jira/browse/JBIDE-2988
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Reporter: John Graham
Assignee: Xue Peng
Priority: Critical
Fix For: 3.0.0.beta1
Attachments: java2xml_error.png, Screenshot-1.png, xml2xml.png
When the Smooks editor can not read a smooks configuration file for whatever reason
(whether it is not a correct file, incomplete, or contains configuration elements not
supported by the editor), the editor should:
a. Pop up a dialog saying that the file could not be processed. If the load exception
gives any indication/message that might be useful, include that in the dialog too.
b. Open a text editor with the file contents.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira