https://issues.apache.org/bugzilla/show_bug.cgi?id=47941

--- Comment #4 from Harald G. Henne <afput...@web.de> 2009-10-19 03:45:36 UTC 
---
In the world of AFP a TLE is normally written out by the
two triplets 0x02 and 0x36. The max lenght of any triplet
is 254 bytes and this limit is the reason for the mentioned truncation. 
On the other side it is quite common to remove any trailing blanks 
of TLE values. 

I checked out the current trunk and the produced afp is not valid.

my afp dump:

    0xD3A090: TLE Tag Logical Element [322] (Offset 34)
              T02: Fully Qualified Name [6]
                   FQNType:    0x0B (Attribute GID)
                   FQNFmt:     0x00 (Character string)
                   FQName:     "JES0"
              T36: Attribute Value [46]
                   Reserved:   00 00 
                   AttVal:     "JES00927200       90INITIATION     REGULAR  "
                   (hex:)      D1 C5 E2 F0 F0 F9 F2 F7 F2 F0 F0 40 40 40 40 40 
                               40 40 F9 F0 C9 D5 C9 E3 C9 C1 E3 C9 D6 D5 40 40 
                               40 40 40 D9 C5 C7 E4 D3 C1 D9 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 F6 F9 F0 60 F5 F0 F1 40 40 40 F3 F9 
                   F0 60 40 F1 F2 F7 40 40 40 40 F2 F7 F2 F0 F0 F0 
                   F2 F1 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T80: Attribute Qualifier [8]
                   SeqNum:     0x00000000 (0)
                   LevNum:     0x00000001 (1)
    0xD3A090: TLE Tag Logical Element [340] (Offset 365)
              T02: Fully Qualified Name [6]
                   FQNType:    0x0B (Attribute GID)
                   FQNFmt:     0x00 (Character string)
                   FQName:     "ACC1"
              T36: Attribute Value [64]
                   Reserved:   00 00 
                   AttVal:     "ACC1374316469000000    690-501    EN           
              "
                   (hex:)      C1 C3 C3 F1 F3 F7 F4 F3 F1 F6 F4 F6 F9 F0 F0 F0 
                               F0 F0 F0 40 40 40 40 F6 F9 F0 60 F5 F0 F1 40 40 
                               40 40 C5 D5 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 F0 F0 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 F0 F0 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T40: - unknown triplet - [62]
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
              T80: Attribute Qualifier [8]
                   SeqNum:     0x00000001 (1)
                   LevNum:     0x00000001 (1)
    0xD3A090: TLE Tag Logical Element [124] (Offset 714)
              T02: Fully Qualified Name [6]
                   FQNType:    0x0B (Attribute GID)
                   FQNFmt:     0x00 (Character string)
                   FQName:     "ADR1"
              T36: Attribute Value [104]
                   Reserved:   00 00 
                   AttVal:     "ADR1MICKEY MOUSE                               
                                                      "
                   (hex:)      C1 C4 D9 F1 D4 C9 C3 D2 C5 E8 40 D4 D6 E4 E2 C5 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
                               40 40 40 40 40 40 
              T80: Attribute Qualifier [8]
                   SeqNum:     0x00000002 (2)
                   LevNum:     0x00000001 (1)
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to