2.2.1.5.6 file Element

The file XML element represents information about a file.

 <xs:element name="file">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="name"
         type="xs:string"
        />
       <xs:element name="path">
         <xs:simpleType>
           <xs:restriction
             base="xs:string"
           >
             <xs:enumeration
               value=""
              />
           </xs:restriction>
         </xs:simpleType>
       </xs:element>
       <xs:element name="size"
         type="xs:long"
         minOccurs="0"
        />
       <xs:element
         minOccurs="0"
         ref="timestamp"
        />
     </xs:sequence>
   </xs:complexType>
 </xs:element>

Child Elements

Element

Type

Description

name

xs:string

MUST be the path of the file that is relative to the replicated folder root. The path MUST begin with a folder name, followed by a backslash (\) and then by the name of each folder in the order in which they are opened; the folder names are separated by using a backslash.

path

N/A

This element MUST be an empty string. The element SHOULD be ignored by the client.

size

xs:long

The server MAY choose to populate this element with the original size, in bytes, of the file; or set this field to 0, which means that the size is not provided in the health report; or exclude this field from the file element.<10>.

timestamp

timestamp

The timestamp is an optional element of the file element. If the timestamp element is present in the file element, the server MAY provide a timestamp value<11> The format of this element is specified in section 2.2.1.5.2.