Support for Vocabulary
----------------------

         Key: WSCOMMONS-29
         URL: http://issues.apache.org/jira/browse/WSCOMMONS-29
     Project: WS-Commons
        Type: Improvement

  Components: Policy  
    Reporter: Paul Nolan


The ws-policy specification talks about a concept called Vocabulary. In section 
3.2 it can be seen how the vocabulary is to be used in policy processing.

"An assertion whose type is part of the policy's vocabulary but is not included 
in an alternative is explicitly prohibited by the alternative."

To calculate the vocabulary of a policy requires building a list of every 
assertions QName  and the removing of duplicates. It is likely this will be a 
function that is required by axis2. I would imagine that it would be  useful to 
have a method on Policy to retrieve the vocabulary of the policy. If others 
agrees with me then please find  attached here a test case and a patch to add 
this functionality.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to