You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2022/08/10 14:42:00 UTC

[jira] [Assigned] (DAFFODIL-2720) New Char Class Entities: LSP LSP* LSP+ SP* SP+

     [ https://issues.apache.org/jira/browse/DAFFODIL-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle reassigned DAFFODIL-2720:
---------------------------------------

    Assignee: Varun Zaver

> New Char Class Entities: LSP LSP* LSP+ SP* SP+
> ----------------------------------------------
>
>                 Key: DAFFODIL-2720
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2720
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Front End
>    Affects Versions: 3.3.0
>            Reporter: Mike Beckerle
>            Assignee: Varun Zaver
>            Priority: Major
>
> [DFDL wish list |https://cwiki.apache.org/confluence/display/DAFFODIL/DFDL+Wish+List]for DFDL future versions (DFDL v2), suggests the need for the LSP (within a line only) character class entity, and more recently we've encountered the need for SP* and SP+ as well. 
> The LSP entity has 3 flavors: %LSP; %LSP*; and %LSP+;  The "L" denotes within-a-line whitespaces, no line-ending characters, so really just space and tab. 
> The LSP matches exactly 1 such character, the LSP* matches zero or more, the LSP+ matches one or more.
> On unparsing, the LSP and LSP+ output exactly 1 space. The LSP* outputs nothing.
> The SP entity has 3 flavors also, but %SP; is already existing. %SP*; and %SP+; need to be created. These match zero or more, and one or more spaces (only) respectively. On unparsing SP* outputs nothing, SP+ outputs a single space. 
> This ticket is for implementing this new proposed/experimental feature for DFDL, which can be proposed for DFDL v2.0 inclusion
> A dfdlx property must be used to enable this feature. Without setting this property, the feature should be disallowed. (The diagnostic message should clearly state how to enable it however. Rather than just saying it's not allowed.)
> This feature requires a documentation page (wiki) also. 
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)