AnsweredAssumed Answered

ContentFault

Question asked by morpheus on Aug 4, 2008
hey,
i´m getting an ContentFault when i want to read a content via the ContentService
the path for the Reference Object is the following;

/app:company_home/cm:sample_folder/cm:mome[@cm:name="dc.xml"]

the file in the correkt space, but is this path correkt ?  i just guessed it, because the  example Query2 works the same, BUT instead that of addressing a content there is a space addressed. is there an difference ? and when how do i reference a content directly?

so is it like that ??

Reference reference = new Reference(STORE, null, "/app:company_home/cm:sample_folder/cm:mome/*[@cm:name=\"dc.xml\"]");
or that ?

Reference reference = new Reference(STORE, null, "/app:company_home/cm:sample_folder/cm:mome/*[@cm:filename=\"dc.xml\"]");
or do i have to use a query ?

Outcomes