> I did some more testing and it seems > that as soon as you use FileDataSource > it overrides any other dataSource. > > <dataConfig> > <dataSource type="HttpDataSource" name="url" > encoding="UTF-8" > connectionTimeout="30000" readTimeout="30000"/> > <dataSource type="FileDataSource" encoding="UTF-8" > /> > <document> > > <entity name="xmlroot" datasource="url" > rootEntity="false" > url="http://www.server.com/rss.xml" > processor="XPathEntityProcessor" > forEach="/rss/channel/item" > > <field column="link" > xpath="/rss/channel/item/link"/> > </entity> > > </document> > </dataConfig> > > will not work, unless you remove FileDataSource. Anyone > know a way to fix > this (except removing FileDataSource) ?
Did you try to give a name to FileDataSource? e.g. <dataSource type="FileDataSource" encoding="UTF-8" name="fileData"/>