[jdom-interest] DOMAdapter propose

Jason Hunter jhunter at acm.org
Tue Jan 8 09:46:24 PST 2002


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@yourhost.com



More information about the jdom-interest mailing list