At 11:17 AM 8/14/01 +0200, Keiron Liddle wrote:
>I have a bit of a problem with a change to the XMLRenderer.
>On line 203 it has:
>  + area.getGeneratedBy() + "\"");
>This means that every new run of fop with this renderer will produce a
>different result (as it puts in the object name which has memory address
>values). Thereby ruining diffs.
>can it be changed to do this instead?:
>  + area.getGeneratedBy().getClass() + "\"");
>what is the purpose of this bit of code?

Hi, Keiron

I had it in mind to achieve exactly this effect; it is tied to my fo:marker 
debugging, where I wanted to know exactly which object, not just the type.

I agree, this is restrictive for many purposes. Can I suggest YAS (Yet 
Another Switch) that can be passed on the command line when running the 
XMLRenderer. This option will alternate between the current functionality 
and the one you suggest (and yours would be the default). I think that for a 
number of reasons it is useful to keep the "debugging" capability available.

In any case, it would be nice to have a configurable xml diff utility that 
can be set up to ignore certain attributes.

Arved Sandstrom

Fairly Senior Software Type
e-plicity (
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to