Hi,

 

While validating an XML instance against its Schema I've got this
exception:

cvc-complex-type.3.2.2: Attribute 'xsi:nil' is not allowed to appear in
element 'CDIP'

 

Here is the XML istance portion:

<IN02 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns="http://www.cadit.it/SI/SIGS534";>

...

            <CDIP xsi:nil="true"/>

            ...

</IN02>

 

Here is the XML Schema portion:

...

<xsd:element name="CDIP" nillable="true" minOccurs="0">

...

 

Is it a Xerces Bug? (I use Xerces version that comes with JDK 1.5)

 

Thanks in advance

Andrea Tevoi

Reply via email to