rest-driver/rest-driver — pull request #121 by ahjones (2012-08-10 21:09:07+00:00)
Title: Add string XML matching

Hey,

Here's my string XML matcher.

I'm not sure whether you'll be happy with it. The asXml method is a copy and paste from Server Driver. I didn't move it because that'd break clients; I couldn't make Shared depend on Server Driver. I'm only throwing RuntimeExceptions in asXml. I thought that you'd want me to alter the method and I could chose the most appropriate exception for where it ends up.

If you like the concept, let me know how'd you'd like the code tidied.

-A