I think my problem wasn't that the base version wasn't returning a
version, it was that when there were no versions to return, the base
version was the root version and was throwing off my code when it was
trying to get the content.

-----Original Message-----
From: Julian Reschke [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2008 10:24 AM
To: [email protected]
Subject: Re: node.getBaseVersion()

Conoly, Brett wrote:
> I'm pretty sure I've asked this before but I'm having trouble figuring
> out what the base version represents.  I assumed that the
getBaseVersion
> would return a Version but when I try to get the frozenNode ->
> jcr:content it throws a pathNotFound exception and I'm not sure why.
> Can anyone give me a better explination or at least point me to some
> decent documentation on this base version?

JSR 170. Really.

The root version is the root of the version history tree, and it's 
special in that it doesn't have a frozenNode child node.

BR, Julian

Reply via email to