dade632b0f
Added a test for S3 v1 listings that use URL encoding and have non-ASCII characters. In the process discovered that the XML schema for ListBucketResult had a small problem: Delimiter and EncodingType needed to be reordered. Change-Id: Ib3124ea079a73a577b86de97657603a64b16f965
34 lines
930 B
Plaintext
34 lines
930 B
Plaintext
include "common.rnc"
|
|
|
|
start =
|
|
element ListBucketResult {
|
|
element Name { xsd:string },
|
|
element Prefix { xsd:string },
|
|
(
|
|
(
|
|
element Marker { xsd:string },
|
|
element NextMarker { xsd:string }?
|
|
) | (
|
|
element NextContinuationToken { xsd:string }?,
|
|
element ContinuationToken { xsd:string }?,
|
|
element StartAfter { xsd:string }?,
|
|
element KeyCount { xsd:int }
|
|
)
|
|
),
|
|
element MaxKeys { xsd:int },
|
|
element Delimiter { xsd:string }?,
|
|
element EncodingType { xsd:string }?,
|
|
element IsTruncated { xsd:boolean },
|
|
element Contents {
|
|
element Key { xsd:string },
|
|
element LastModified { xsd:dateTime },
|
|
element ETag { xsd:string },
|
|
element Size { xsd:long },
|
|
element Owner { CanonicalUser }?,
|
|
element StorageClass { StorageClass }
|
|
}*,
|
|
element CommonPrefixes {
|
|
element Prefix { xsd:string }
|
|
}*
|
|
}
|