Hi,
We have been given $$ by a client to develop a program in VB.NET that will take an ASCII file and convert it into XML based on a predefined schema that we are not at liberty to modify. Since we are new to this, we wanted to explore parsing the data, and use ReadXMLSchema and WriteXML to get the desired result.
However, when we use ReadXMLSchema, we get the error
"The same table (table_name) cannot be the child table in two nested relations."
We see where the "problem" is and by comments in cyberspace, apparently this is a shortcoming/bug in VB.NET. Some XML validators we tried do not choke on this, just VB.NET.
Has anyone encountered this error? Have you been able to work around it? Are our thoughts on the process (ReadXMLSchema, WriteXML) valid anyway? Sorry, no 3rd party tools allowed; must be all in VB.NET.
Thanks,
Jim
We have been given $$ by a client to develop a program in VB.NET that will take an ASCII file and convert it into XML based on a predefined schema that we are not at liberty to modify. Since we are new to this, we wanted to explore parsing the data, and use ReadXMLSchema and WriteXML to get the desired result.
However, when we use ReadXMLSchema, we get the error
"The same table (table_name) cannot be the child table in two nested relations."
We see where the "problem" is and by comments in cyberspace, apparently this is a shortcoming/bug in VB.NET. Some XML validators we tried do not choke on this, just VB.NET.
Has anyone encountered this error? Have you been able to work around it? Are our thoughts on the process (ReadXMLSchema, WriteXML) valid anyway? Sorry, no 3rd party tools allowed; must be all in VB.NET.
Thanks,
Jim