On 8 Jan 2008, at 22:40, Torgeir Veimo wrote:


On 8 Jan 2008, at 22:16, Emmanuel Lecharny wrote:

I have modified the parser to accept empty DESC.


Independent of the parser accepting empty DESC or not, shouldn't errors on input files end up in the interface rather than in the log file, leaving the user high and dry about what's happening?


At least it would be nice to have a line number where the problem occur;

!ENTRY org.apache.directory.studio.schemaeditor 4 0 2008-01-08 18:57:37.899
!MESSAGE An error occured when importing the schema epd-export.schema.
!STACK 0
org .apache .directory .studio.schemaeditor.model.io.OpenLdapSchemaFileImportException: The file '/Users/torgeir/Desktop/epd-export.schema' can not be read correctly. at org .apache .directory .studio .schemaeditor.model.io.OpenLdapSchemaFileImporter.getSchema(Unknown Source) at org .apache .directory .studio.schemaeditor.view.wizards.ImportSchemasFromOpenLdapWizard $1.run(Unknown Source) at org.eclipse.jface.operation.ModalContext $ModalContextThread.run(ModalContext.java:113)


--
Torgeir Veimo
[EMAIL PROTECTED]



Reply via email to