none
Creating DataSet from XSD Failed RRS feed

  • Question

  • I've received a third party xsd that is failing to create a dataset when I try using the command

         xsd.exe /dataset /l:vb "C:\ThirdParty.xsd" /o:C:\Temp

    as well as the MSDataSetGenerator from within Visual Studio 2010.  When I use the command

         xsd.exe /classes /l:vb "C:\ThirdParty.xsd" /o:C:\Temp

    it completes successfully.  The error message that I'm receiving is

         nested table 'account' which inherits its namespace cannot have multiple parent tables in different namespaces

    The XSD file passes validation so I know that it is formed correctly.  Any suggestions on how to resolve this issue would be appreciated.

     

    Thank you

    Friday, March 16, 2012 12:04 PM