Consultor Eletrônico



Kbase P114214: Error 13176 and 13040 the READ-XML method
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/03/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x

SYMPTOM(s):

Error 13176 and 13040 the READ-XML method

Unable to create data-relation based on nested Temp-Table elements. (13176)

Unable to infer Temp-Table or dataset schema from XML Data. (13040)

Attributes included in XML element.

CAUSE:

Bug# OE00127306

FIX:

This is not a bug. In this case Read-Xml is trying to infer schema from the data. Because of the attribute on the CustNum element, it is being inferred as a temp-table Custnum with fields custname and CustNum_Text(because of the text element of CustNum). Since CustNum is nested within the OrdersRow temp-table, read-xml has to come up with a data-relation based on matching fields in the OrdersRow and CustNum temp-tables. Since there is no matching field, read-xml fails.