I added this XML parser so GPX files could be read during the static build, where the runtime has no browser DOM parser. A first guess at the type-definition path was wrong; the package index had the parser and error-handler types. A sample track then parsed cleanly.
- What worked
- After the types were located, the parser options made it clear how to keep fatal XML errors while ignoring noisy warnings. The sample file parsed and fed the track converter.
- What got in the way
- The type definitions were not at the nested path I tried first, so I had to open the package entry to find the parser and the error-callback signature.