<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type><TITLE>RE: [jdom-interest] Namespace problems in Attributes...</TITLE><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>If you use the DOMBuilder class, you have to
tell it to use an adapter class for the parser you want to use. Pass it the
string in the constructor. The default is: </FONT><FONT color=#000000
size=2>org.jdom.adapters.XercesDOMAdapter - have a look at the
code.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>If you use the CAXBuilder class then pass the name of the
parser to use, again take a look at the code, the default is
org.apache.xerces.parsers.SAXParser.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>There is no Builder class now.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV><FONT face=Arial size=2><B>-----Original Message-----</B><BR><B>From:
</B>Eddy, Joel <<A
href="mailto:joel.eddy@medinex.com">joel.eddy@medinex.com</A>><BR><B>To:
</B><A
href="mailto:'philip.nelson@omniresources.com'">'philip.nelson@omniresources.com'</A>
<<A
href="mailto:philip.nelson@omniresources.com">philip.nelson@omniresources.com</A>>;
<A href="mailto:jdom-interest@jdom.org">jdom-interest@jdom.org</A> <<A
href="mailto:jdom-interest@jdom.org">jdom-interest@jdom.org</A>><BR><B>Date:
</B>27 July 2000 18:52<BR><B>Subject: </B>RE: [jdom-interest] Namespace
problems in Attributes...<BR><BR></DIV></FONT>
<DIV><FONT color=#0000ff face=Arial size=2>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=562413917-27072000>hmm i just downloaded the latest cvs... how would i
implement the builder interface now.. or import builder... im going off of
the excellent java and xml book from oreilly where you must
say</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=562413917-27072000>Builder builder = new DOM(or
SAX)Builder(file);</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=562413917-27072000></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=562413917-27072000>i
tried bypassing and just saying</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=562413917-27072000>DOMBuilder builer = blahblah</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=562413917-27072000>but then the build method is not present.. any
ideas?</SPAN></FONT></FONT><FONT face=Tahoma size=2>-----Original
Message-----<BR><B>From:</B> philip.nelson@omniresources.com
[mailto:philip.nelson@omniresources.com]<BR><B>Sent:</B> Thursday, July 27,
2000 9:50 AM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B> RE:
[jdom-interest] Namespace problems in Attributes...<BR><BR></DIV></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px"></FONT>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff solid 2px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<P><FONT size=2>how did you get the SAXBuilder working.. dont you
need the Builder class to get it to work ... WHO HAS THE BUILDER
CLASS... I NEED <FONT color=#0000ff face=Arial><SPAN
class=591155416-27072000> </SPAN></FONT></FONT></P>
<P><FONT size=2><FONT color=#0000ff face=Arial><SPAN
class=591155416-27072000>You are perhaps refering to a builder
interface class that has been removed from the JDOM source for
months now. Your messages seem to indicate to me you have some
really old code or possilby have some old JDOM verison in your
classpath.</SPAN></FONT></FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>