The same table (Table) cannot be the child table in two nested relations.


I"m getting this error when trying to load an XML document from a third party. I don't have the option of asking them to rename anything. Here's what i'm trying to accomplish.
DataSet _ds = new DataSet();
_ds.ReadXml(URL, XmlReadMode.InferSchema);
I tried InferSchema, IgnoreSchema and, of course, Auto.
I got the same error w/ Infer as Auto (above). With Ignore, I got an empty DataSet.
Please help!!!
10/8/2004 6:23:08 PM 7181 articles. 0 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 53

Get that url, and dump it to the browser.  It seems like it's not meant to be loaded into a dataset.  Or it's not formed properly.

You might have to use the xml dom for this one.
Kay Lee -
Infrastructure Group

- Code to live, but Live to code.
10/10/2004 5:03:37 AM
it's formed correctly according to the XML 1.0 standards... you are allowed to have nested tables... however, MS does'nt support it... i got confirmation of that yesterday... they say they will support it w/ Whidbey

thanks for the reply though... i'm looking into other options
10/10/2004 3:17:09 PM
nested tables is fine, but if you look at your original post, it leaves a lot to the imagination on what the problem could be.  You might want to consider using a stylesheet to transform the xml to a more appropriate schema for a dataset/datatable.  That might be a good option for you.
Kay Lee -
Infrastructure Group

- Code to live, but Live to code.
10/11/2004 11:54:58 AM

Web resources about - The same table (Table) cannot be the child table in two nested relations. -

Relation - Wikipedia, the free encyclopedia
Ternary relation , finitary relation in which the number of places in the relation is three. Ternary relations may also be referred to as 3-adic, ...

Scott Morrison's department is urging him to tackle workplace relations reform
Treasury is urging Scott Morrison to embark on major workplace relations reform, pointing to a report that recommend cuts to penalty rates as ...

Cabinet document reveals Turnbull Government under pressure to change industrial relations laws
The Turnbull Government is being pushed to change Australia's workplace relations system, a document obtained by the ABC reveals.

New Head Of City Community Relations Commission Owes Thousands In Back Taxes
Court records show Derek Anderson owes more than $12,000 in personal income tax to the state. Read more.

Basketball scoring a point in US-Cuba relations
... ties with Cuba by promoting solidarity through basketball in Havana. Havana, Cuba - People in Cuba have been relishing the easing of relations ...

Local Council on American-Islamic Relations Deals with Threats
"They want to create an environment where American-Muslims feel isolated, marginalized, and then they're more likely and easier to become radicalized, ...

Council On Foreign Relations President: There’s No World War Against ISIS
'Terrorism is not the sort of thing that can be eliminated or eradicated'

BWR Public Relations Hires Edwin Hayfron In New York Talent Office
Edwin Hayfron, formerly senior publicist with Premier PR, has joined BWR Public Relations in the talent office of the company’s New York office, ...

How to Manage Your Public Relations Agency
In the age of Independent Contractors, Short Term Employment and Instant Gratification, the relationships between public relations agencies and ...

Russia-Turkey Relations Heading Into 'Dead-End,' Putin Says as Turkey Refuses to Apologize for Downing ...
Russia and Turkey’s relations continued to deteriorate Thursday as Russian president Vladimir Putin said Turkey’s government was driving relations ...

Resources last updated: 12/20/2015 12:38:10 PM