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
| Comment | File | Size | Author |
|---|---|---|---|
| Petko track.txt | 1.46 KB | peter_ivancak |
Comments
Comment #1
peter_ivancak commentedHi 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.
Comment #2
raintonr commentedAhhh... blank lines to begin your XML == not good ;)
Closing this issue as not a bug.