[ 
https://issues.apache.org/jira/browse/DAFFODIL-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095786#comment-17095786
 ] 

Mike Beckerle commented on DAFFODIL-2333:
-----------------------------------------

Clarification.

The line unfolding is replacing any occurrence of "\r\n\ " or "\n " with "" 
(CRLF and space, or LF and space)

The comment syntax is removing any line (or trailing part of any line?) from a 
"--" to end of line. 

> line folding layer that accepts LF or CRLF line endings and strips comments
> ---------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2333
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2333
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End
>    Affects Versions: 2.6.0
>            Reporter: Mike Beckerle
>            Priority: Major
>             Fix For: 3.0.0
>
>
> A user (depth.painter 'at' mail.com) requested line folding that removes a 
> variant of line-folding similar to already supported, but also strips out a 
> comment syntax. 
> bq. ....Line folding and line comments.
> bq. 
> bq. For line folding the layer transforms specifically the lineFolded_* 
> family looks promising however the two that are implemented don't match my 
> file specification because crlf%x20; and lf%x20; can both be used to fold 
> lines.
> bq. 
> bq. As for line comments I currently have some Comment elements peppered 
> throughout my schema however I'm sure I missed some. And that strategy isn't 
> even up to spec because comments are supposed to be ignored during parsing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to