URL encoding in XML node values causes trouble
URL encoding in XML node values causes trouble
- Subject: URL encoding in XML node values causes trouble
- From: "Bruce Sharpe" <email@hidden>
- Date: Mon, 18 Aug 2008 12:16:39 -0700
I am running into a conflict between URL encoding and XML node values.
I retrieve my project as XML. It has nodes like this:
<pathurl>file://localhost/Broken Fists/clip1</pathurl>
where the space in "Broken Fists" is URL encoded as .
If I try to represent that node as a string via stringValue or XMLString it comes out as
<pathurl>file://localhost/Broken 0.000000ists/clip1</pathurl>
apparently because it interpreted F as a C string format code.
This is messing me up because NSLog and other functions report errors like
[NSMethodSignature appendCharacters:length:]: unrecognized selector sent to instance 0x16b416b0
Am I doing something wrong, or is there a workaround?
Bruce
_______________________________________________
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