Details
-
Feature Request
-
Resolution: Done
-
Major
-
3.1.3.Final
-
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.