Hi, We are using DOM4J for parsing XML data which we receive from other systems. We have been developing our code on Windows and are trying to deploy and test now on the target VMS environment.
Our system takes data from Maxcim via XML files and we use this data to update an RDB database within our system. The code appears to work without any issues on Windows. The version of Java on Windows is java -version java version "1.3.1_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03) Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode) The issue that we have come up with on VMS is as follows ERROR - Caught DocumentExceptionError on line 91 of document : required string (expected "Date") Nested exception: required string (expected "Date") org.dom4j.DocumentException: Error on line 91 of document : required string (ex pected "Date") Nested exception: required string (expected "Date") at org.dom4j.io.SAXReader.read(SAXReader.java, Compiled Code) at org.dom4j.io.SAXReader.read(SAXReader.java, Compiled Code) at TstDom4j.main(TstDom4j.java, Compiled Code) Nested exception: org.xml.sax.SAXParseException: required string (expected "Date ") at org.dom4j.io.aelfred.SAXDriver.error(SAXDriver.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.error(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.require(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseETag(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseContent(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseElement(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseContent(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseElement(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseContent(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseElement(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.parseDocument(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.XmlParser.doParse(XmlParser.java, Compiled Code) at org.dom4j.io.aelfred.SAXDriver.parse(SAXDriver.java, Compiled Code) at org.dom4j.io.SAXReader.read(SAXReader.java, Compiled Code) at org.dom4j.io.SAXReader.read(SAXReader.java, Compiled Code) at TstDom4j.main(TstDom4j.java, Compiled Code) This program is only parsing XML files - nothing else !. We have implemented the technique for processing large XML files as per the FAQ on the DOM4J site but this has made no difference. Basically the code fails as illustrated on VMS once the XML file is larger then 4 blocks i.e. 2K. The version of Java on the VMS system is $ java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition Classic VM (build 1.3.1-3, 03/29/2002-10:47, native threads, jit) The VMS system details are $ ucx sho ver Compaq TCP/IP Services for OpenVMS Alpha Version V5.3 on a AlphaServer 4000 5/400 4MB running OpenVMS V7.2-2 I can mail the code and XML to anybody who may need it to follow up on this issue. Any suggestions or assistance would be appreciated. Thanks & Regards, -Gerry. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user