xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Nils_Kilden-Pedersen AT Countrywide.Com, xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Easy schema validation
- Date: Mon, 7 Apr 2003 14:26:12 -0400
At 10:59 AM -0700 4/7/03, Nils_Kilden-Pedersen AT Countrywide.Com wrote:
Is there an easy way to validate an XML document (with no schema
reference) against a schema, in XOM?
Not as such, but if you use Xerces as your underlying parser you can set the necessary features and properties on it to do this before creating a SAXBuilder.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
From Nils_Kilden-Pedersen AT Countrywide.Com Mon Apr 7 16:02:45 2003Return-Path: <Nils_Kilden-Pedersen AT Countrywide.Com>
Delivered-To: xom-interest AT lists.ibiblio.org
Received: from simsmtp2.cwdir.com (simsmtp2.cwdir.com [63.166.226.151])
by happyhouse.metalab.unc.edu (Postfix) with SMTP id 7815E20124
for <xom-interest AT lists.ibiblio.org>;
Mon, 7 Apr 2003 16:02:42 -0400 (EDT)
Received: from 63.166.226.133 by simsmtp1.cwdir.com with ESMTP ( (MMS
v5.0)); Mon, 07 Apr 2003 13:02:27 -0700
X-Server-Uuid: 217DC97D-783B-48DA-932A-43F4820B4412
To: xom-interest AT lists.ibiblio.org
Subject: Re: [XOM-interest] Easy schema validation
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001
Message-ID: <OFBD40CFB9.213A92E2-ON88256D01.006E0BE5 AT countrywide.com>
From: Nils_Kilden-Pedersen AT Countrywide.Com
Date: Mon, 7 Apr 2003 13:02:27 -0700
X-Form: Reply
X-MIMETrack: Serialize by Router on Emerald/Servers/CWExternal(Release
6.0.1CF1 | March 06, 2003) at 04/07/2003 01:00:29 PM, Serialize
complete at 04/07/2003 01:00:29 PM
X-WSS-ID: 128F06D91380473-01-01
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
X-BeenThere: xom-interest AT lists.ibiblio.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: <xom-interest.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/xom-interest>,
<mailto:xom-interest-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/xom-interest>
List-Post: <mailto:xom-interest AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/xom-interest>,
<mailto:xom-interest-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Apr 2003 20:02:45 -0000
Isn't SAXBuilder part of JDOM?
"Elliotte Rusty Harold" <elharo AT metalab.unc.edu>
04/07/2003 11:26 AM
To: Nils_Kilden-Pedersen AT Countrywide.Com,
xom-interest AT lists.ibiblio.org
cc: Subject: Re: [XOM-interest] Easy schema validation
At 10:59 AM -0700 4/7/03, Nils_Kilden-Pedersen AT Countrywide.Com wrote:
Is there an easy way to validate an XML document (with no schema
reference) against a schema, in XOM?
Not as such, but if you use Xerces as your underlying parser you can set the necessary features and properties on it to do this before creating a SAXBuilder.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
-
Re: [XOM-interest] Easy schema validation,
Elliotte Rusty Harold, 04/07/2003
- <Possible follow-up(s)>
- Re: [XOM-interest] Easy schema validation, Elliotte Rusty Harold, 04/08/2003
Archive powered by MHonArc 2.6.24.