Hi all , I am getting the following error org.xml.sax.SAXParseException: Document root element is missing while building our application. Problem is the build file refers an XML which has Japanese character. If I remove those character the build is happening, which is not the right way. Herewith I am attaching the XML also. The XML is well formatted. Kindly give me your suggestions to get rid of the problem. I am using Xalan 2.5.1.
Open your xml file using good IDE tools like XMLSPY and save your XML file again... this will make sure that your xml is fully based on UNICODE... this will let xalan to parse the xmlfile.