From: Stefan B. <bo...@ap...> - 2007-01-16 05:20:11
|
Hi all, after looking through James' patch for XML Schema validation I realized that he was doing a few things differently from my namespace patch for XPath. Namely he was adding a property to the XMLUnit class while I overloaded tons of assertion methods in both XMLAssert and XMLTestCase. James' approach is far more in line with the XMLUnit 1.0 codebase than mine. I can't say that I like all the statics in XMLUnit too much but I figured that a consistent API (or "conceptual integrity" if you want to call it that) is more important than my personal preferences here. Accordingly I've removed all the overloads and introduced a static xpathNamespaceContext property (with getters and setters) to XMLUnit. Stefan -- http://stefan.samaflost.de/ |