I get an error ' The entity name must immediately follow the '&' in the entity reference' when trying to build a package.
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
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.