My Oracle Support Banner

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 JULY 10, 2020

Applies to:

Oracle Java CAPS - Version 5.1.3 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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.