Hi,
I'm reopening the issue in the below post, as it seems that there may be a bug involved:
Â
It seems that when I use an input tag like this: INPUT_TAGS: INPUT1 INPUT2
and a template with: $(INPUT_LINES) for both (it works, generating two factory input tags),
FME translates this into a Python factory definition with these input tags:
INPUT INPUT1 FEATURE_TYPE AttributeCreator_OUTPUT
Â
INPUT INPUT2 FEATURE_TYPE AttributeCreator_2_OUTPUTThe problem as I see it, is that this syntax is illegal, hence a bug.
The factory documentation states that it must look like:
Syntax
Â
Â
FACTORY_DEF <ReaderKeyword> PythonFactoryÂ
/FACTORY_NAME <factory name>]Â
 <attribute name> <attribute value>]*Â
Â<feature function>]*]*Â
SYMBOL_NAME <python symbol name>Â
pSOURCE_CODE <source code>]Â
Â
;<attribute name> <attribute value>]*Â
;<feature function>]*]*I.e.. nothing between "INPUT" and "FEATURE_TYPE", which explains the error messages I'm getting:
The input tag 'INPUT1' in 'FACTORY_DEF .....' is not a valid input tag for this factory
Is the documentation in error, or is there a bug in the automatic translation. Please advise.
Thanks.
Â
Lars I.