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] 0x25?
- Date: Mon, 31 Mar 2003 13:19:32 -0500
At 7:35 AM -0800 3/31/03, Nils_Kilden-Pedersen AT Countrywide.Com wrote:
I'll bring this up over on sax-devel, but I suspect the Sun parser is
buggy. Which parser are you using. Crimson?
Xerces 2.4.0
Are you sure? You cited documentation from the Sun site, and if you've got Java 1.4 or the JWSDP or some such from Sun installed, you might well be using Crimson even if you also have Xercces installed.
--
+-----------------------+------------------------+-------------------+
| 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 Mar 31 13:39:10 2003Return-Path: <Nils_Kilden-Pedersen AT Countrywide.Com>
Delivered-To: xom-interest AT lists.ibiblio.org
Received: from simsmtp1.cwdir.com (simsmtp1.cwdir.com [63.166.226.150])
by happyhouse.metalab.unc.edu (Postfix) with SMTP id 9593B200A0
for <xom-interest AT lists.ibiblio.org>;
Mon, 31 Mar 2003 13:39:10 -0500 (EST)
Received: from 63.166.226.133 by simsmtp1.cwdir.com with ESMTP ( (MMS
v5.0)); Mon, 31 Mar 2003 10:39:06 -0800
X-Server-Uuid: 217DC97D-783B-48DA-932A-43F4820B4412
To: xom-interest AT lists.ibiblio.org
Subject: Re: [XOM-interest] 0x25?
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001
Message-ID: <OFF987589B.7611A906-ON88256CFA.0065DF5D AT countrywide.com>
From: Nils_Kilden-Pedersen AT Countrywide.Com
Date: Mon, 31 Mar 2003 10:38:01 -0800
X-Form: Reply
X-MIMETrack: Serialize by Router on Emerald/Servers/CWExternal(Release
6.0.1CF1 | March 06, 2003) at 03/31/2003 10:37:10 AM, Serialize
complete at 03/31/2003 10:37:10 AM
X-WSS-ID: 129654C02117033-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, 31 Mar 2003 18:39:11 -0000
"Elliotte Rusty Harold" <elharo AT metalab.unc.edu>
03/31/2003 10:19 AM
To: Nils_Kilden-Pedersen AT Countrywide.Com,
xom-interest AT lists.ibiblio.org
cc: Subject: Re: [XOM-interest] 0x25?
Are you sure? You cited documentation from the Sun site, and if you've got Java 1.4 or the JWSDP or some such from Sun installed, you might well be using Crimson even if you also have Xercces installed.
This is the exception I get when using a java.io.FileInputStream for the Builder:
java.lang.NullPointerException
at org.apache.xerces.parsers.AbstractSAXParser.setEntityResolver(Unknown Source)
at nu.xom.Builder.build(Builder.java:371)
at WriteFile.main(WriteFile.java:75)
Exception in thread "main"
This is the exception I get when using a java.io.File for the Builder.
nu.xom.MalformedURIException: URIs cannot contain 0x25
at nu.xom.Verifier.checkURI(Verifier.java:201)
at nu.xom.Node.setActualBaseURI(Node.java:169)
at nu.xom.Document.setBaseURI(Document.java:259)
at nu.xom.XOMHandler.startDocument(XOMHandler.java:74)
at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at nu.xom.Builder.build(Builder.java:550)
at nu.xom.Builder.build(Builder.java:401)
at nu.xom.Builder.build(Builder.java:438)
at WriteFile.main(WriteFile.java:74)
Exception in thread "main"
As you can see, both are from Xerces.
-
Re: [XOM-interest] 0x25?
, (continued)
- Re: [XOM-interest] 0x25?, luca passani, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Nils_Kilden-Pedersen, 03/27/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Nils_Kilden-Pedersen, 03/28/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/28/2003
- Re: [XOM-interest] 0x25?, Elliotte Rusty Harold, 03/29/2003
- Re: [XOM-interest] 0x25?, Elliotte Rusty Harold, 03/31/2003
Archive powered by MHonArc 2.6.24.