Menu

#1210 doctype is an unexpected token error when trying ECSL scanning

7.X
open
nobody
None
Linux
7.5.2.0
Support
Medium
ESCL
2024-12-06
2024-12-06
No

When trying to scan using ESCL, it gives this error:

System.Xml.XmlException: 'doctype' is an unexpected token. The expected token is 'DOCTYPE'. Line 1, position 3.
at void System.Xml.XmlTextReaderImpl.Throw(Exception) x 2
at void System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(string, string) x 2
at bool System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at bool System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at XDocument System.Xml.Linq.XDocument.Load(XmlReader, LoadOptions)
at XDocument System.Xml.Linq.XDocument.Parse(string, LoadOptions) x 2
at async Task<xdocument> NAPS2.Escl.Client.EsclClient.DoRequest(string endpoint)
at async Task<esclcapabilities> NAPS2.Escl.Client.EsclClient.GetCapabilities()
at async Task NAPS2.Scan.Internal.Escl.EsclScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<imemoryimage> callback)
at async Task NAPS2.Scan.Internal.RemoteScanController.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<processedimage, postprocessingcontext=""> callback)
at async Task NAPS2.Scan.ScanController+<>c__DisplayClass15_1.<scan>g__DoScan|6(?)+DoScan(?)
at async IAsyncEnumerable<processedimage> NAPS2.Scan.ScanController.Scan(ScanOptions options, CancellationToken cancelToken)+(?) => { }</processedimage></scan></processedimage,></imemoryimage></esclcapabilities></xdocument>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB