Hi,
I'm always getting Validation Errors on my Language Grammar, with the old style plist bundles validation command:
This is what it returns, and it's always the same:
2006-06-24 08:25:56.870 plutil[2499] CFLog (0): CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary. 2006-06-24 08:25:56.940 plutil[2499] CFLog (0): CFPropertyListCreateFromXMLData(): The file name for this data might be (or it might not): /tmp/TextMate_plist.L7pqfe XML parser error: Unexpected character { at line 1 Old-style plist parser error: Expected terminating ')' for array at line 191.
The basic error, that is of interest here, missing semicolon in dictionary, is untrue. The bundle Editor will happily swallow the syntax after pushing the test button, and reformat the code. I've since then stopped using this command, since I had the Bundle Editor anyway. But I've seen that it does that only on very complex Language Grammars.
Possibly a Bug of the plistBundle ?
regards, marios
On 24/6/2006, at 7:36, marios wrote:
I'm always getting Validation Errors on my Language Grammar, with the old style plist bundles validation command:
From http://macromates.com/textmate/manual/ appendix#property_list_format
[...] Notice that the escape rules for strings have been changed slightly compared to Apple's official format. This was done to make the language grammars more readable, since these need a lot of literal escape characters.
So the format in the bundle editor is not compatible with Appleās property list tools.