-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: REST/AtomPub Binding
-
Labels:None
-
Proposal:
-
Resolution:
The spec 1.0cd04 says, l.5128:
3.4.1.3.6 cmisra:content
This element specifies the content of the atom:entry element. The content is base64 encoded.
This implies having the base64-encoded content directly inside the cmisra:content element.
However CMIS-RestAtom.xsd has:
<xs:element name="content" type="cmisra:cmisContentType"/>
<xs:complexType name="cmisContentType">
<xs:sequence>
<xs:element name="mediatype" type="xs:string" />
<xs:element name="base64" type="xs:string" />
<xs:any processContents="lax" namespace="##other" minOccurs="0"
maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
Given that cmisra:content's goal is to override atom:content, it has to be able to do all that atom:content does, in particular define the media type of the content. So the XSD seems the correct choice.