You just have to change the order of your elements. Just move the query-param between pattern and view-id. The XSD schema is very strict about the element ordering. Actually PrettyFaces doesn’t care about the ordering when reading the XML file. So it’s just your IDEA that complains!
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.