Re: Scripting Bridge Questions
Re: Scripting Bridge Questions
- Subject: Re: Scripting Bridge Questions
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 25 Jun 2015 18:14:25 +0200
> Le 25 juin 2015 à 15:57, Dave <email@hidden> a écrit :
>
>
>> On 25 Jun 2015, at 14:48, Bill Cheeseman <email@hidden> wrote:
>>
>>
>>> On Jun 25, 2015, at 9:13 AM, Dave <email@hidden> wrote:
>>>
>>> I get this error:
>>>
>>> sdp: enumerator of enumeration "e183": missing required "name" attribute.
>>
>>
>> Can you generate the sdef file separately, then manually edit it to supply the "missing required 'name' attribute," and then run sdp on the edited sdef file? You will presumably have to give more than a little thought to what the missing name attribute should be, but maybe you'll hit pay dirt.
>
> I’m looking into doing that now, but I can’t seem to find an editor that will open it, at the moment it’s ONE giant line of text, I renamed it to .xml and tried to open in XCode - same.
>
You can pretty format it using xmllint command line tool.
xmllint --pretty 1 yourfile.xml > your_formatted_file.xml
> Cheers
> Dave
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden