• 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: ARC question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC question


  • Subject: Re: ARC question
  • From: Vincent Habchi <email@hidden>
  • Date: Mon, 29 Oct 2012 15:55:23 +0100

Le 29 oct. 2012 à 15:30, glenn andreas <email@hidden> a écrit :

> Given that there are also decimal (&#DD;) and hexadecimal escape sequences (&#xHHHH;) in HTML, trying to support those through the use of a dictionary of sequence -> replacement is going to be impractical.

Hopefully, I have only to address a tiny subset of these.

> Scanning through the string to find & and test for valid escape sequences (including both the 250 or so named entities plus those numeric escape sequences) is the right way to go, since the time spent on the string is dependent on the number of escape sequences in the string, not the number of possible escape sequences.

That’s blatant. I wonder why Apple never added a method in Cocoa to perform this task. Is there anything close in WebKit?

V.
_______________________________________________

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: ARC question
      • From: Vincent Habchi <email@hidden>
References: 
 >ARC question (From: Vincent Habchi <email@hidden>)
 >Re: ARC question (From: Mike Abdullah <email@hidden>)
 >Re: ARC question (From: Vincent Habchi <email@hidden>)
 >Re: ARC question (From: Mike Abdullah <email@hidden>)
 >Re: ARC question (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: how to clip inside a path
  • Next by Date: Re: ARC question
  • Previous by thread: Re: ARC question
  • Next by thread: Re: ARC question
  • Index(es):
    • Date
    • Thread