manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1325) Invalid XML character causing job to abort
Date Thu, 23 Jun 2016 06:45:16 GMT


Phil commented on CONNECTORS-1325:

Thanks Karl.

If thats how Sharepoint outputs content, then it is an interesting problem! I'm not sure in
this instance how many documents it affects or if its related to an issue with the user creating
the document. If its a user related issue with creating the content, then logging as an error
and continuing the crawl makes sense.

If it's not a widespread problem then maybe this is still the best approach in all cases?

> Invalid XML character causing job to abort
> ------------------------------------------
>                 Key: CONNECTORS-1325
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: SharePoint connector
>    Affects Versions: ManifoldCF 2.3
>            Reporter: Phil
>            Assignee: Karl Wright
>            Priority: Blocker
> The following error is causing the Manifold job to abort, and subsequently the job not
being able to finish.
> It would be good to have the crawler log this error, but not throw an exception which
causes the entire job to stop.
> {code}
> ERROR 2016-06-21 19:01:54,562 (Worker thread '6') system.WorkerThread - Exception tossed:
XML parsing error: Character reference "&#xD83D" is an invalid XML character.
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: XML parsing error: Character
reference "&#xD83D" is an invalid XML character.
>         at org.apache.manifoldcf.core.common.XMLDoc.init(
>         at org.apache.manifoldcf.core.common.XMLDoc.<init>(
>         at org.apache.manifoldcf.crawler.connectors.sharepoint.SPSProxyHelper.getFieldValues(
>         at org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointRepository.processDocuments(
>         at
> Caused by: org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 64; Character
reference "&#xD83D" is an invalid XML character.
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at javax.xml.parsers.DocumentBuilder.parse(
>         at org.apache.manifoldcf.core.common.XMLDoc.init(
>         ... 4 more
> {code}

This message was sent by Atlassian JIRA

View raw message