Skip to content

Commit 19353dd

Browse files
committed
Merge pull request #194 from timrs2998/patch-4
Fix example in readme
2 parents fd64513 + 1d396ff commit 19353dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Similarly it is possible to read content, sub-tree by sub-tree; assuming similar
170170
we would use
171171

172172
```java
173-
XMLOutputFactory f = XMLOutputFactory.newFactory();
173+
XMLInputFactory f = XMLInputFactory.newFactory();
174174
File inputFile = ...;
175175
XMLStreamReader sr = f.createXMLStreamReader(new FileInputStream(inputFile));
176176

0 commit comments

Comments
 (0)