Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1855

Given a JCR Property object, retrieve local name and namespace URI

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.2.0.Final
    • 3.1.3.Final
    • JCR
    • None

    Description

      If I have a JCR Property object in hand, I would like an easy way to get the local name and namespace URI for that property (because I'm serializing the data into RDF/XML/etc).

      Currently (and in the JCR spec), it seems like you have to:

      • split the property by ":"
      • go query the namespace registry
      • get the namespace uri
      • get the local name (which, I believe, may need escaping for native rdf/xml use)

      It seems like this logic could be pushed into the Modeshape property API, at the very least.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            cbeer_jira Chris Beer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: