Skip to content

Commit 42ac7ef

Browse files
hansonrhansonr
authored andcommitted
XMLInputFactory broken; not directing to JSXMLInputFactory.
1 parent 8858c18 commit 42ac7ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sources/net.sf.j2s.java.core/src/javax/xml/stream/XMLInputFactory.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ protected XMLInputFactory(){}
150150
public static XMLInputFactory newInstance()
151151
throws FactoryConfigurationError
152152
{
153-
return (XMLInputFactory) FactoryFinder.find(
154-
"javax.xml.stream.XMLInputFactory",
155-
DEFAULIMPL);
153+
return new swingjs.xml.JSXMLInputFactory();
154+
// return (XMLInputFactory) FactoryFinder.find(
155+
// "javax.xml.stream.XMLInputFactory",
156+
// DEFAULIMPL);
156157
}
157158

158159
/**

0 commit comments

Comments
 (0)