I am trying to parse a XML
string into `org.w3c.dom.Document` object.
I have looked at solutions provided [here](
xml - How to convert String to DOM Document object in java? - Stack Overflow), [here](
How to create a XML object from String in Java? - Stack Overflow) and a few other blogs that give a variation of the same solution. But the `Document` object's #Document variable is always null and nothing gets parsed.
Here is the XML
The constructor XMLMappingValidator object's code is as follows
When I call
I get
Clearly, the parse is failing. But I don't understand why.
Any suggestions/help is greatly appreciated.
Thanks