Hi all, In the file processing sample (sample 271) , it is needed to configure the smooks config file for CSV parsing, which is not available in the documentation. Otherwise it gives an error saying config-key smooks is not found.
The process I followed is [1] create the smooks.xml which is given in the attachment in the documentation in local-entry folder [2] create the smooks-config.xml file with the content attached here with for csv parsing in the location mentioned in the smooks.xml in [1] [3] copy the smooks libraries as mentioned in the documentation Is there any other way to solve this, that is already mentioned int he documentation which i have missed? regards -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd"> <resource-config selector="org.xml.sax.driver"> <resource>org.milyn.csv.CSVParser</resource> <param name="fields" type="string-list">name,surname,phone</param> </resource-config> </smooks-resource-list>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
