Stop extra function generation, see #12581
Merge pull request #1360 from qidane/xsd-fu-12581

Stop extra function generation, fix #12581