I created an RR pair derived object. However, when I go to create the tables I get the following error:
com.ca.tdm.shredder.extractor.ExtractorException: com.ca.tdm.shredder.extractor.ExtractorException: There was an error when trying to parse the XML File -> C:\ProgramData\CA\CA Test Data Manager Portal\\objects\projects_9355\versions_9356\Elig_Ver\uploadedschema\request\1-req.xml. Error: ParseError at [row,col]:[10,3] Message: The markup in the document following the root element must be well-formed.
I check the XML syntax using notepad ++ and it says it is valid. The position it points out is the closing tag of an element. I do not see any issues with the structure of the XML.
Invalid XML causes the error.
If the syntax in Notepad++ (or a similar tool) is valid, we suggest you save the XML from that tool and try the scenario again.
1. Open the XML file in Notepad ++ (or a similar tool).
2. Save the file.
3. Use this new XML file in the derived object.
4. Create the database table again.
- The table should be created without error.
The issue can also happen when try to Register an XML file in the Self Service Portal. XML file is invalid and causes the issue. The information at https://stackoverflow.com/questions/46355454/how-to-fix-error-the-markup-in-the-document-following-the-root-element-must-be will provide some suggesstions.
Note: XML should have only one root element.