Hi Liu,
This problem is due to any non-XML 1.0 character in the text you have
send either in documentText or any other feature structure. For
resolving this problem you have to replace all non-XML 1.0 characters
with any XML 1.0 character or space.
Hope this will solve the problem.
Reshu.
On 11/17/2015 11:52 AM, Yi-Wen Liu wrote:
Hello,
I came across the following error when running DUCC, and I thought it was
caused by invalid xml character in my input text file
But if I removed all files in input directory, same error again.
Any suggestion is appreciated!
16 Nov 2015 22:03:45,443 ERROR ProxyLogger - T[18] loggify
org.xml.sax.SAXParseException; Trying to serialize non-XML 1.0
character: , 0x0
at
org.apache.uima.util.XMLSerializer$CharacterValidatingContentHandler.checkForInvalidXmlChars(XMLSerializer.java:254)
at
org.apache.uima.util.XMLSerializer$CharacterValidatingContentHandler.startElement(XMLSerializer.java:174)
at
org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.startElement(XmiCasSerializer.java:1003)
at
org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.encodeFS(XmiCasSerializer.java:755)
at
org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.encodeIndexed(XmiCasSerializer.java:700)
at
org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.serialize(XmiCasSerializer.java:268)
at
org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.access$700(XmiCasSerializer.java:108)
Thanks,
Yi-Wen