XML Invalid xml structure- why?

 <?xml version="1.0" encoding="utf-8" ?>
- <DataTableToXml xmlns="http://www.yt.com/">
- <CustomerInfo>
- <CustomerInfo>

i'm gettting
error: A string literal was expected, but no opening quote character was found.

what i need to change in the xml structure?
Who is Participating?
Geert BormansConnect With a Mentor Information ArchitectCommented:
well, we can guess for days...
what you show us is not the original XML, but how Internet Exoplorer sees it, all mistakes corrected.

The "ééé" is not the problem. I assume it was proper UTF-8 before IE viualised it

The current error indicates that there is a space right before the xml declaration, or the first tag.
The first error indicated that you had an attribute value without quotes seperators

Can you please attach the original XML as a file?
or paste the source XML in the code snippet area?
I prefer attaching as a file


The characters in the text under the tag customer_name are invalid xml chars.
Sasha-NAuthor Commented:
you can write there any thing inside and still there be a error.
Are you validating this XML against a schema/DTD? Then you need to flow the schema/DTD.
Sasha-NAuthor Commented:
Sorry the error i have is
"whitespace is not allowed in this location"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.