On a computer that is running Microsoft Visual Studio, you try to use the Add Generated Items Wizard in a Microsoft BizTalk Server 2006 or Microsoft BizTalk Server 2004 project to generate an XML Schema definition language (XSD) schema. When you do this, the Add Generated Items Wizard may not generate an XSD schema and you may receive an error message that is similar to the following:
There were some errors generated during schema generation. Go to task list to view errors. Task list may be filtered, enable showing of all task list items to see schema generation errors.
This problem may occur when you try to convert a complex Document Type Definition (DTD) schema or a complex XML-Data Reduced (XDR) schema to an XSD schema.
To resolve this problem, use one of the following methods:
- Manually create an XSD schema.
- Use a third-party program to convert the complex DTD schema or the complex XDR schema to an XSD schema.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
When you try to use the BizTalk Schema Generator in Microsoft BizTalk Server to convert a complex DTD schema or a complex XDR schema to an XSD schema, the BizTalk Schema Generator parses the schema and tries to generate a valid XSD schema. The DTD schema and the XDR schema are older XML schemas that have been replaced by the XSD schema. The BizTalk Schema Generator in BizTalk Server 2004 does not support the conversion of complex DTD schemas or complex XDR schemas to an XSD schema.