#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 21 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000270 |
|---|

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).