close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#270 closed defect (fixed)

Include BST removes tailing spaces of text elements

Reported by: Javier Portugal Owned by: danirus
Priority: normal Milestone:
Component: SetAlgebra Version: head
Severity: normal Keywords:
Cc:

Description

See next example.
When using IncludeBST, it's expected to get set element's as they were saved!!
Create a structure
Struct PruebaSt
{

Text TextUno,
Text TextDos

};
Structured set with more than one space in text elements
Set miSet = SetOfSet(

PruebaSt("Cadena 1 con mas de un espacio al final ", "y yo tb "),
PruebaSt("Cadena 2 con mas de un espacio al final ", "y yo tb "),
PruebaSt("Cadena 3 con mas de un espacio al final ", "y yo tb ")

);
Save BST file
Set BSTFile(miSet, "C:/prueba.bst");
Open BST file
Set miSet2 = IncludeBST("C:/prueba.bst");
Set miSet2 doesn't have tailing spaces at end of texts

Change History (2)

comment:1 Changed 20 years ago by danirus

Resolution: fixed
Status: newclosed

Hi Javi,

I've just commited something that resolves the problem.
I think this matter should be advice in some mailing-list (tol-devel or
desarrollo-tol).

comment:2 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000270
Note: See TracTickets for help on using tickets.