I've written a little app (and an IDE Script) to add the
NSApplescriptEnabled flag to the Info.plist file of an app when I want
an app to be compiled scriptable and I'm seeing a little problem with
the Info.plist file that is generated by 2008r4.
The DOCTYPE that RB is creating looks like this:
<!DOCTYPE plist SYSTEM
"file://localhost/System/Library/DTDs/PropertyList.dtd">
WITH the carriage return in the middle. Shouldn't be a problem except
that for some reason, I don't have access to that file.
The DOCTYPE that Property List Editor writes (if I open and save the
Info.plist file) looks like this:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
Which, of course works because it is a public website.
When I try to open the Info.plist file that was created by RB, I get
an error about not being able to open the DTD, but using Apple's it
works just fine. Any way I can tell the XML parser to use a specific
DTD instead of the one specified in the file?
Also, if I write a little routine to correct this, is saveXML supposed
to leave out the DTD?
Greg O'Lone
Stretched Out Software
--------------------------
Excellence Through Innovation
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|