XML Order Management Messages Are Not Validating Against XSD Schemas: "Value '' is not facet-valid with respect to pattern '(\d{4}-\d{2}-\d{2})' for type ..." (Doc ID 987144.1)

Last updated on AUGUST 04, 2016

Applies to:

PeopleSoft Enterprise SCM Order Management - Version 8.9 and later
Information in this document applies to any platform.

Symptoms

When generating the XSD schema for Messages such as:

SALES_ORDER_LOAD
SALES_ORDER_ACKNOWLEDGEMENT
SALES_ORDER_CHANGE_NOTICE

the following error is issued for all the dates fields which are NULL:

cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '(\d{4}-\d{2}-\d{2})' for type 'CANCEL_DATE_TypeDef'.

cvc-complex-type.2.2: Element 'CANCEL_DATE' must have no element [children], and the value must be valid.

 

Cause

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