I have a curious validation error in a wod file:
I have a component with an api defined as:
<?xml version="1.0" encoding="UTF-8"?>
<wodefinitions>
<wo class="SPRegistrationErrorConditional" wocomponentcontent="true">
<binding name="attributeTypeName"/>
<binding name="addressType"/>
<binding name="key"/>
<validation message="The error conditional must include either an
"attributeTypeName" or an "addressType" /
"key" pair.">
<or>
<unbound name="attributeTypeName"/>
<and>
<unbound name="key"/>
<unbound name="addressType"/>
</and>
</or>
</validation>
</wo>
</wodefinitions>
and I have a calling component withe the following in the wod file:
userNameAlert: SPRegistrationErrorConditional {
attributeTypeName = "userName";
}
This yield the following error message:
Severity and Description Path Resource Location Creation Time Id
The error conditional must include either an "attributeTypeName" or
an "addressType" / "key" pair. ElectronicCommerce/Components/
SPRegistration.wo SPRegistration.wod line 9 1159053334516 464023
This does not look right.
I am running Eclipse 3.2 and wolips 3348
Pierre
This archive was generated by hypermail 2.0.0 : Sat Sep 23 2006 - 19:35:15 EDT