Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] in-memory validation

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <cowan AT ccil.org>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] in-memory validation
  • Date: Tue, 7 Sep 2004 21:55:19 -0400

Wolfgang Hoschek scripsit:

> There seems to be quite a number of pitfals, inefficiencies and
> correctness problems around the issue, so perhaps a method such as
>
> - public void Builder.validate(Document) throws ... or
> - Document.validate(Builder)

I agree that this is excessively high-level for XOM (validate
against what?) but it's yet another argument for a method in
SAXConverter that returns a SAXParser object rather than
just accepting a ContentHandler object and firing events at it.
With that, it becomes easy to implicitly pass a XOM Document
to any application that expects to find and use a SAX parser.

--
One Word to write them all, John Cowan <cowan AT ccil.org>
One Access to find them, http://www.reutershealth.com
One Excel to count them all, http://www.ccil.org/~cowan
And thus to Windows bind them. --Mike Champion




Archive powered by MHonArc 2.6.24.

Top of Page