Consultor Eletrônico



Kbase P125968: READ-XML() generates a record validation error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/22/2009
Status: Verified

SYMPTOM(s):

READ-XML() generates a record validation error

Error reading XML file '<file>'. (13035)

READ-XML encountered an error while parsing the XML document: 'Element <element name> with attribute xsi:nil=true must be empty'. (13064)

READ-XML encountered an error while parsing the XML Document: <error>. (13064)

FACT(s) (Environment):

XML file is validated against the XSD file
In the XSD file, for a specific element: nillable="true" AND 'default' attribute is specified
OpenEdge 10.1B
OpenEdge 10.1C
OpenEdge 10.2A
All Supported Operating Systems

CAUSE:

Bug# OE00158501

FIX:

Workaround:
Modify the XSD to remove the 'default' attribute where nillable="true"