chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajath Shashidhara <rajaths.raja...@gmail.com>
Subject OpenCMIS URL syntax
Date Mon, 24 Jun 2013 10:25:54 GMT
Hello,

I just checked url syntax of opencmis for atopub binding from this:
http://chemistry.apache.org/java/developing/dev-url.html

But,the problem is the example url in the end on this page doesnt follow
the pattern u have given.

URL ::= http://<HOST>:<PORT>/<SERVLET-PATH>/<REPOSITORY-ID>/<RESOURCE>?<PARAM=VALUE>&<PARAM=VALUE>&....

http://localhost:8080/opencmis/atom/A1/children?id=2FF2000
     Now..
Host: localhost
port:8080
servlet-path: opencmis
repositoryid: A1
resource:children.

But this doesnt accommodate for the extra atom in the path.
or servlet path is: opencmis/atom.
So how do i generalize a path into its components ?
because the servlet path could have any number of '/'.



Please help.
I'm gsoc intern for apache openoffice.

-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message