I don't know if it will help.

But 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:capabilityAllVersionsSearchable>
                                
<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:capabilityContentStreamUpdatability>
                                
<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:capabilityVersionSpecificFiling>
                                <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>

Thanks,
Jason Tesser
dotCMS Lead Development Manager
1-305-858-1422



On Wed, Nov 4, 2009 at 11:58 AM, Shane Johnson <[email protected]> wrote:
> Hi Jason,
>
> To be honest, I'm not sure. I'd have to take a look. When I updated it to
> the .62 specification I simply tested it against the Alfresco public
> repository. It may be that I accidentally used something Alfresco specific
> rather than CMIS specific. I can check that out tonight. In the meantime,
> here are a couple of relevant snippets. Perhaps you can find what I missed
> in there.
>
> getting the 'root children' url...
>
> var childrenURL:String =
> result.workspace.collection.(@collectionType=='root')....@href;
>
> deciding if a child is a document or folder...
>
> var baseTypeId:String =
> f.object.properties.propertyId.(@pdid=='cmis:BaseTypeId').value;
>
> if (baseTypeId != null && baseTypeId == "cmis:folder")
>    folders.addItem(Folder.getFolder(f));
> else if (baseTypeId != null && baseTypeId == "cmis:document")
>    documents.addItem(Document.getDocument(f));
>
> Perhaps it is the collectionType (root) or pdid (cmis:BaseTypeId)?
>
> Shane
>
> On Wed, Nov 4, 2009 at 10:40 AM, Jason Tesser <[email protected]> wrote:
>
>> Hi Shane sorry to be a pest but I am wondering is the getting of teh
>> children of the folders at teh root level a known issue?
>>
>> Thanks,
>> Jason Tesser
>> dotCMS Lead Development Manager
>> 1-305-858-1422
>>
>>
>>
>> On Wed, Nov 4, 2009 at 11:35 AM, Shane Johnson <[email protected]>
>> wrote:
>> > FYI - I'll try to get it upgraded to the 1.0 specification this weekend.
>> >
>> > Shane
>> >
>> > On Wed, Nov 4, 2009 at 10:27 AM, Michael Mertins <
>> > [email protected]> wrote:
>> >
>> >> Anxiously anticipating such a client. Hope it will be a top priority
>> since
>> >> there already had been a discussion about this, right?
>> >>
>> >> Till then I have to stick to Shane's CMIS explorer that is still at 0.62
>> >> http://code.google.com/p/cmis-explorer/
>> >>
>> >> Btw. I overworked my patches for the JCR area. Are they of any use now?
>> >>
>> >> Best,
>> >>
>> >> Michael
>> >>
>> >>
>> >> -----Ursprüngliche Nachricht-----
>> >> Von: Florent Guillaume [mailto:[email protected]]
>> >> Gesendet: Mittwoch, 4. November 2009 17:14
>> >> An: [email protected]
>> >> Betreff: Re: Issues with JS client
>> >>
>> >> This won't help you right now, but it's my intention to use Apache
>> >> Chemistry to write a small command-line client with simple shell-like
>> >> operations (cd, ls, cat, etc.) that would help debug servers.
>> >> That's not written yet though.
>> >>
>> >> Florent
>> >>
>> >> On Wed, Nov 4, 2009 at 12:15 PM, Jason Tesser <[email protected]>
>> >> wrote:
>> >> > Does anyone know of a good client I can use to test my server then?
>> >> >
>> >> > I tried the flex client but the browser seems to be broke. It gets the
>> >> > root level but never make a call to retrieve the children of anything
>> >> > within folders on the root.
>> >> >
>> >> > Thanks,
>> >> > Jason Tesser
>> >> > dotCMS Lead Development Manager
>> >> > 1-305-858-1422
>> >> >
>> >>
>> >> --
>> >> Florent Guillaume, Head of R&D, Nuxeo
>> >> Open Source, Java EE based, Enterprise Content Management (ECM)
>> >> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>> >>
>> >
>>
>

Reply via email to