You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by shaoguang geng <ge...@yahoo.com> on 2007/08/22 09:00:24 UTC

Reason changed instantiation of javax.xml.stream.XMLInputFactory

Hello every body,
2 days ago, I inquired why inside class
ReallySmallRuntimeBuilder
method createContributionService(...), instantiation of javax.xml.stream.XMLInputFactory has been changed form 
XMLInputFactory xmlFactory = XMLInputFactory.newInstance();
to
XMLInputFactory xmlFactory = registry.getExtensionPoint(XMLInputFactory.class);
Today found this is because of the wstx-asl-3.2.1.jar inside classpath, this jar is not neessary for compile, but it has /META-INF/service/javax.xml.stream.* files which are used for the current coding style.

I wish this could be of a little value for Tuscany debuggers.

Good day.

       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.