An entire resource descriptor is enclosed by the <resourceDescriptor> element.
The resource descriptor file is encoded in UTF-8 format unless a byte order mark (BOM) is present. If present, the BOM is used to determine the encoding of the file.
The <resourceDescriptor> element has the following attributes:
xmlns – A required string that has the following value:
http://www.sun.com/schema/SPS |
xmlns:xsi – A required string that has the following value:
http://www.w3.org/2001/XMLSchema-instance |
xsi:schemaLocation – An optional string that has the following recommended value:
http://www.sun.com/schema/SPS resourceDescriptor.xsd |
schemaVersion – A required attribute of type schemaVersion, which is the version of the resource descriptor schema that is being used. The only permitted values are 5.0 and 5.1.
The <resourceDescriptor> element has one required child element, <entryList>, which is the list of files and directories contained by this resource. The entry for each file or directory includes the associated owner, group, and permission settings.