You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/08/24 10:40:29 UTC

[jira] [Created] (JCR-3059) Add JCR 2.0 constants

Add JCR 2.0 constants
---------------------

                 Key: JCR-3059
                 URL: https://issues.apache.org/jira/browse/JCR-3059
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr-commons
    Affects Versions: 2.2.7
            Reporter: Carsten Ziegeler
            Priority: Minor
         Attachments: JcrConstants.java.patch

The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (JCR-3059) Add JCR 2.0 constants

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved JCR-3059.
-----------------------------------

    Resolution: Won't Fix

Agreed, and yes I think deprecating JcrConstants makes sense

> Add JCR 2.0 constants
> ---------------------
>
>                 Key: JCR-3059
>                 URL: https://issues.apache.org/jira/browse/JCR-3059
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrConstants.java.patch
>
>
> The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JCR-3059) Add JCR 2.0 constants

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090090#comment-13090090 ] 

Michael Dürig commented on JCR-3059:
------------------------------------

The class comment specifically mentions JCR 1.0 only. I think we should change that too then.

> Add JCR 2.0 constants
> ---------------------
>
>                 Key: JCR-3059
>                 URL: https://issues.apache.org/jira/browse/JCR-3059
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrConstants.java.patch
>
>
> The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3059) Add JCR 2.0 constants

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated JCR-3059:
----------------------------------

    Attachment: JcrConstants.java.patch

> Add JCR 2.0 constants
> ---------------------
>
>                 Key: JCR-3059
>                 URL: https://issues.apache.org/jira/browse/JCR-3059
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrConstants.java.patch
>
>
> The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JCR-3059) Add JCR 2.0 constants

Posted by "angela (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090116#comment-13090116 ] 

angela commented on JCR-3059:
-----------------------------

as of JCR 2.0 the name constants defined by the spec are present in the expanded form with the interfaces (Node, Property, NodeType).
that's why we didn't update the JcrConstants... apart from that the JcrConstants are a bit problematic as the namespace prefixes might
be remapped on a session level.

that's why i would rather opt for wontfix.

> Add JCR 2.0 constants
> ---------------------
>
>                 Key: JCR-3059
>                 URL: https://issues.apache.org/jira/browse/JCR-3059
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrConstants.java.patch
>
>
> The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JCR-3059) Add JCR 2.0 constants

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090119#comment-13090119 ] 

Jukka Zitting commented on JCR-3059:
------------------------------------

Agreed with Angela. Perhaps we should go on and mark the current JcrConstants interface as deprecated, pointing to the constants in the JCR 2.0 API as preferred replacements.

> Add JCR 2.0 constants
> ---------------------
>
>                 Key: JCR-3059
>                 URL: https://issues.apache.org/jira/browse/JCR-3059
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.2.7
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>         Attachments: JcrConstants.java.patch
>
>
> The JcrConstants class is missing some JCR 2.0 constants. This patch adds them

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira