Rejected files notion

Generalities

During search execution, the engine builds for each found file (defined in the extension file list specified by the user) a DOM tree with the suitable driver. The XPath search will be done on this loaded tree.

Problems can occur during the search operation. The search engine will reject from the file list to read the errors cases.

In goal to inform user that search has failed in several cases, a view has been created to list all the errors and (if possible) the reason of the error.

Driver mistakes

If an error occurs during driver load (not found class for example), the search engine will think that all files with the same extensions will not be treated.

The search engine, will create a rejected file class. All the files having an extension contained in the extension set associated to the driver in error will be rejected during the search.

A rejected file class est displayed in the view without paths and the file name is formatted with the pattern: [extension1, extension2...].

Rejected file class example

XPath query problems

In the same kind, if an XPath query is invalid (for used driver), a class of rejected files will be created in the suitable view.

Errors during file parsing

If the parser associated to the driver cannot read the XML file, the file is marked as rejected and will be visible in the view.

Error file example