Another difference between the two is the length of sprints. XP sprints usually only last one week. After the end of the week, the programmers will provide to the customer a working system that is bug free. XP doesn’t worry about product release. These teams are more worried about delivering a working system.
In Sscrum, sprints are generally two- to four-weeks long. And, in Scrum, the end goal is to deliver a working product. So, Scrum is worried about that product release date. Another difference between Scrum and XP as far as the sprints go is flexibility. Scrum teams are not allowed to make changes during a sprint while XP teams will change their sprints. If something is needed to be done more than another feature, as long as that other feature has not been worked on, it can be switched with something else.
XP prioritizes things by customer. It’s the first come, first served motto. Scrum’s workload is determined by the Scrum product owner. He/she prioritizes the product backlog based on what’s the higher priority, then they move onto what’s the next highest priority on down.