Error "Element <{}sign> is not allowed to have a nil value" when building XSD OTD in CAPS 5.1.3

(Doc ID 1301939.1)

Last updated on JANUARY 26, 2018

Applies to:

Oracle Java CAPS - Version: 5.1.3 and later   [Release: 5.1 and later ]
Information in this document applies to any platform.


In Java CAPS 5.1.3 GA the default attribute functionality for an element does not work and the following error occurs when trying to test an XSD OTD in the OTD tester:

Element <{}sign> is not allowed to have a nil value.

This happens when an element in the XSD is defined as follows:

<xs:element name="sign" type="xs:int" default="0"/>

and the XML message contains the following:


This works in the later CAPS 6U1 release and in 6.2.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms