title: why i am getting a fatal error when parsing xml file?
body: <p>I am parsing an XML file to java, there is a wrong starting tag in the file. When I run the Code it shows the following error:
  [Fatal Error] malformed_routes5.xml:9:26: The element type "WrongTag" must be terminated by the matching end-tag "".</p>
  
  <pre><code>    &lt;Route&gt;
      &lt;FlightNumber&gt;1848&lt;/FlightNumber&gt;
      &lt;DayOfWeek&gt;Tue&lt;/DayOfWeek&gt;
      &lt;DepartureTime&gt;13:40&lt;/DepartureTime&gt;
      &lt;DepartureAirport&gt;Belfast&lt;/DepartureAirport&gt;
      &lt;DepartureAirportCode&gt;BFS&lt;/DepartureAirportCode&gt;
      &lt;WrongTag&gt;18:05&lt;/ArrivalTime&gt;
      &lt;ArrivalAirport&gt;Tenerife-Sur&lt;/ArrivalAirport&gt;
      &lt;ArrivalAirportCode&gt;TFS&lt;/ArrivalAirportCode&gt;
      &lt;Duration&gt;PT4H25M&lt;/Duration&gt;
  &lt;/Route&gt;
  </code></pre>
  
  <p>this is the file which contains the wrong tag, do i need to add a specific exception in the catch for this kind of error?</p>
  
  <pre><code>        catch (ParserConfigurationException | SAXException | IOException | IllegalArgumentException ioe) {
  
  
          throw new DataLoadingException(ioe);
          //** check the fatal error " The element type "WrongTag" must be terminated by the matching end-tag "&lt;/WrongTag&gt;". "
          // ************************************************
  
      }
  </code></pre>