Hi,

I have following message while trying to load validated gpx file into the trackfield module running on D6:

warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: XML declaration allowed only at the start of the document in Entity, line: 2 in /www/sites/6/site18246/public_html/sites/all/modules/trackfield/trackfield_gpx.module on line 18.
Field Trasa: Invalid gpx or no paths found in gpx.

The gpx file is attached to this issue.

I have validated it on the uTrack - online GPX track report generator http://utrack.crempa.net/ and it worked. But I cannot load it into trackfield. I have similar problems with all gpx files downloaded from my device.

any comments or help?

thx

Peter

CommentFileSizeAuthor
Petko track.txt1.46 KBpeter_ivancak

Comments

peter_ivancak’s picture

Hi again,

I have solved this problem using try and play technique. The problem was caused by the empty line at the beginning of the gpx file :-)

Peter.

raintonr’s picture

Status: Active » Closed (fixed)

Ahhh... blank lines to begin your XML == not good ;)

Closing this issue as not a bug.