468,785 Members | 1,705 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,785 developers. It's quick & easy.

Unable to convert input xml file content to a DataSet/Invalid 'name' attribute value

Anders Jansson was a guest here, and he was having problem:

When I try to build the web, this error is displayed:
Error 5 Unable to convert input xml file content to a DataSet.
Invalid 'name' attribute value 'Företag': 'The '¶' character, hexadecimal
value 0xB6, at position 2 within the name, cannot be included in a name.'.
<start path>My
Webs\ProAra\wwwroot\App_Code\kappsegling\ProAra.Ka ppSegling.rorsmandataset.xsd

This applies to all Dataset definitiion files with Swedish characters used
to specifiy elements in a database table. The problem seems to be that the
xsd file can't handle Swedish characters as åäö. Locale is set to

Well, I also had this problem! In my case, my tables in SQL Server are named in portuguese. Since I compiled my solution, Visual Studio 2005 was not able to understand the XSD, and showed me this error:

Unable to convert input xml file content to a DataSet. The 'blablabla' character, hexadecimal...blablabla.

I finally figured out a solution.

1 - I viewed the source code of the .XSD in the folder App_code
2 - I changed the first line of the xml within the source code:

it was:
<?xml version="1.0" encoding="utf-8"?>

and I changed to:
<?xml version="1.0" encoding="iso-8859-15"?>

Now everything were compiled just fine. No errors! :-)
If you are having problems to compile your web solution and you have table names in your own country language, try to change the xml encoding atribute within the XSD file.

Does anybody have a better work around?
Apr 5 '07 #1
1 3854
4,871 Expert 4TB
Thanks for sharing the solution. You may need to look at more localization articles to find a better solution :).
Apr 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Terje Sternes | last post: by
3 posts views Thread by Eric Lilja | last post: by
1 post views Thread by Markw | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.