Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Exclusive Canonicalizer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Exclusive Canonicalizer
  • Date: Mon, 24 Jan 2005 15:02:37 -0800

How about decoupling the exclusive Canonicalizer CVS from the XPath impl by having

public final void write(Nodes nodes)

instead of:

public final void write(Document doc, String xpath, XPathContext context)

That way one can generate the node list to be serialized by exclusive canonicalization in any arbitrary way. For example one can use a list of nodes that has previously stored somewhere, or another XPath impl (provided the new Namespace eventually proves as stable).

Might be a better modularization and avoid unnecessary coupling...
Wolfgang.





Archive powered by MHonArc 2.6.24.

Top of Page