xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Builder.build(String) is misleading
- From: cowwoc <cowwoc AT bbs.darktech.org>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Builder.build(String) is misleading
- Date: Fri, 02 Apr 2010 13:25:19 -0400
Hi,
I propose removing Builder.build(String) because it is misleading. I am willing to bet that 99% of new users fall into the trap of using this method to parse an XML document from a String only to find out that the String actually represents a URL.
1. If you're expecting a URL, why not just ask for one instead of a String?
2. It doesn't help that if you pass in an XML document you end up with a cryptic error message.
Am I the first person to bring this up?
Gili
-
[XOM-interest] Builder.build(String) is misleading,
cowwoc, 04/02/2010
-
Re: [XOM-interest] Builder.build(String) is misleading,
Elliotte Rusty Harold, 04/02/2010
-
Re: [XOM-interest] Builder.build(String) is misleading,
Nils Kilden-Pedersen, 04/02/2010
- Re: [XOM-interest] Builder.build(String) is misleading, Michael Kay, 04/02/2010
- Re: [XOM-interest] Builder.build(String) is misleading, Elliotte Rusty Harold, 04/02/2010
-
Re: [XOM-interest] Builder.build(String) is misleading,
Nils Kilden-Pedersen, 04/02/2010
- <Possible follow-up(s)>
-
Re: [XOM-interest] Builder.build(String) is misleading,
cowwoc, 04/04/2010
- Re: [XOM-interest] Builder.build(String) is misleading, Michael Kay, 04/04/2010
-
Re: [XOM-interest] Builder.build(String) is misleading,
Elliotte Rusty Harold, 04/02/2010
Archive powered by MHonArc 2.6.24.