Kepware Knowledge Base: Solution
An XML Validation Error is Received for Schema When Connecting to an MTConnect Agent
Last Update: 11/7/2018
Problem:
When attempting to connect to an MTConnect Agent on a device, users receive the "Read for the data items '<address>' on device '<device>' failed. Reason: 'XML Validation Error:' The node is neither valid nor invalid because no DTD/Schema declaration was found" error message.
Possible Cause:
The MTConnectDevices_x.x.xsd file-specified agent's XML file is a different version than the one installed with the server. The server installs MTConnectDevices_1.1.xsd, MTConnectStreams_1.1.xsd, and MTConnectError_1.1.xsd.
Solution:
Use a browser to connect directly to the MTConnect device and view the XML code being used. Then, follow the link to the specified XSD file location. Download the specified version of the MTConnectDevices_x.x.xsd file, in addition to MTConnectStreams_x.x.xsd and MTConnectError_x.x.xsd. Then, copy all three files to the \Drivers\MTConnect folder located in KEPServerEX V5's root folder. Leave the default V1.1 XSD files in that folder.
Note:
If the solution described above fails, contact the agent's Technical Support.
©
2022
PTC Inc. All Rights Reserved.