Are you using the setXXXX(int someName) or updateXXXX(int someName), when 
changing the value?

As far as I understand update works on the predefined value, where set attempts 
to add another new value to an array of the value (as if maxoccurs was higher 
than 1)

/Lenni

-----Original Message-----
From: Jürgen Mangler [mailto:[EMAIL PROTECTED] 
Sent: 29 May 2007 21:56
To: [email protected]
Subject: Possible Bug with InitialValue

a custom property is introduced:
* ref=xxxxx
* minoccurs=1, maxoccurs=1
* element xxxxx is of type xsd:integer

in the .rmd File the InitialValue is set for this property.

<InitialValue>
   <tns:xxxxx>0</tns:xxxxx>
</InitialValue>

After the generation of the server, without changing anything the 
following error occurs:

[ID = 'AboveMaximumPotential'] The property 
{http://xxxx.org/vienna/e1}xxxxx' has a maxOccurs value of 1. If the 
insertion were performed, there would be 2 instances of the property 
left, which is above the maximum.

Can somebody confirm this? This is maybe a bug. Maybe its internal set 
twice?

Jürgen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to