Different output for number of processors using system_profiler
To me it simply looks like the xml output is using the number of cores as the number of processors. You can see that the number of cores property simply disappeared from the xml. It is a common conception on Linux systems to call a core a processor. I'll even go further by saying that the "packages" value is the number of processors, and number of processors the number of cores.