On Tue, Jun 15, 2010 at 6:38 AM, Brent Daniel <[email protected]> wrote: > Hi, > There seem to be several policy otests failing because of XPath > expressions in the attachTo attribute. Is anyone looking at these? > > Brent >
Hi Brent I don't think so. In fact I don't think we've implemented any of the XPath functions described by section 4.4.3 of the policy spec. So if you want to have a go feel free to dive in. The code that applies XPath to the composite model can be found in modules/builder/.../PolicyAttachmentBuilderImpl [1]. It's currently run from the ModelBuilder [2] before the implementation hierarchy is processed. Simon [1] http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java [2] http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/PolicyAttachmentBuilderImpl.java -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
