xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Lowell Kirsh <lowellk AT gmail.com>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] very strange behavior
- Date: Thu, 17 May 2007 07:39:14 -0400
Lowell Kirsh wrote:
Here is the code that's been causing trouble:
import java.io.*;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.*;
import nu.xom.*;
public final class XomUtil
{
private XomUtil() {} // no instances
private static final XMLReader xmlReader;
static {
try {
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
xmlReader = parserFactory.newSAXParser ().getXMLReader();
It shouldn't matter but you're not setting namesapce aware to true.
Do you have a sample doc?
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] very strange behavior,
Lowell Kirsh, 05/16/2007
-
Re: [XOM-interest] very strange behavior,
Elliotte Harold, 05/16/2007
-
Re: [XOM-interest] very strange behavior,
Lowell Kirsh, 05/16/2007
- Re: [XOM-interest] very strange behavior, Lowell Kirsh, 05/16/2007
-
Re: [XOM-interest] very strange behavior,
Elliotte Harold, 05/17/2007
-
Re: [XOM-interest] very strange behavior,
Michael Kay, 05/17/2007
- Re: [XOM-interest] very strange behavior, Elliotte Harold, 05/17/2007
-
Re: [XOM-interest] very strange behavior,
Michael Kay, 05/17/2007
- Re: [XOM-interest] very strange behavior, Elliotte Harold, 05/17/2007
-
Re: [XOM-interest] very strange behavior,
Lowell Kirsh, 05/16/2007
-
Re: [XOM-interest] very strange behavior,
Elliotte Harold, 05/16/2007
Archive powered by MHonArc 2.6.24.