*Purpose

This page gives the approach to solve the following error message " Failed to parse xml file:  (comment or processing instruction expected (pos l: 2 col: 1))".

Observed in
Release
Yes/No
1.3.x(tick)
1.2.x(tick)
1.1.x(tick)
1.0.x(tick)


Observed on RDBMS
RDBMS
Yes/No
CSS4(tick)
CSS3(tick)
CSS2(tick)
Step by Step Scenario

  1. Discover the source
  2. Accept and run the analysis
  3. Check the log for the errors as shown in below screenshot.
    Figure 1

Action Plan


These errors messages are caused by incomplete tags in the XML files. The log file message does not have details on the malformed EJB xml so for all the existing XML files:

  1. Open the XML file in a web browser
    1. If all tags are parsed without errors proceed to next xml file
    2. If tags are not correct you will have a similar message to the below screenshot:

      In this case manually add the missing tag

Impact on Analysis Results and Dashboard

Impact of issue: XML files with in complete tags will not be analyzed.
Impact after applying solution: XML files are analyzed correctly

Notes/comments

Related Pages