Namespace.title

2 views
Skip to first unread message

Philip Cooper

unread,
Feb 21, 2008, 1:59:13 PM2/21/08
to rdflib-dev
This is a pretty minor quibble but:

could we change Namespace.py to include a defined property title
Something like:

@property
def title(self):
return URIRef(self + 'title')

title is a pretty common fragment e.g.
dc = Namespace('http://purl.org/dc/elements/1.1/')
dc.title
fails .... to do the right thing that is.

I know dc['title'] is fine but ... well it's just a common case
for a number of namespaces.

--
Phil

Daniel Krech

unread,
Feb 21, 2008, 4:21:03 PM2/21/08
to rdfli...@googlegroups.com
I've created an issue for this and marked it as Milestone-Release2.5.
I've mostly been working off of the 3.0 branch I started a bit ago,
but we probably should make another 2.x release soon to get some of
these fixes and minor enhancements out. If people have issues they are
running into or better yet patches let's get them into the issue
tracker and marked as 2.5 -- this should help motivate making another
release.

--eik

Reply all
Reply to author
Forward
0 new messages