Error Importing XSD File

1
I am trying to import an XSD file into an XML Schema object that looks like it is well structured. However, when I import, the Modeler gives me the following error message: Error: "There is no Unicode byte order mark. Cannot switch to Unicode." at line 0 column 0 of 'file:///C:/Users/mkump/Downloads/LWXSD.xsd'. Any pointers to help me figure out what is causing this error are greatly appreciated. By the way, I have imported other XSD files with no issue, so I think the problem is with the file itself.
asked
1 answers
2

Maybe this helps:

  • https://social.msdn.microsoft.com/Forums/en-US/750b76df-6728-47f3-8199-d9c2b9c9db44/there-is-no-unicode-byte-order-markcannot-switch-to-unicode-error-while-loading-with-xmldocument?forum=xmlandnetfx
  • http://stackoverflow.com/questions/29915467/there-is-no-unicode-byte-order-mark-cannot-switch-to-unicode

Is the encoding of your file conform the encoding specified in the xml file?

answered