Article - CS286359

XML Validation Error Received for Schema When Connecting to an MTConnect Agent in PTC Kepware Products

Modified: 02-Jan-2025   


Applies To

  • ThingWorx Kepware Server (legacy) 8.0 to 6.18
  • Kepware Server (formerly KEPServerEX) 5.20.396.0 to 6.18

Description

  • XML Validation Error when trying to connect to an MTConnect Agent in KEPServerEX / ThingWorx Kepware Server (KSE/TKS)
  • Unable to get data from kepware via MT connect
  • MTConnect Agent posts 'XML Validation Error' 
  • MTConnect driver posts error in event log 
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."

XML Validation Error: Element '{<urn>}<element>' is unexpected according to content model of parent element '{urn:mtconnect.org:MTConnectStreams:1.3}Events'.Expecting:
{urn:mtconnect.org:MTConnectStreams:1.3}Event
 
This is a printer-friendly version of Article 286359 and may be out of date. For the latest version click CS286359