08-13-2014 05:50 AM
Hi,
I was using Hyland.Unity.FIeldModifier.ApplyChanges() method, and when I was updating an EForm by using this method, I got the following XML error:
System.Xml.XmlException: The '"' character, hexadecimal value 0x22, cannot be included in a name. Line 8, position 52. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at Hyland.Types.XmlTextReaderEx.Read() at Hyland.Types.EncryptedServiceObject.ReadXml(XmlReader reader, SerializationContext context) at Hyland.Public.ServiceObject.ReadXml(String xml, SerializationContext context) at Hyland.Types.ParameterList.ReadServiceObject[TServiceObject](String paramName, SerializationContext context) at Hyland.Types.ParameterList.ReadServiceObject[TServiceObject](String paramName) at Hyland.Types.ParameterList.ReadServiceObjectNotNull[TServiceObject](String paramName) at Hyland.Types.ParameterList.AccessElement(String paramName) at Hyland.Unity.EForm.getEFormFields() at Hyland.Unity.EForm.get_Fields() at Hyland.Unity.FieldModifier.ApplyChanges()
Obviously, I am not parsing any XML, and unity is doing this from the behind when it is updating the information to the eform.
Is anyone familiar with this error?
Thanks.
08-13-2014 06:02 AM
The fieldmodifier likely uses a XML parser to edit the stored eform file with the field values in it.
If you look at what gets stored for a eform on disk you see something like this....
FieldName1=FieldValue1&FieldName2=&FieldValue2&FieldName3=&FieldValue3
From the looks of the error, you have a "bad" eform field name in your source eform.
Hyland has a great eform validation tool (EFValid.exe) that is great for tracking down issues like this.
You'll likely need to call support to get the download link.
08-13-2014 06:53 AM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.