BUG: XML Designer cannot generate code for a dataset that has a localized table name in Visual C++ .NET 2003 (820647)



The information in this article applies to:

  • Microsoft Visual C++ .NET (2003)

SYMPTOMS

XML Designer provides a set of visual tools to work with XML schemas, ADO.NET datasets, and XML documents.

In Visual C++ .NET 2003, when you use XML Designer to generate code for a dataset that has a localized table name, you may receive the following error while compiling the solution:
Error: There was an error processing '.\newdataset.xsd'.
- Error generating code for DataSet 'newdataset'.
- System error. - Cannot generate identifier for name '_????'.

CAUSE

This problem occurs because the Visual C++ .NET 2003 compiler is not a Unicode compiler.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Prerequisite:
  • The English version of either Microsoft Windows 2000 or Microsoft Windows XP, with either the Korean or the Japanese language features enabled.
  • The English version of Microsoft Visual Studio .NET 2003

Steps to Reproduce the Behavior

  1. Start Visual Studio .NET 2003 and create a new project:

    On the File menu, point to New, and then click Project.
  2. Click Visual C++ projects under Project Types, and then click Windows Forms Application (.NET) under Templates.
  3. In the Name box, type Sample, and then click OK.
  4. On Project menu, click Add New Item.
  5. In the Add New Item dialog box, click DataSet under Templates.
  6. Name the file Newdataset, and then click Open.
  7. From XML Schema Toolbox, drag an element onto the Newdataset.xsd designer.
  8. Modify the element (first column) to any Korean word.

    Note Do not change the default type for the element.
  9. Build the solution.

    You may receive a compiler error that is similar to the one that is mentioned in the "Symptoms" section.

Modification Type:MinorLast Reviewed:1/11/2006
Keywords:kberrmsg kbXML kbCompiler kbbug KB820647 kbAudDeveloper