xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Make DOMConverter methods public?
- From: John Cowan <cowan AT mercury.ccil.org>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org, Wolfgang Hoschek <whoschek AT lbl.gov>
- Subject: Re: [XOM-interest] Make DOMConverter methods public?
- Date: Sun, 9 Nov 2003 15:19:47 -0500
Elliotte Rusty Harold scripsit:
> What should convert(Attr) do with a DOM object that represents a
> namespace declaration? i.e. where the name is xmlns or xmlns:prefix?
> XOM does not represent such attributes as Attribute objects. Should
> convert throw an exception here or should it return null? Does anyone
> have a strong preference on this one way or the other?
Yes. Throw an exception, for the same reason noted in my last post:
the user is doing the Wrong Thing.
--
Work hard, John Cowan
play hard, jcowan AT reutershealth.com
die young, http://www.reutershealth.com
rot quickly. http://www.ccil.org/~cowan
-
Re: [XOM-interest] Make DOMConverter methods public?,
Elliotte Rusty Harold, 11/09/2003
- Re: [XOM-interest] Make DOMConverter methods public?, John Cowan, 11/09/2003
-
Re: [XOM-interest] Make DOMConverter methods public?,
Wolfgang Hoschek, 11/10/2003
- [XOM-interest] Canonical XML in core?, Elliotte Rusty Harold, 11/10/2003
- Re: [XOM-interest] Make DOMConverter methods public?, Elliotte Rusty Harold, 11/10/2003
- Re: [XOM-interest] Make DOMConverter methods public?, Elliotte Rusty Harold, 11/10/2003
Archive powered by MHonArc 2.6.24.