Andrei Shakirin created ARIES-1610:
--------------------------------------

             Summary: Blueprint plugin: check namespace patterns instead 
conrete namespace
                 Key: ARIES-1610
                 URL: https://issues.apache.org/jira/browse/ARIES-1610
             Project: Aries
          Issue Type: Improvement
          Components: Blueprint
            Reporter: Andrei Shakirin


Currently blueprint plugin checks exact version of configured transaction and 
JPA namespaces in order to generate appropriate blueprint descriptor.

For example supported transaction namespaces are:
 * http://aries.apache.org/xmlns/transactions/v1.2.0
 * http://aries.apache.org/xmlns/transactions/v2.0.0

I would suggest to relax this check and validate only major version on the base 
of regular pattern. As a result, not only 1.2.0 version will be supported, but 
versions 1.1.0, 1.0.0 as well.

Solution should be safe for minor versions, because:
a) normally schema syntax haven't to be changed in incompatible way for 
different minor version;
b) unsupported generated extensions will be ignored at the runtime

Patch is attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to