Tidying NSURLs Containing XML
Tidying NSURLs Containing XML
- Subject: Tidying NSURLs Containing XML
- From: Mike <email@hidden>
- Date: Mon, 11 Aug 2008 19:21:17 -0700
Is there a way to scan an entire XML doucment and NSURL to make sure it
contains only valid characters?
I am thinking of the case of web services apps where large chunks of XML
data get appended to the end of the URL before it is sent to the server.
Spaces for example don't conform to RFC 1808 and so the NSURL create
functions fail if one tries to create a URL with XML containing spaces
at the end.
It would be nice to have a way to scan a long URL like that and
alert/replace when any illegal characters are found in it.
Thanks,
Mike
_______________________________________________
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