Missing attributes in a schema definition

Avatar

Avatar
Validate 1
Employee
Linda_Stinson
Employee

Likes

51 likes

Total Posts

250 posts

Correct reply

77 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 20
Ignite 10
View profile

Avatar
Validate 1
Employee
Linda_Stinson
Employee

Likes

51 likes

Total Posts

250 posts

Correct reply

77 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 20
Ignite 10
View profile
Linda_Stinson
Employee

16-01-2015

Symptom

You have added attributes to a srcSchema in the XML editor, but no attributes appear in the Structure tab and there are no database updates to apply.

Cause

Attributes were defined outside of the root element in the schema.

Fix

Make sure that the root element doesn't have a self-closing tag, e.g. <element/> and that the attribute definitions are located between the open and close tags, e.g. <element> ... </element>.

Preventative

When creating a new schema, before adding any attributes you must change the self-closing root element tag to an open and close tag.