- Patch #462310 by jpetso: generate valid XML and make sure the tests work when clean URLs can't be enabled.