On Tue, Mar 15, 2022 at 3:41 PM Mike Beckerle
>> > wrote:
>> >
>> > > No attached PDF.
>> > >
>> > > Removal of blanks from a number would normally be by way of DFDL
>> > "padding"
>> > > and "trimming" properties.
>> > >
&g
es.
> > >
> > > You need dfdl:textNumberJustification property, also textTrimKind,
> > > textPadKind, textNumberPadCharacter.
> > >
> > > You can also use textNumberPattern to indicate that a number may have
> > > leading spaces or zeros, but this
There are many people asking for various fixes to Daffodil.
You can certainly get the priority of a particular fix/feature increased by
advocating for it on dev or users mailing lists.
But,... (my recruiting hat on now... you know what is coming...) you could
also contribute the fix (and a test c
Mike
Appreciate the suggested workaround. I did incorporate/test your snippet
per Mar 16, 2022 at 12:21 PM [below] w/ following anticipated results:
[1]Satellite numbers w/ leading whitespace(s) yields lossless unparse
results.
[2]Satellite numbers w/ leading zero(s) or whitespace(s)+zero(s) yiel
I know you're preparing to release 3.3.0.
When do think this issue might be resolved? Which point release are you
targeting?
On a related subject, Daffodil implements a subset of XPATH function.
Might dev-team consider implementing all XPATH functions in lieu of
workarounds?
Thx in advance - Att
>> > You can also use textNumberPattern to indicate that a number may have
>> > leading spaces or zeros, but this is mostly about output when those
>> leading
>> > zeros are required.
>> >
>> > Padding on left == Right Jus
would normally be by way of DFDL
> >> "padding"
> >> > and "trimming" properties.
> >> >
> >> > You need dfdl:textNumberJustification property, also textTrimKind,
> >> > textPadKind, textNumberPadCharacter.
>
umber may have
>> > leading spaces or zeros, but this is mostly about output when those
>> leading
>> > zeros are required.
>> >
>> > Padding on left == Right Justified
>> > Padding on right == Left Justified
>> > Padding around both sides
; Padding on right == Left Justified
> > Padding around both sides = Center Justified.
> >
> >
> >
> > On Tue, Mar 15, 2022 at 8:53 AM Attila Horvath <
> attila.j.horv...@gmail.com
> > >
> > wrote:
> >
> > > Ping... any assistance appreciat
> wrote:
>
> > Ping... any assistance appreciated - thx
> >
> > -- Forwarded message -
> > From: Attila Horvath
> > Date: Mon, Mar 14, 2022 at 12:38 PM
> > Subject: string to integer conversion w/ leading blanks fails
> > To: ,
>
Ping... any assistance appreciated - thx
>
> -- Forwarded message -
> From: Attila Horvath
> Date: Mon, Mar 14, 2022 at 12:38 PM
> Subject: string to integer conversion w/ leading blanks fails
> To: ,
>
>
> ALCON
>
> Can someone pls suggest a way t
Ping... any assistance appreciated - thx
-- Forwarded message -
From: Attila Horvath
Date: Mon, Mar 14, 2022 at 12:38 PM
Subject: string to integer conversion w/ leading blanks fails
To: ,
ALCON
Can someone pls suggest a way to convert string to integer if/when leading
blanks
ALCON
Can someone pls suggest a way to convert string to integer if/when leading
blanks are present?
My attempts are failing - see attached pdf for more details.
Thx in advance
Attila
13 matches
Mail list logo