+Python version of ODK aggregate. Will write in detail some other day.
+ Copyright (C) 2011 Thejesh GN.
+ Licensed 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
+ 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.
+Ofcourse this one is influenced by ODK aggregate. Some code has been reused as well.
# Error message if the form with FORM ID is not found
ODKID_NOT_FOUND = "Unable to find form with matching Form Id as submission"
FORM_NOT_FOUND = "Form not found"
DEFAULT_NAMESPACE = "ODK_DEFAULT"
FORM_ID_ATTRIBUTE_NAME = "id"
MODEL_VERSION_ATTRIBUTE_NAME = "version"
UI_VERSION_ATTRIBUTE_NAME = "uiVersion"
INSTANCE_ID_ATTRIBUTE_NAME = "instanceID"
SUBMISSION_DATE_ATTRIBUTE_NAME = "submissionDate"
IS_COMPLETE_ATTRIBUTE_NAME = "isComplete"
MARKED_AS_COMPLETE_DATE_ATTRIBUTE_NAME = "markedAsCompleteDate"
NAMESPACE_ATTRIBUTE = "xmlns"
FORWARD_SLASH_SUBSTITUTION = "&frasl"
VALUE_FORMATTED = " Value: "
ATTRIBUTE_FORMATTED = " Attribute> "
NODE_FORMATTED = "Node: "
#The max file size that can be uploaded/parsed