I am in the process of developing a java based reader/writer for a custom data format. That data format is a single file containing records of different data types. I have implemented the readSchema() method in the reader and the information is also retrieved by FME when the reader is added. However, only one feature type (the last type reported by readSchema()) is added to the list of feature types and the workspace. When the feature types are extracted by adding a new writer with the option "Extract from dataset...", all feature types are successfully extracted and added to the workspace.
Is there anything special that is needed in either the code or the metafile to enable that functionality for the reader? I can see from the spatialite reader, that it is possible after all but currently i have no idea what controls that behavior.