Not an expert but I think it is legal. One can still claim the c
One can still claim the college kid as a dependent even she or he has income. However, count the kid's income separately from the mother's. They may want to file a separate return for the daughter. This is just my understanding. You can google this topic too.