YashSaxena070 opened a new pull request, #3948:
URL: https://github.com/apache/streampipes/pull/3948

   This patch fixes an issue in the PLC4X S7 Advanced adapter where inline 
comments (e.g. //...) after a node definition cause schema parsing to fail.
   
   Example failing line:
   Param=%DB1281:0:REAL  // comment
   
   Previously, the parser treated the entire string (including the comment) as 
the datatype, leading to:
   Datatype %DB1281:0:REAL // comment is not supported
   
   Fix
   
   The parser now strips inline // comments before processing a node 
definition. Pure comment lines continue to be ignored. This update does not 
affect existing valid configurations.
   
   Added
   
   Inline comment sanitization inside parseNodeDefinition
   
   Result
   
   Inline comments work as expected and no longer break schema parsing.
   


-- 
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