splatch commented on PR #352:
URL: https://github.com/apache/plc4x/pull/352#issuecomment-1103774437

   > Ther test.mspec contains vstring fields ... could you please elaborate on 
what is actually not working? In this case the test.mspec should be extended 
with an example that doesn't work. Then I'll take care of fixing this.
   
   I think it might be related to use of vstring inside data-io:
   ```
           ['STRING' List
               [simple vstring '8 * numberOfValues' value encoding='"UTF-8"']
           ]
           ['WSTRING' List
               [simple vstring '16 * numberOfValues' value encoding='"UTF-16"']
           ]
   ```
   
   For Java problem was that `case` statement was catching this as `List`, so 
there is a need to verify plain type put read from buffer. If its `String`, 
then output is not an array, but just an string. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to