hi ryan, > I'm having a hard time understanding from the specification how to know when > a javax.jcr.Property should be referenced in xpath as: > 1) @firstName > or > 2) firstName xpath is only used in the query section. whenever you use xpath for querying the repository you use an @ there are probably no examples that refer to using a property in xpath without an @. (or can point out an example in the spec?)
> Many examples in the specification seem to use one or the other other > depending on the context (can provide examples if needed), but are always > referring to a property. What is the criteria for knowing when and where to > prefix a Property name with "@", or has this been clarified in versions > beyond the last public draft? a "content repository path" on the other hand which is used thoughout the entire api to identify a single item in the content repository has very different characteristics than xpath. the repository path is comparable to a filesystem path, in which a node could be looked at as a folder and property could be looked at as a file. regards, david
