Hi folks:

Ajith Ranabahu wrote:
AFAIK this happens during serialization. One thing we can do is it use
a instance wide counter (not a static jvm-wide one) so that everytime
a document is serialized, we start from the initial state of the
counter. I cannot think of any ill behaviors in doing that.

Absolutely! IMO if we're keeping a *static* counter that's definitely a bug. We should be behaving as you describe, starting from 1 each time we serialize.

We might have some difficulty doing this easily depending on how OMNamespace is working (I haven't been deep into this code in long enough that I don't recall exactly)... we need to make sure that the "placeholder" namespaces for autogenerated ones are resolved at serialization time, and not before.

Anyone up for looking into this?

--Glen

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

Reply via email to