Android xmlpullparserfactory setvalidating

I've seen alot of examples of parsers on this site and others but they all use objects like A gpx file has zero,one or more tracks, routes or waypoints so it makes sense that gpx parsers have those type of objects.try catch (Xml Pull Parser Exception e) parser Validating(false); parser Namespace Aware(true); this.nifty = nifty; Provider = time Provider; } /** * Load a Nifty-GUI XML file and get the type that is defined in the file.Xml Pull Parser Exception: could not load any factory class (even small or full default implementation); nested exception is: org.kxml2 Xml Pull Parser Instance(Xml Pull Parser Factory.java:225) at org.xmlpull.v1.I have a number of gpx files that my app creates and will need to parse at a later stage in the app.Due to reliance on the content model this setting requires the parser to be in validating mode.By default the value of this is set to is non-null, a parser will use a validator created from it to validate documents before it passes information down to the application.

String name = Name(); if("province".equals(name)) { //???????If no name of parser factory was passed (or is null) it will try to find name by searching in CLASSPATH for META-INF/services/org.xmlpull.v1.Xml Pull Parser Factory resource that should contain a comma separated list of class names of factories or parsers to try (in order from left to the right). I have 4 values I am trying to put into a hashmap from an xml file.I can parse the xml no problem, but would like to get the data to put points on a map via lat/lon.

Android xmlpullparserfactory setvalidating