<?xml version="1.0" encoding="UTF-8"?>
	<!--
	 ***************************************************************
	 * Licensed to the Apache Software Foundation (ASF) under one
	 * or more contributor license agreements.  See the NOTICE file
	 * distributed with this work for additional information
	 * regarding copyright ownership.  The ASF licenses this file
	 * to you under the Apache License, Version 2.0 (the
	 * "License"); you may not use this file except in compliance
	 * with the License.  You may obtain a copy of the License at
     *
	 *   http://www.apache.org/licenses/LICENSE-2.0
	 * 
	 * Unless required by applicable law or agreed to in writing,
	 * software distributed under the License is distributed on an
	 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
	 * KIND, either express or implied.  See the License for the
	 * specific language governing permissions and limitations
	 * under the License.
	 ***************************************************************
   -->
<collectionReaderDescription xmlns="http://uima.apache.org/resourceSpecifier">
    <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
    <implementationName>org.apache.uima.collection.impl.cpm.utils.ErrorTestCollectionReader</implementationName>
    <processingResourceMetaData>
        <name>ErrorTest Collection Reader</name>
        <description>Reads files from the filesystem.  This CollectionReader may be used
          with or without a CAS Initializer.  If a CAS Initializer is supplied, it will
          be passed an InputStream to the file and must populate the CAS from that
          InputStream.  If no CAS Initializer is supplied, this CollectionReader will
          read the file itself and set treat the entire contents of the file as the
          document to be inserted into the CAS.</description>
        <version>1.0</version>
        <vendor>The Apache Software Foundation</vendor>
        <configurationParameters>
            <configurationParameter>
                <name>DocumentCount</name>
                <description>Descrips how many documents should be emulated to be found by the CollectionReader</description>
                <type>Integer</type>
                <multiValued>false</multiValued>
                <mandatory>true</mandatory>
            </configurationParameter>
            <configurationParameter>
                <name>Encoding</name>
                <description>Character encoding for the documents.  If not specified,
                   the default system encoding will be used.  Note that this parameter
                   only applies if there is no CAS Initializer provided; otherwise,
                   it is the CAS Initializer's responsibility to deal with character
                   encoding issues.</description>
                <type>String</type>
                <multiValued>false</multiValued>
                <mandatory>false</mandatory>
            </configurationParameter>
            <configurationParameter>
                <name>Language</name>
                <description>ISO language code for the documents</description>
                <type>String</type>
                <multiValued>false</multiValued>
                <mandatory>false</mandatory>
            </configurationParameter>
            <configurationParameter>
                <name>ErrorFunction</name>
                <description></description>
                <type>String</type>
                <multiValued>false</multiValued>
                <mandatory>false</mandatory>
            </configurationParameter>
            <configurationParameter>
                <name>ErrorCount</name>
                <description></description>
                <type>Integer</type>
                <multiValued>false</multiValued>
                <mandatory>false</mandatory>
            </configurationParameter>
            <configurationParameter>
                <name>ErrorException</name>
                <description></description>
                <type>String</type>
                <multiValued>false</multiValued>
                <mandatory>false</mandatory>
            </configurationParameter>
        </configurationParameters>
        <configurationParameterSettings>
            <nameValuePair>
                <name>DocumentCount</name>
                <value>
                    <integer>10000</integer>
                </value>
            </nameValuePair>
        </configurationParameterSettings>
        <typeSystemDescription/>
        <capabilities>
            <capability>
                <inputs/>
                <outputs>
                    <type allAnnotatorFeatures="true">org.apache.uima.collection.impl.cpm.SourceDocumentInformation</type>
                </outputs>
                <languagesSupported/>
            </capability>
        </capabilities>
        <operationalProperties>
            <modifiesCas>true</modifiesCas>
            <multipleDeploymentAllowed>false</multipleDeploymentAllowed>
            <outputsNewCASes>true</outputsNewCASes>
        </operationalProperties>
    </processingResourceMetaData>
</collectionReaderDescription>
