forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <>
Subject [jira] Created: (FOR-943) Create customisable readers
Date Sat, 18 Nov 2006 01:07:36 GMT
Create customisable readers

                 Key: FOR-943
             Project: Forrest
          Issue Type: Improvement
          Components: Forrest2
            Reporter: Ross Gardler

The Affiliate Product Catalogue example of Forrest 2 creates a reader for files of XML format
that do not have a provided schema with which to identify further processing steps.

This class should become a Spring Bean that allows customisation of the generated document
type and the psuedo protocol used to select it, e.g.
<bean id="fooProtocol"

  <property name="docType"
	            value="" />


This reader should then delegate to a second reader to actually retrieve the document. So
we can have locationmap entries such as:

<location pattern="classpath/foo.*">
    <source href="fooProtocol:classpath:/xdocs/exampleFeed.xml"/>

<location pattern="file/foo.*">
    <source href="fooProtocol:file:/xdocs/exampleFeed.xml"/>

<location pattern="http/foo.*">
    <source href="fooProtocol:http:/xdocs/exampleFeed.xml"/>


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message