From f5803d7d18d9d51d9437013088eb8789d35eb3ac Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 4 Jun 2009 22:17:37 -0700 Subject: [PATCH] SDK Updater: add comments to the XML Schema. This patch also moves the checksumType at the bottom so that the main sdk-repository element definition be the first thing in the file. --- .../sdklib/repository/sdk-repository.xsd | 119 +++++++++++++----- 1 file changed, 89 insertions(+), 30 deletions(-) diff --git a/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-repository.xsd b/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-repository.xsd index 6c80d2e8c..6aff44495 100755 --- a/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-repository.xsd +++ b/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/sdk-repository.xsd @@ -22,68 +22,73 @@ attributeFormDefault="unqualified" version="1"> - + + An Android SDK repository is a web site that contains a "repository.xml" + file that conforms to this XML Schema. + --> - The repository contains collections of downloadable items. + The repository contains collections of downloadable packages. - + + + An SDK platform package. + + + + + + + - + + + An SDK add-on package. + + + + + + + + @@ -94,7 +99,9 @@ + + @@ -106,29 +113,46 @@ - + + + An SDK tool package. + + + + + - + + + An SDK doc package. + + + + + + @@ -140,24 +164,37 @@ - A collection of architecture-dependent archives. + + A collection of files that can be downloaded for a given architecture. + The <archives> node is mandatory in the repository packages and the + collection must have at least one <archive> declared. + Each archive is a zip file that will be unzipped in a location that depends + on its package type. + - + + + + - + @@ -183,4 +220,26 @@ + + + + + A SHA1 checksum. + + + + + + + + + A file checksum, currently only SHA1. + + + + + + + +