added handling for attribute & elementFormDefault