Topic: StAX the odds with Woodstox.
I'm getting an exception thrown because of this line
xtw = (XMLStreamWriter2)xof.createXMLStreamWriter(new FileWriter(filename));
Exception occurred while writing java.lang.ClassCastException: com.sun.xml.internal.stream.XMLOutputFactoryImpl cannot be cast to org.codehaus.stax2.XMLStreamWriter2
is what the terminal is spitting back at me! Just wondering how to resolve this issue so I can continue to follow along.