i think its one pattern per element.
so, its looking for a pattern that wholly fits the first pattern or wholly fits the second, not a combination of both. but when you combine the two patterns into one in the second snippet, it is successful.
i'm not an xml expert, though, could be wrong.
__________________
This is what is hardest: to close the open hand because one loves.
Nietzsche
|