<?xml version='1.0' encoding='UTF-8'?>
<hopsanobjectappearance version="0.3">
    <modelobject sourcecode="MechanicTranslationalLosslessConnector.hpp" typename="MechanicTranslationalLosslessConnector" displayname="Translational Lossless Connector">
        <icons>
            <icon scale="1" path="losslessconnector_user.svg" iconrotation="ON" type="user"/>
            <icon scale="1" path="losslessconnector_iso.svg" iconrotation="ON" type="iso"/>
        </icons>
        <help>
            <md>MechanicTranslationalLosslessConnector.md</md>
        <ports>
            <port x="0" y="0.5" a="0" name="P1"/>
            <port x="1" y="0.5" a="0" name="P2"/>
        </ports>
    </modelobject>
</hopsanobjectappearance>

<?xml version='1.0' encoding='UTF-8'?>
<hopsanobjectappearance version="0.3">
    <modelobject sourcecode="MechanicTranslationalLosslessConnector.hpp" typename="MechanicTranslationalLosslessConnector" displayname="Translational Lossless Connector">
        <icons>
            <icon scale="1" path="losslessconnector_user.svg" iconrotation="ON" type="user"/>
            <icon scale="1" path="losslessconnector_iso.svg" iconrotation="ON" type="iso"/>
        </icons>
        <help>
            <md>MechanicTranslationalLosslessConnector.md</md>
		</help>
        <ports>
            <port x="0" y="0.5" a="0" name="P1"/>
            <port x="1" y="0.5" a="0" name="P2"/>
        </ports>
    </modelobject>
</hopsanobjectappearance>

Add missing closing tag in component XML
Add missing closing tag in component XML
