How to uncompress instance data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to uncompress instance data

mob-2
Hello,

Related to my earlier mail on using some automated test tool, I would seem to need to analyze instance
data coming out and going into page puts/gets. In order to understand instance passing I would like to
see what instance data is coming back to the test client. Currently I disabled encryption but data is still in a compressed format. What could I do to see the actual content ?

regards,
Balazs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to uncompress instance data

Erik Bruchez
Administrator
[hidden email] wrote:

 > Related to my earlier mail on using some automated test tool, I
 > would seem to need to analyze instance data coming out and going
 > into page puts/gets. In order to understand instance passing I would
 > like to see what instance data is coming back to the test
 > client. Currently I disabled encryption but data is still in a
 > compressed format. What could I do to see the actual content ?

 From XSLT, you can do things like:

   <xsl:value-of select="context:encodeXML($static-state)"/>
   <xsl:copy-of select="context:decodeXML(normalize-space(.))"/>

Declare the "context" namespace as:

   xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext"

This is used for unit tests here:

http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/src/examples/web/unit-tests/xforms-server/Attic/wrap-server.xpl?rev=HEAD&content-type=text/vnd.viewcvs-markup

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws