Kbase P147679: Error 13856 when trying to use READ-XML or READ-XMLSCHEMA method
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/2/2010 |
|
Status: Verified
SYMPTOM(s):
Error 13856 when trying to use READ-XML or READ-XMLSCHEMA method
Unable to create data-relation based on nested XML Schema elements '<element>' and '<element>'. (13856)
FACT(s) (Environment):
Using READ-XML method with nested XML schema elements
Using READ-XMLSCHEMA method with nested XML schema elements
OpenEdge 10.2x
All Supported Operating Systems
OpenEdge 10.1x
OpenEdge 10.2x
CAUSE:
The XML Schema contained nested Temp-Table definitions. If a data-relation is not explicitly defined in the XML Schema, there must be a single matching field in the parent and child Temp-Tables.
If neither of these conditions are met, then this error is expected behavior.
FIX:
Use the schema file generated using WRITE-XMLSCHEMA method with last parameter MinSchema set to FALSE.
Generating full schema will add specific relationship information so the nested Temp-Table definitions can be properly loaded.