Artifacts Associated With Ticket 27ff4ebe1c
Ticket change [2db5315133] (rid 160689) by usmankhalid on 2018-02-06 18:19:05:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hello I used tcl8.4.14 and ActiveTcl versions 8.4.14 and 8.6.7.0 cd as well. Where ldapx 0.2.4 version and with ActiveTCL ldapx 1.0 version available. I face the issue that ldapx parser is removing the spaces which we ldif format provides it. The following is the ldif input file prcoedure output desired output #### ## content of LDIF file dn: design data LOGICAL LIBRARIES: lib1 PARAMETERS: TOP ARCHITECTURE: structure TOP LIBRARY: lib TOP NAME: lib WORK LIBRARY: work dn: group #0 FILES: aaaaaaa bbbbbbbbb ccccccccccc dddddddddddd ## Finish content of LDIF file ## start of tcl procedure package require ldapx 0.2.4 # create input channel ::ldapx::ldif create liin # link it to the input file liin channel [open "file_in.txt" r] ::ldapx::entry create input_file # each liin reads a "dn" from the input file # read the first one with the design data liin read input_file set output1 [input_file get {logical libraries}] puts stdout "this is the information contained in dn design data" puts stdout $output1 #puts stdout "this is the information contained in the rest of dn" while {[liin read input_file] != 0} { set filelist [input_file get1 files] puts stdout [format {"%s"} $filelist] } return ## finish of tcl procedure # output of provided tcl file aaaaaaabbbbbbbbbcccccccccccdddddddddddd # expected output of provided tcl file aaaaaaabbbbbbbbb ccccccccccc dddddddddddd - foundin initialized to: "8.4.14 & 8.6.7"
- is_private initialized to: "0"
- login: "usmankhalid"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9483839b88c374516aab6c85bc13ba5f4f360aa6"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "usmankhalid"
- subsystem initialized to: "69. Other"
- title initialized to:
LDIF or LDAPx parser is not working properly: removes the desired ldif file format spaces
- type initialized to: "Bug"
Ticket change [2f8db99702] (rid 160776) by dgp on 2018-02-06 22:51:42:
- assignee changed to: "dgp"
- closedate changed to: "2458156.45257006"
- closer changed to: "dgp"
- icomment:
Problems with the package "ldapx" seem to belong here: https://core.tcl.tk/tcllib/tktnew
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"