Closed GoogleCodeExporter closed 9 years ago
OK so after talking to Shane on the Chemistry list it appears the issue may be
related to a space after the ";" in the type of the link attribute within the
xml.
This is the XML for my ROOT guy. and i pasted the repository
below. For what it is worth I had the same issue with the test simple
implementation that ships with Chemistry.
<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
<id>urn:x-children:2f</id>
<title type="text">children collection</title>
<author><name>system</name></author>
<updated>2009-11-03T15:49:54.161Z</updated>
<link href="http://localhost:8080/cmis/repository" rel="service"
type="application/atomsvc+xml" />
<link href="http://localhost:8080/cmis/object/2f" rel="via"
type="application/atom+xml; type=entry" />
<link href="http://localhost:8080/cmis/children/2f" rel="self"
type="application/atom+xml; type=feed" />
<entry xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
<id>urn:uuid:1</id>
<title type="text">starter.dotcms.org</title>
<updated>2009-11-03T15:49:55.723Z</updated>
<author><name></name></author>
<link href="http://localhost:8080/cmis/repository" rel="service"
type="application/atomsvc+xml" />
<link href="http://localhost:8080/cmis/object/1" rel="self"
type="application/atom+xml; type=entry" />
<link href="http://localhost:8080/cmis/object/1" rel="edit"
type="application/atom+xml; type=entry" />
<link href="http://localhost:8080/cmis/object/1" rel="alternate"
type="application/atom+xml; type=entry" />
<link href="http://localhost:8080/cmis/type/host" rel="describedby"
type="application/atom+xml; type=entry" />
<link href="http://localhost:8080/cmis/children/1" rel="down"
type="application/atom+xml; type=feed" />
<cmisra:object>
<cmis:properties>
<cmis:propertyString pdid="cmis:Name" localname="def:name"
displayname="Name">
<cmis:value>starter.dotcms.org</cmis:value>
</cmis:propertyString>
<cmis:propertyString pdid="cmis:CreatedBy"
localname="def:createdby" displayname="Created By">
<cmis:value></cmis:value>
</cmis:propertyString>
<cmis:propertyId pdid="cmis:BaseTypeId"
localname="def:basetypeid"
displayname="Base Type ID">
<cmis:value>cmis:folder</cmis:value>
</cmis:propertyId>
<cmis:propertyId pdid="cmis:ObjectTypeId"
localname="def:typeid"
displayname="Type ID">
<cmis:value>host</cmis:value>
</cmis:propertyId>
</cmis:properties>
</cmisra:object>
<content src="http://localhost:8080/cmis/file/1" />
</entry>
</feed>
and this is the XML for the Repository itself
<?xml version='1.0' encoding='UTF-8'?>
<service xmlns="http://www.w3.org/2007/app"
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
<workspace>
<title xmlns="http://www.w3.org/2005/Atom" type="text">dotcms</title>
<cmisra:repositoryInfo>
<cmis:repositoryId>dotcms</cmis:repositoryId>
<cmis:repositoryName>dotcms</cmis:repositoryName>
<cmis:repositoryRelationship>self</cmis:repositoryRelationship>
<cmis:repositoryDescription>dotcms</cmis:repositoryDescription>
<cmis:vendorName>dotCMS</cmis:vendorName>
<cmis:productName>dotCMS</cmis:productName>
<cmis:productVersion>1.9rc1</cmis:productVersion>
<cmis:rootFolderId>2f</cmis:rootFolderId>
<cmis:latestChangeToken></cmis:latestChangeToken>
<cmis:capabilities>
<cmis:capabilityACL>none</cmis:capabilityACL>
<cmis:capabilityAllVersionsSearchable>false</cmis:capabilityAllVersionsSearchabl
e>
<cmis:capabilityChanges>none</cmis:capabilityChanges>
<cmis:capabilityChangesOnType>cmis:folder</cmis:capabilityChangesOnType>
<cmis:capabilityChangesOnType>cmis:policy</cmis:capabilityChangesOnType>
<cmis:capabilityChangesOnType>cmis:relationship</cmis:capabilityChangesOnType>
<cmis:capabilityChangesOnType>cmis:document</cmis:capabilityChangesOnType>
<cmis:capabilityContentStreamUpdatability>pwconly</cmis:capabilityContentStreamU
pdatability>
<cmis:capabilityGetDescendants>true</cmis:capabilityGetDescendants>
<cmis:capabilityMultifiling>true</cmis:capabilityMultifiling>
<cmis:capabilityPWCSearchable>false</cmis:capabilityPWCSearchable>
<cmis:capabilityPWCUpdateable>false</cmis:capabilityPWCUpdateable>
<cmis:capabilityQuery>bothseparate</cmis:capabilityQuery>
<cmis:capabilityRenditions>none</cmis:capabilityRenditions>
<cmis:capabilityUnfiling>true</cmis:capabilityUnfiling>
<cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFilin
g>
<cmis:capabilityJoin>none</cmis:capabilityJoin>
</cmis:capabilities>
<cmis:cmisVersionSupported>0.62</cmis:cmisVersionSupported>
<cmis:changesIncomplete>false</cmis:changesIncomplete>
</cmisra:repositoryInfo>
<collection href="http://localhost:8080/cmis/types"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="typesdescendants">
<title xmlns="http://www.w3.org/2005/Atom"
type="text">Types</title>
</collection>
<collection href="http://localhost:8080/cmis/children/2f"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="root">
<title xmlns="http://www.w3.org/2005/Atom" type="text">children
collection</title>
</collection>
<collection href="http://localhost:8080/cmis/query"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="query">
<title xmlns="http://www.w3.org/2005/Atom" type="text">query
collection</title>
</collection>
<collection href="http://localhost:8080/cmis/descendants/2f"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="rootdescendants">
<title xmlns="http://www.w3.org/2005/Atom" type="text">the
descendants</title>
</collection>
<collection href="http://localhost:8080/cmis/checkedout"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="checkedout">
<title xmlns="http://www.w3.org/2005/Atom" type="text">the
checkedout</title>
</collection>
<collection href="http://localhost:8080/cmis/types"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="types">
<title xmlns="http://www.w3.org/2005/Atom"
type="text">Types</title>
</collection>
<collection href="http://localhost:8080/cmis/unfiled"
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
cmisra:collectionType="unfiled">
<title xmlns="http://www.w3.org/2005/Atom" type="text">the
unfiled</title>
</collection>
<link xmlns="http://www.w3.org/2005/Atom"
type="application/cmistree+xml"
rel="http://docs.oasis-open.org/ns/cmis/link/200901/typesdescendants"
href="http://localhost:8080/cmis/typesdescendants" />
<cmisra:uritemplate>
<cmisra:type>entrybyid</cmisra:type>
<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>
<cmisra:template>http://localhost:8080/object/{id}</cmisra:template>
</cmisra:uritemplate>
<cmisra:uritemplate>
<cmisra:type>folderbypath</cmisra:type>
<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>
<cmisra:template>http://localhost:8080/path{path}</cmisra:template>
</cmisra:uritemplate>
</workspace>
</service>
Original comment by jasontes...@gmail.com
on 6 Nov 2009 at 2:45
Fixed for the 1.0 release.
Original comment by shane....@gmail.com
on 21 Jan 2010 at 1:54
Original issue reported on code.google.com by
jasontes...@gmail.com
on 4 Nov 2009 at 11:27