Hi
I try to load filesystem tree in lily repository.
As identifier I try to use filesystem path.
For example:
USER./json/createrecord
All works correctly, but when i try to save file with name, that
contain point
lily inform me, that identifier cannot contain point:
curl -XPOST
195.222.149.147:8888/repository/record/ -H 'Content-Type:
application/json' -d '{
"action":"create",
"record":{
"type":{
"name":"ns1$Container",
"version":8
},
"fields":{
"ns1$name":"/"
},
"id":"home/
kaf.new",
"namespaces":
{"
dav.nevod.ru":"ns1","org.lilyproject.vtag":"ns2"
}
}
}' -D -
HTTP/1.1 500 Server Error
Content-Type: application/json; charset=UTF-8
Date: Fri, 21 Jan 2011 10:15:20 GMT
Accept-Ranges: bytes
Server: Restlet-Framework/2.1snapshot
Content-Length: 8303
{"status":500,"description":"Reserved record id character (one of: . ;
=) in \"home/
kaf.new\".","causes":[...
Qestion:
Why I cannot use symbol . (point) in identifier.
I see, that point is used after USER.
But why point cannot appeared second times in identifier?