Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » COSMOS » smlfn:deref in assert
smlfn:deref in assert [message #569153] Thu, 08 February 2007 16:38
Eclipse UserFriend
Originally posted by: ana.manole.gmail.com

Hi,

when using deref in the test attribute of an assert (as below), I get
java.lang.NoSuchMethodException: For extension function, could not find
method org.apache.xml.utils.NodeVector.deref([ExpressionContext,] ).

any hints?
<xs:element name="SecurePayrollApplication" type="ex:ApplicationType">
<xs:annotation>
<xs:appinfo>
<sch:schema>
<sch:ns prefix="smlfn"
uri="http://schemas.serviceml.org/sml/function/2006/07"/>
<sch:pattern id="Firewall">
<sch:rule context=".">
<sch:assert test=
"smlfn:deref(HostOSRef)/ex:FirewallEnabled='true'">
Firewall is not enabled on the host operating system
</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
</xs:appinfo>
</xs:annotation>
</xs:element>

Thanks.
Previous Topic:SML-IF editor available
Next Topic:SML-IF import/export wizards available
Goto Forum:
  


Current Time: Wed Nov 26 13:04:26 GMT 2014

Powered by FUDForum. Page generated in 0.02721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software