On the Web-Site http://maven.apache.org/pom.html#Profiles there are examples which use
But this will produce an error with Maven 2.1.0 ....It is needed to change this into <projectXmls ...>.
Misleading documentation on the schema of profiles.xml
The page your refer to is titled "POM Reference", i.e. is about profiles in the POM. As such, the examples given on this page are correct.
What would be needed is a document "Profiles Reference" or similar, that addresses the profiles.xml itself.
It is needed to change this into <projectXmls ...>.
As per the XSD, <profilesXml> would work better