Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
'& ' should be escaped: replacing '& ' with '& ' fixes the error.
The following generated xml triggers an xml Exception when the package is installed in AEM:
Error in AEM:
'& ' should be escaped: replacing '& ' with '& ' fixes the error.
Using following page metadata config: