8

I'm creating a Metadata Schema and when I try to add a new field with a Embedded Schema I get the next error: "The complexType 'uuid:7a55541b-9084-4b21-9351-06b3d1c0b4f2:Content' has already been declared."

The Embedded Schema is the following: enter image description here

And I'm trying to add it in:

enter image description here

Con someone help me? Thank you,

11

This is happening because you have 2 embedded schemas in the same schema, and did not change the Root Element name for either.

More detail on this is available on this answer.

The short story is that you can fix this by changing the Root Element Name of your embeddable schemas to something else than "Content". You may have to change the schema type to Content first before changing the Root Element name, then change it back to Embeddable Schema.

  • 1
    I think the same thing happens with any two embeddable schemas in the same content schema which happen to have the same root element name. It doesn't have to be 'Content'. – Quirijn Jan 2 '14 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.