A fatal error occurs when rebuilding a form. This error is caused when the DOMParser encounters an apostrophe in the FormEntry.xsd (concept_name.name, concept_name.description). The current workaround is to remove apostrophes from these fields. However, we need to be able to support apostrophes.
[Fatal Error] FormEntry.xsd:2975:100: Invalid byte 2 of 2-byte UTF-8 sequence.
ERROR - PublishInfoPath.determineForm(386) |2007-06-20 13:30:47,967| Error parsing form data
org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at org.openmrs.module.formentry.PublishInfoPath.determineForm(PublishInfoPath.java:364)
at org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:161)
at org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:132)
at org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:104)
at org.openmrs.module.formentry.web.FormDownloadServlet.doGet(FormDownloadServlet.java:199)