Arnaud Le Hors wrote: > > Is there any case where you wouldn't want to reset the serializer when > calling serialize(Document)?
Not for serialize(Document), but yes for serialize(Node) and when you use DocumentHandler interfaces, specifically if you're serializing an external entity. I just want to keep the interface consistent so you have to call reset() regardless of how you use it. > Arkin, which "jury" are you referring to? Who's defining this? You, me, and everyone else that wants to use the serializers. Just tell me what you think works best, reset() or close(), and I'll get it added to the API. I can support either one. arkin > -- > Arnaud Le Hors - IBM Cupertino, XML Technology Group -- ---------------------------------------------------------------------- Assaf Arkin www.exoffice.com CTO, Exoffice Technologies, Inc. www.exolab.org
