Click to See Complete Forum and Search --> : Underscore prevents well-formdedness


JSchwarz
10-31-2006, 01:00 PM
Hi. I am trying to create an XML file out of an Excel spreadsheet. I am using Altova XMLSpy. I can paste the data from Excel into XMLSpy; however, when I check well-formdedness, it gives the following error:

Name ( (Letter|'_'|':')(Name-Character)* ) expected!

I'm not sure what this means, but I think it is complaining about one of the email addresses in the data which has an underscore character in it.

What does this error mean?

Also, since I can't change the data, how do I fix the problem?

Thanks,
-Jeff

JSchwarz
11-01-2006, 01:36 PM
The problem was actually ampersands (&) in the data. When I replaced them with the entity reference (&), everything worked.