Re: Final Cut Pro doesn't accept XML with some characters
Re: Final Cut Pro doesn't accept XML with some characters
- Subject: Re: Final Cut Pro doesn't accept XML with some characters
- From: Andreas Kiel <email@hidden>
- Date: Tue, 13 Apr 2010 15:33:21 +0200
Maybe you have to quote some characters upfront. Also the timebase
looks a bit strange, which probably will cause an error.
Andreas
On 13.04.2010, at 14:19, Mustafa Tuğrul Özşahin wrote:
Hi list,
I try to send some clips to FCP as XML with apple events. When i
send an XML containing some characters like 'ç' 'ğ' or 'ö'
programmatically, FCP doesn't import anything. When i save the same
XML as a file and import it to FCP via fcp menu, it imports
successfully.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmeml>
<xmeml version="4"><clip id="1000140"><name>Çatal Ördek</
name><duration>120000</duration><rate><timebase>1200</timebase></
rate><file id="Çatal Ördek"><name>Çatal Ördek</
name><pathurl>file://localhost/folder/ordek.mov</
pathurl><duration>120000</duration><rate><timebase>1200</timebase></
rate></file></clip></xmeml>
i use FCP 6.0 and apple's FCP apple events example app's
apple_event class to send the NSString to FCP as XML.
Any idea why ?
thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40spherico.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden