I did a quick and dirty addition of newlines after tags and that worked so I ended up using JDOM to read in the XML and write it back out with the newline option turned on and then MDocument.parseMRV() read it in without problems.
Tamas
Joined: 21 May 2004
Posts: 1264
ChemAxon personnel
Meanwhile, I have found a bug in current Marvin (5.0.2_1):MDocument.parseMRV(String) throws NullPointerException.
I fixed it in this moment.
Marvin 5.0.x accepts also one line MRV sources (without '\n'-s).
In new Marvin, the CML root tag is obligate but it also accept old MRV-s for backward compatibility.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum