Value#getBinary() and #getStream() return internal representation for type PATH 
and NAME
----------------------------------------------------------------------------------------

                 Key: JCR-2511
                 URL: https://issues.apache.org/jira/browse/JCR-2511
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.0.0
            Reporter: angela


just found a path-related spi2dav test failing that passed some time before 
jackrabbit 2.0 (BatchTest#testSetPathValue).

i had a quick look at it and it seems to me that the reasons is the internal 
(Path, Name) value representation 
being exposed when calling Value#getBinary(), Value#getStream() and the 
corresponding shortcuts on Property.

from my understanding of the specification these methods should always return 
the standard JCR path (or name) representation as it
is exposed by Value#getString() and Property#getString() as it used to be in 
previous versions.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to