cppagent icon indicating copy to clipboard operation
cppagent copied to clipboard

Custom Condition output from Agent with Upper Case X: instead of Lower Case x:

Open FALapGGH opened this issue 10 months ago • 6 comments

The issue is that when you create a Custom Condition such as x:CONDITION1000 it is output from the Agent with an Upper Case X:

The problem we have run into is that if you validate the localhost:5000/current Streams output against our Custom Streams Schema DevicesCustomDataStreams.xsd (which extends MTConnectStreams_1.3.xsd) it fails to validate due to the upper case X:. If we just change the upper case X to lowercase x then it will validate. We have tried to modify our DevicesCustomDataStreams.xsd to handle this but have not found a successful solution.

This issue appears to have appeared in the Agent around version 1.8. Prior to that the streams output was x:CONDITION1000.

Devices.xml: DataItem category="CONDITION" id="Condition1000" type="x:CONDITION1000" name="n.Condition1000"

Streaming Output: Normal dataItemId="Condition1000" name="n.Condition1000" sequence="52" timestamp="2024-12-20T20:50:34.551Z" type="X:CONDITION1000"

FALapGGH avatar Jan 31 '25 21:01 FALapGGH