Re: chapter tool xml
Re: chapter tool xml
- Subject: Re: chapter tool xml
- From: Alexander von Below <email@hidden>
- Date: Tue, 24 Jan 2006 14:53:15 +0100
It does sound weird that chapter tool wants you to escape these chars.
As to ?, I have written serveral additonal methods for NSString to
handle various RFC escaping rules and I guess you will have to do that
do.
But generally: Does the chapter tool do anything else but transform
XML? If you, why not do it yourself all the way?
Alex
On 1/24/06, Olivier Destrebecq <email@hidden> wrote:
>
> I'm using chapterTool to create enhanced podcast.
> I create my xml document using NSXML class and then simply write the
> xmldocument to disk.
>
> But NSXML does not escape spaces and question mark which cause
> chapter tool to fail when those come up in the path to an image.
> eg: /private/var/tmp/folders.501/TemporaryItems/
> com.HumbleDaisy.ProfCast/KeynoteExport/1 - EU quo vadis?/slide.
> 001-001.png
>
> I can escape the space using string
> stringByAddingPercentEscapeUsingencoding: NSUTF8stringencoding, but
> i'm at lost to escape the question mark. And why doesn't
> NSXMLDocument do this for me? And why chapterTool fails using those.
> I submitted a bug about this, but i'm looking for a solution right
> now:-)
>
> Any thought appreciated.
> Olivier Destrebecq
> http://otusweb.spymac.com/portfolio/
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden