xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial)
- Date: Wed, 25 Sep 2002 14:05:34 -0400
At 12:18 PM -0500 9/25/02, Bradley S. Huffman wrote:
Or take the JDOM approach and throw a exception for any operation that follows
except for one's that would make it a well-formed document.
I considered that early on and rejected it. A Document object should represent a well-formed XML document, period. Clients should be able to rely on that.
What I'm really looking for is a solution that will cleanly solve the use-case while hiding the implementation ugliness inside the API. I could live with a malformed document or one with a fake root, provided there was no way to actually get a reference to such a thing.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
-
[XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
- [XOM-interest] Re: Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial), postmaster, 09/25/2002
-
[XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Bradley S. Huffman, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
- Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM, John Cowan, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
Bradley S. Huffman, 09/25/2002
-
Re: [XOM-interest] Re: [xml-dev] Underwhelmed (WAS: [xml-dev] XOM micro tutorial),
John Cowan, 09/25/2002
Archive powered by MHonArc 2.6.24.