BizTalk Build Error: YourSchemaName.xsd: error BEC2009: Node “” – Schema reference “” is not a valid reference or does not ex ist in the current project.
We used the DTD to XSD converted to convert a DTD from one of our tr ading partners.
The schema began with this:
{!{code}!}czoyOTc6XCIKJmx0Oz94bWwgdmVyc2lvbj1cIjEuMFwiIGVuY29kaW5nPVwiVVRGLThcIiBzdGFuZGFsb25lPVwibm9cIj8mZ3Q7CiZsdDt4czp7WyYqJl19c2NoZW1hIHhtbG5zOnhzPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWFcIiBlbGVtZW50Rm9ybURlZmF1bHQ9XCJxdWFsaXtbJiomXX1maWVkXCImZ3Q7CiAmbHQ7eHM6aW1wb3J0IG5hbWVzcGFjZT1cImh0dHA6Ly93d3cudzMub3JnL1hNTC8xOTk4L25hbWVzcGFjZVwiLyZne1smKiZdfXQ7CiAmbHQ7eHM6Y29tcGxleFR5cGUgbmFtZT1cIkxFTkRFUl9MT0FOX1NFUlZJQ0VcIiZndDsKICAmbHQ7eHM6c2VxdWVuY2UmZ3Q7CntbJiomXX1cIjt7WyYqJl19{!{/code}!}
The solution was to remove this line:
{!{code}!}czo3MDpcIgogJmx0O3hzOmltcG9ydCBuYW1lc3BhY2U9XCJodHRwOi8vd3d3LnczLm9yZy9YTUwvMTk5OC9uYW1lc3BhY2VcIi8mZ3Q7CntbJiomXX1cIjt7WyYqJl19{!{/code}!}