From: Dave F. <dav...@gm...> - 2011-04-08 15:11:40
|
It worked! Thanks, Dmitriy! On Fri, Apr 8, 2011 at 1:03 AM, Dmitriy Shabanov <sha...@gm...>wrote: > On Fri, Apr 8, 2011 at 8:41 AM, Loren Cahlander <lor...@gm... > > wrote: > >> I am having a problem with DBBroker.getOrCreateCollection(Txn transaction, >> XmldbURI name). I pass in the following URI for the new collection * >> xmldb:exist:///db/cms/apps/foo/data/70/PUBLIC/Sections* and get the >> following collection being created * >> /db/db/cms/apps/foo/data/70/PUBLIC/Sections.* The collection that is >> created has an extra */db* in the start of the path. I will be looking >> into it tomorrow. If anyone else has the time to take a look at it in the >> mean time, I would appreciate it. >> > > Try uri without "xmldb:exist://" part. "* > /db/cms/apps/foo/data/70/PUBLIC/Sections*" should be ok. > > -- > Dmitriy Shabanov > -- David Finton |