[jdom-interest] jdom & Jbuilder

Brian Wolf brianw at knowledgextensions.com
Tue Apr 16 16:22:20 PDT 2002


hi all,

this line compiles fine outside of Jbuilder, 

XMLReader parser = javax.xml.parsers.SAXParserFactory.newInstance().newSAXParser().getXMLReader();

but in Jbuilder, I get this error:

"topicform.java": Error #: 300 : method getXMLReader() not found in class javax.xml.parsers.SAXParser at line 95, column 84

these are my includes:

import org.jdom.Attribute;
import org.jdom.Comment;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.Text;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.jdom.output.XMLOutputter;

import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;

import org.jaxen.jdom.XPath;

import org.saxpath.SAXPathException;
import org.saxpath.XPathSyntaxException;

import net.sourceforge.streamdom.*;

import javax.xml.parsers.*;
import org.xml.sax.*;
import org.w3c.dom.*;
import java.util.*;



thanks, Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020416/4164e7a3/attachment.htm


More information about the jdom-interest mailing list