Tag Archives: xml

Comparing XML with XMLUnit and Character Encoding

By | September 18, 2013

Reading Time: 6 minutes XMLUnit is an excellent library for comparing XML when you want to go beyond mere string comparison and, for instance, disregard whitespace or other aspects of the XML fragments that are compared. In my current area of interest, systems integration, the fact that two XML fragments convey the same information is not always enough. In… Read More »

JAXP Debug Log

By | July 16, 2013

Reading Time: 2 minutes Today I stumbled upon a Java system property that, when set to one, cause JAXP to output information about which factory implementations is used to instantiate different kinds of factories and where the information is found that these decisions are based upon. The system property is set like this: In Eclipse, you add the above… Read More »