Hi Aparajita,
I have the following code:
$map := """
bibShortRef: [Bibliography]short ref;
bibBlob: `idp.utils.GetTransformedBiblioXMLBlob`
"""
C_longint($rowSet)
$rowSet := RowSet.newFromCachedSelection(->[Bibliography];
$map;$maxRecords)
The idp.utils.GetTransformedBiblioXMLBlob basically applies a xslt
stylesheet to an XML record stored in a blob and then returns the
transformed data back as a blob. I then use <% write blob $row
{'bibBlob"} %> to write the data out (although seemingly an <% =row
{'bibBlob"} %> will do.
If I use RowSet.newFromCachedSelection, the data in the bubBlob row
is the same for each row. If I use RowSet.newFromSelection everything
is as expected (confirmed by dumping the rowset data)
From our previous discussions I know RowSet.newFromCachedSelection
uses arrays and I suspect it is not handling the blob data correctly.
I suspect this is a bug? Can you confirm.
Regards, Michael.
Active 4D v4.0.0 rc3, Mac OS X 10.4.2, 4D 2004.2
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/