Microsoft KB Archive/820647

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

Article ID: 820647

Article Last Modified on 1/11/2006

-

APPLIES TO


 * Microsoft Visual C++ .NET 2003 Standard Edition

-





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

Note Do not change the default type for the element.
 * 1) Build the solution.

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

Additional query words: xsd schema identifier dataset unicode

Keywords: kberrmsg kbbug kbxml kbcompiler KB820647

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.