# OD0001: XML is not well-formed: Invalid byte 1 of 1-byte UTF-8 sequence.

**URL:** <https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823>\
**Category:** Define.xml\
**Created:** [September 11, 2015, 1:53am UTC](https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823 "2015-09-11T01:53:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [September 11, 2015, 10:36am UTC](https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823/1 "2015-09-11T10:36:10Z")

</div>

This is a typical error when one does copy-past from Word documents or uses Excel for generation of define.xml. This is a Microsoft problem, not a define.xml or XML problem. Also see:

> **[Creating define.xml - best and worst practices](http://cdisc-end-to-end.blogspot.com/2015/03/creating-definexml-best-and-worst.html)**
>
> Define.xml is a CDISC standard , based on XML, allowing sponsors to provide metadata for SDTM, ADaM and SEND electronic submissions to the F...

and especially the comment of Lex Jansen at the bottom.

---

<div class="post-metadata">

**Author:** ![np](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@np](https://forum.certara.com/u/np)\
**Post date:** [September 17, 2015, 5:39pm UTC](https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823/2 "2015-09-17T17:39:26Z")

</div>

Thanks. That was indeed the problem. There were some characters entered as ‘symbols’ from word/excel. It would be very helpfull if the validator provided line numbers for these types of errors.

---

<div class="post-metadata">

**Author:** ![lexjansen](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lexjansen](https://forum.certara.com/u/lexjansen)\
**Post date:** [September 17, 2015, 6:39pm UTC](https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823/3 "2015-09-17T18:39:09Z")

</div>

You can blame this one on Microsoft. In XML you need to be really strict with your character encodings.

---

<div class="post-metadata">

**Author:** ![np](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@np](https://forum.certara.com/u/np)\
**Post date:** [September 11, 2015, 1:53am UTC](https://forum.certara.com/t/od0001-xml-is-not-well-formed-invalid-byte-1-of-1-byte-utf-8-sequence/823/4 "2015-09-11T01:53:38Z")

</div>

Can u explain what this error means and how can i remedy this?

Thanks.
