Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposed commits to make addAttribute() have a prefix parameter #6

Merged
merged 1 commit into from
Jan 19, 2012

Conversation

SyamGadde
Copy link

Add a prefix parameter to addAttribute(). Change all calls to addAttribute to specify a prefix. For any "type" attributes, they are now qualified with the "prov" prefix. Any other explicitly named attributes are given the "ni" prefix. That leaves attributes whose names are data-driven (like environment variables), and for now these get a NULL prefix. addAttribute() allows prefix to be NULL, but W3C PROV may require that attributes have a namespace prefix so this may need to be revisited.

…ibute to specify a prefix. For any "type" attributes, they are now qualified with the "prov" prefix. Any other explicitly named attributes are given the "ni" prefix. That leaves attributes whose names are data-driven (like environment variables), and for now these get a NULL prefix. addAttribute() allows prefix to be NULL, but W3C PROV may require that attributes have a namespace prefix so this may need to be revisited.
@satra
Copy link
Member

satra commented Jan 19, 2012

hi syam, thanks for fixing these namespace issues. hopefully we will have everything in a namespace we can refer to soon. we had a good discussion today and probably will have a briefing at the next derived_data meeting.

@satra satra closed this Jan 19, 2012
satra added a commit that referenced this pull request Jan 19, 2012
proposed commits to make addAttribute() have a prefix parameter
@satra satra merged commit 787a68d into INCF:master Jan 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants