You can't access a document in CMIS Connector on SharePoint 2010

Summary
Assume that you create a Microsoft Office file such as a Word document. Then, in the document properties, you add a title that includes angle brackets to enclose a part of the title text. When you use the Content Management Interoperability Services (CMIS) getObject operation on this file, or you call the CMIS getChildren operation on the folder in which the file is stored, you receive an "Is invalid XML" error message, and you can't access the affected document.
Cause
This is a known issue in the CMIS Connector and SharePoint 2010. If an Office document title contains text that's enclosed in angle brackets, the CMIS Atom Publishing Protocol (AtomPub) binding does not generate a well-formed XML document response. For example, this issue occurs if the title text resembles the following:

"Project <project> Report"
CMIS clients can't parse responses that are not well-formed. When a document title isn't encoded as an XML literal, an XML parser interprets the Office document title as an unclosed XML tag, and the parser does not parse the AtomPub response.
Workaround
The work around this issue, create an XML parser or preprocessor that cleans the XML that's received from SharePoint.
Properties

Article ID: 3134882 - Last Review: 01/25/2016 17:06:00 - Revision: 1.0

Microsoft SharePoint Server 2010

  • kbsurveynew kbtshoot kbexpertiseinter KB3134882
Feedback