Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor does not understand newer additions, erasing them on save #1

Open
tempelmann opened this issue May 7, 2016 · 1 comment
Open

Comments

@tempelmann
Copy link

tempelmann commented May 7, 2016

Sdef editor has trouble with some sdef files that use newer xml elements (see man 5 sdef).

Worse, though, is that even if one edits a part of the sdef structure that's not using the unknown items, it will still erase them when saving the sdef file.

It would be nice if the editor would only modify the xml structure where it's being edited, without trying to reconstruct everything, thereby losing data it couldn't parse when loading it.

Even better it would be if it would handle all the new items.

(Update) I was under the impression that sdef had several iterations, adding more features later. It seems now that I was wrong. The last edits to the sdef format seem to be older than what the editor is based on.

So I guess I better list specific issues here. Once I run into a case where Sdef Editor reports issues opening an sdef file, I'll add it here.

@tempelmann
Copy link
Author

tempelmann commented May 16, 2016

Here's a few files that the editor cannot open:

  • /System/Library/ScriptingDefinitions/CocoaStandard.sdef - does not like <access-group identifier="*"/>
  • /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/Resources/StandardAdditions.sdef - does not like multiple types: <type list="yes"><type type="text"/><type type="number"/></type>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant