2 Replies Latest reply on Oct 25, 2016 4:07 PM by nathans54396327

    Why do commented comments kick a 'malformed config.xml' error on Phonegap Build?

    nathans54396327

      Paste this line into your config.xml document to see the error:

      ---------------

      <!-- <gap:plugin name="cordova-sqlite-storage" source="npm" /> <!-- some comment -->

      ---------------

       

      Now remove the middle <!-- (right before "some"), and the error magically goes away.

       

      Is that honestly invalid xml? I was under the impression that <!-- and --> commented out everything between them.