Symptoms

When trying to build a package an error is returned:

XML structure is broken. The entity name must immediately follow the '&' in the entity reference.

Cause

'&' is a predefined entity in XML and should be properly escaped.

Resolution

'&' (ampersand) should be substituted with '&', read more on XML syntax.

Internal content