smlfn:deref in assert [message #569153] |
Thu, 08 February 2007 11:38 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.05704 seconds