DeltaXML Support Forums
| new topic post reply | DeltaXML Products and Applications -> DeltaXML Core -> traling balnk white space discrepancies!! |
traling balnk white space discrepancies!! | |
Posted:
23-July-2008 23:06 Hi, while upgrading to version 5.0 from 4.2 i found some trailing blank white spaces are truncated in the new version. i used the following filters(NormalizeSpace ,WordInfilter, OrphanedWordOutfilter, WordSpaceFixup and WordOutfilter). Source(A): <MyRoot>the highest cost Family Value Package in a given geographic area.</MyRoot> Source1(B): <MyRoot>the highest cost family value package in a given geographic area.</MyRoot> Result from version 4.2 : <deltaxml:PCDATAmodify><deltaxml:PCDATAold>Family Value Package </deltaxml:PCDATAold><deltaxml:PCDATAnew>family value package </deltaxml:PCDATAnew> result from version 5.0 : <deltaxml:textGroup deltaxml:deltaV2="A!=B"><deltaxml:text deltaxml:deltaV2="A">Family Value Packages</deltaxml:text> <deltaxml:text deltaxml:deltaV2="B">family value packages</deltaxml:text> </deltaxml:textGroup> So now if both these results are compared, the trailing blank white space is missing in the output/result of the new 5.0 version.Do I need to add any filter or config parameters to solve it, any help would be grateful!. | |
![]() | |
Posted:
23-July-2008 23:11 sorry, the result from version 5.0 was, <deltaxml:textGroup deltaxml:deltaV2="A!=B"><deltaxml:text deltaxml:deltaV2="A">Family Value Package</deltaxml:text><deltaxml:text deltaxml:deltaV2="B">family value package</deltaxml:text> </deltaxml:textGroup> | |
Slight optimization to spacing behaviour for word pipelines | |
Posted:
25-July-2008 18:24 Hello, [Prakmano also sent in some complete example files by email] The examples above don't really show the full picture; what is happening is that we've improved/optimized the 5.0 result. The 4.4 word filers/pipeline sometimes had a space at the end of both the old and new (PCDATAold/PCDATAnew) text after the processing by the various word filters. In 5.0 this space now appears immediately after the corresponding textGroup and is at the start of the unchanged content. Both results are correct deltas, but the 5.0 result is 'more optimal'. Any users/customers who need exact reproduction of the 4.x behaviour could consider using the comparator feature setting to generate the old (deltaV1) format and use the old filters provided in the FCP (Filter Compatibility Pack) available from our download page. See also: http://www.deltaxml.com/library/filters-and-pipelines.html http://www.deltaxml.com/library/filter-migration.html Cheers, Nigel | |
| new topic post reply |
To find out about new replies to this post as they occur please subscribe to one of these feeds: | ![]() ![]() | moderate |
traling balnk white space discrepancies!!
