Xsd.exe options - how to ignore restriction error message?

I have the following error message:

C:\Users\humphrt\Desktop\AVV>xsd AVV038526.xml
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 2.0.50727.3038]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: There was an error processing 'AVV038526.xml'.
  - Cannot add constraint to DataTable 'REEL' which is a child table in two nest
ed relations.

If you would like more help, please type "xsd /?".

I confirmed my xml in W3.org, here

This document has been successfully validated as well-formed XML!

Is there a problem with xsd.exe that I don't know about? According to W3.org, I have well-formed xml. Because of this, I am surprised that xsd.exe gives me an error message.

I read several online posts about this issue. In one of these threads, a Microsoft employee suggested using the kernel xsd.exe option. I do not see the "explicit" specified in the xsd.exe documentation as an option.

I could use help to figure this out so that I can generate * .xsd from my * .xml file.

+5
source share

All Articles