improve resolving attr "extends" of element "toJava"

Currently, attr extends requires the format <toJava, extends="Foo,Bar"/> strictly, I guess it is better if putting a blank space after a comma is allowed.