Dear All,
I am extract data from database and export in XML file.
If in the database table contains less than 8000 records then the xml generated successfully.
But if the record contains more than 8000 records while export data in xml file it is throwing the exception
ERROR [main] - Error in xmlExport
java.io.IOException: The character '' is an invalid XML character
at org.apache.xml.serialize.BaseMarkupSerializer.characters(Unknown Source)
at com.siemens.plmwbs.dao.ExportPlmWbsDao.generateXMLFile(ExportPlmWbsDao.java:137)
at com.siemens.plmwbs.dao.ExportPlmWbsDao.getFileData(ExportPlmWbsDao.java:252)
at com.siemens.plmwbs.exportwbs.PLMWbsExporter.generatePLMWBSXMLFile(PLMWbsExporter.java:100)
at com.siemens.plmwbs.exportwbs.PLMWbsExporter.main(PLMWbsExporter.java:67)
Below given the code:-
Please suggest how to fix this error.
Thanks in advance.
Regards,
Sumanta Panda
I am extract data from database and export in XML file.
If in the database table contains less than 8000 records then the xml generated successfully.
But if the record contains more than 8000 records while export data in xml file it is throwing the exception
ERROR [main] - Error in xmlExport
java.io.IOException: The character '' is an invalid XML character
at org.apache.xml.serialize.BaseMarkupSerializer.characters(Unknown Source)
at com.siemens.plmwbs.dao.ExportPlmWbsDao.generateXMLFile(ExportPlmWbsDao.java:137)
at com.siemens.plmwbs.dao.ExportPlmWbsDao.getFileData(ExportPlmWbsDao.java:252)
at com.siemens.plmwbs.exportwbs.PLMWbsExporter.generatePLMWBSXMLFile(PLMWbsExporter.java:100)
at com.siemens.plmwbs.exportwbs.PLMWbsExporter.main(PLMWbsExporter.java:67)
Below given the code:-
Please suggest how to fix this error.
Thanks in advance.
Regards,
Sumanta Panda