improved apidoc property detection

do not allow empty property name
fixes #3297