It turns out that my problem was just an issue with scoping, and was probably made more complex-looking because of the use of refs and groups within the XSD I was given. To fix the issue raised here, I had to get the <unique> and <keyref> nodes at the same… Read more »
I’ve been working with Groovy in my current contract. I’d been hearing about it for a few years, ever since some JavaOne fireside chat mentioned it as an example of the future flexibility of the JVM, but I hadn’t done anything with it. Over the past few months I’ve come… Read more »
I mentioned that sometimes using mocks created via Map coercion in Groovy didn’t always work as expected. Here’s a concrete example. Here’s an exception handling code block that I’m trying to test, removing everything except the relevant bits: public void performActivity() throws ActivityException { try { // create a… Read more »