While creating the virtual service using CICS Copybook protocol, getting the below error in version 10.8.3.1.
DevTest 10.8.x or newer
From the error message, we verified the Copybook file and it had comments with double-hyphens in the comment.
*****************************************************************
* MAINTENANCE HISTORY *
* MR2------- FEB/2025 S. Name R00.0 A-24----- *
*****************************************************************
In XML, including in documents processed by Java 17, the string "--" (double-hyphen) is not permitted within the content of a comment.
Example of an XML comment:
Invalid: <!-- This is an invalid -- comment -->
Valid: <!-- This is a valid - comment -->
Valid: <!-- This is a valid - - comment -->
Attempting to parse an XML document with a double-hyphen within a comment (not as part of the <!-- or --> delimiters) will typically result in a parsing error or a fatal error
This is the reason why our XML parser was throwing the above error message.
Removed the comment with double hyphens from the Copybook file and the recorder was able to proceed fine and create VSM/SI