-
I have validation working perfectly for reading an x12 payload (the custom report hook is awesome). However, when I try to use the same schema when writing , validation doesn't seem to be occurring. As always, thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@d-floyd - you will also need to set the control schema on the The reader automatically loads them, but not (yet) for the writer. I opened #283 for that enhancement. |
Beta Was this translation helpful? Give feedback.
@d-floyd - you will also need to set the control schema on the
EDIStreamWriter
. You can obtain one of the built-in control schemas usingSchemaFactory#getControlSchema
. For your example it would begetControlSchema("X12", new String[] { "00501" });
.The reader automatically loads them, but not (yet) for the writer. I opened #283 for that enhancement.