realbasic-nug
[Top] [All Lists]

Info.plist file error?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Info.plist file error?
From: "Greg O'Lone" <rbnuglist@stretchedout.com>
Date: Mon, 29 Sep 2008 16:35:47 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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>


<Prev in Thread] Current Thread [Next in Thread>