[jdom-interest] DOMAdapter propose

Eugene Karpov karpov at sigma.ispras.ru
Wed Jan 9 11:00:03 PST 2002


What do you mean under "SAX driver class". Is it just a org.xml.sax.XMLReader 
implementation?

On Wednesday 09 January 2002 21:52, Jason Hunter wrote:
> With SAX you don't need adapters, you just pass in the driver class.
> JDOM works with any SAX parser.  Note JAXP isn't even a parser, it's
> only a parser front-end.
>
> -jh-
>
> Eugene Karpov wrote:
> > Cause JDOM do not provide SAXAdapters for parsers other then JAXP.
> >
> > ;)
> >
> > On Tuesday 08 January 2002 20:46, Jason Hunter wrote:
> > > Why would you use DOM to build from a URL when you can build faster
> > > with SAX?
> > >
> > > -jh-
> > >
> > > Eugene Karpov wrote:
> > > > I've a propose to add getDocument(java.net.URL url, boolean validate)
> > > > method to DOMAdapter interface.
> > > >
> > > > So, if original parser permit using URL as input, it will make
> > > > possible to use relative URLs for system DTDs and ENTITIES.
> > > > Otherwise, it will always possible to convert URL to InputStream.
> > > >
> > > > With current DOMAdapter interface I could not use relative system DTD
> > > > path for XML and corresponding DTD stored in JAR, cause it can not be
> > > > described in terms of java.io.File.
> > > >
> > > > --
> > > > B.R.
> > > > Eugene
> > > > _______________________________________________
> > > > To control your jdom-interest membership:
> > > > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@
> > > >your host.com
> > >
> > > _______________________________________________
> > > To control your jdom-interest membership:
> > > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yo
> > >urho st.com
> >
> > --
> > B.R.
> > Eugene

-- 
B.R.
Eugene



More information about the jdom-interest mailing list