• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXML and >
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXML and >


  • Subject: Re: NSXML and >
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 9 Feb 2010 13:37:46 -0800


On Feb 9, 2010, at 1:03 PM, Keith Blount wrote:

Great, many thanks for the reply, and for the location of the information in the XML docs, that's very helpful. Unfortunately, it seems that the NSXML classes don't fix the '>' in the ']]>' case either, though:
NSXMLElement*element = [[[NSXMLElementalloc] initWithName:@"Test"stringValue:@"< & > ]]>"] autorelease];
NSLog (@"%@", element);

The ">" in "]]>" only needs to be escaped when it's inside a CDATA, I believe. (Since that string marks the end of a CDATA.)


—Jens_______________________________________________

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


  • Follow-Ups:
    • Re: NSXML and >
      • From: Keith Blount <email@hidden>
    • Re: NSXML and >
      • From: Keith Blount <email@hidden>
References: 
 >NSXML and &gt; (From: Keith Blount <email@hidden>)
 >Re: NSXML and &gt; (From: glenn andreas <email@hidden>)
 >Re: NSXML and > (From: Keith Blount <email@hidden>)

  • Prev by Date: Running NSURLConnection from within an NSOperation?
  • Next by Date: Cocoa+OpenGL app crashes iMac
  • Previous by thread: Re: NSXML and >
  • Next by thread: Re: NSXML and >
  • Index(es):
    • Date
    • Thread