Previously the Waypoint creation in gpxParse did not pass the XML-extracted parameter for cmt, so any comment in the waypoint XML was not associated with the new GpxWaypoint.
gpx-parse.js > L31:
var point = new GpxWaypoint(wayPoint.$.lat, wayPoint.$.lon, getFloat(wayPoint.ele), wayPoint.time, null, null, getString(wayPoint.name), null, getString(wayPoint.desc));
function GpxWaypoint(lat, lon, elevation, time, magvar, geoidheight, name, cmt, desc, src, links, sym, type) {
There are also a few schema elements in the GPX 1.1 Waypoint schema not yet supported or implemented by the parser: magvar, geoidheight, cmt, src, links, sym, type, fix, hdop, vdop, pdop, ageofdgpsdata, dgpsid.
cmt
, so anygpxWaypoint > L19:
magvar, geoidheight, cmt, src, links, sym, type, fix, hdop, vdop, pdop, ageofdgpsdata, dgpsid
.