swift/doc/s3api/rnc/list_bucket_result.rnc
Timur Alperovich dade632b0f S3Api: handle non-ASCII markers in v1 listings.
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
2019-05-08 12:17:38 -07:00

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 }
}*
}