When a cml is generated and that contains a reactions you can use the convertor class with the method cdkReactionSchemeToCMLReactionSchemeAndMoleculeList. The cml file with the reaction list should only set a reference molecule to the molecules listed in the LISTMOLECULES scheme and not showed in the reaction list.
Miguel, can you please attach the patch(es) to this tracker entry?
Miguel,
the patch is sort of fine, but I'll reject it in the current form as it
uses isRef, which must not be a global variable, because that breaks
compatibility with multithreading... we need to fix that first...
Refactored the patch to not have a global variable, fixing the threading issue. Applied to master.