That the RC categorizes attacks as melee, ranged, and touch attacks. Specifically, the RC does not treat ranged touch attacks as a subset of ranged attacks but of touch attacks.
Let's see. . .
RC logic path
pg 8 Table of action.
Attack (Ranged) - Generates an AoO - Page 16 (for additional details)
Pg 16 Ranged Attacks "With a
ranged weapon, you can shoot or throw at any target that is within the weapon's maximum range. . ."
Pg 132 Weaponlike spells
"Any spell that requires an attack roll is weaponlike. . . .For the purposes of taking combat-enhancing feats, weaponlike spells fall into two categories - tanged spells and touch spells. Ranged spells include those that require ranged touch attack rolls, such as rays and hurled missiles. This category also includes spells that generate effects that act as ranged weapons and require tanged attack rolls. Touch spells include any damage-dealing spells that have arange of touch."
Pg 134
Ray "You aim a ray is if using a ranged weapon, though typically you make a ranged touch attack rather than a normal ranged attack.. . ."
So basically the RC says that a ray (which is essentially the type of spell we are talking about here) is:
Weaponlike because it requires an attack roll (pg 16)
Is treated as if using a ranged weapon (pg 134)
Making an attack with a ranged weapon is a ranged attack (pg 16)
And generates an AoO because it is an Attack (Ranged) (pg 8)
These are specific rules in regards to a spell (a ray particularly). Specific rules trump general ones.