Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6883435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:22:59+00:00 2026-05-27T05:22:59+00:00

I am working with GPX files and I am parsing them with Java. I

  • 0

I am working with GPX files and I am parsing them with Java. I am using javax.xml.validation.Validator to make sure they conform to the GPX schema. The thing is, one of my files ends with:

<TopoFusion:color>ff0000</TopoFusion:color>
<TopoFusion:graph>0</TopoFusion:graph>
</gpx>

and this TopoFusion element is apparently not defined in the GPX schema, causing the validation to fail. However, the file is valid if I am to ignore this element. Any idea how I can overcome this problem ? I want to make it generic though, not simply ignore TopoFusion element as it can be anything there.

Hope my question is clear. Any help will be much appreciated.

Regards,

Petar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:22:59+00:00Added an answer on May 27, 2026 at 5:22 am

    After investigating the GPX schema more thoroughly, I found that these two elements at the end of the .gpx files are allowed to exist from the GPX schema. So, the problem is that I had a problem in my validation method, which is now fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

after processing my first steps in working with XML in java I am now
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
I would like to continue the discussion from this post: GPX Schema validation problems
working with: ASP.net using VB.net connecting to MS SQL Server What I'm trying to
I'm working to implement MapView for the given gpx file to show way points
I am working in a project where people upload GPX and I am trying
Working with some basic java apps on CentOS 5 linux and I have my
Working on a new way of using an already existing searchengine in an application.
Working on a mobile application using jquery mobile and phonegap framework. My question is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.