[jdom-interest] DOMAdapter propose

Eugene Karpov karpov at sigma.ispras.ru
Wed Jan 9 09:10:01 PST 2002


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@yourho
>st.com

--
B.R.
Eugene

-------------------------------------------------------

-- 
B.R.
Eugene



More information about the jdom-interest mailing list