Re: question about xml-commons resolver

Michael Glavassevich <[email protected]>
Newsgroups gmane.text.xml.commons.devel
Message-ID <OFD5F1B89A.08B18FD9-ON8525733B.00645B6B-8525733B.006702FE@ca.ibm.com>
[email protected] wrote on 08/16/2007 01:07:12 PM:

> Greetings.
>
> I was curious about the status of resolver API. Looking at the
> commons page, xml-commons-resolver-1.0's last release was in Nov'02.
> Has there been any other releases after that?

Yes, xml-commons-resolver-1.2 was released November 2006. More details here
[1].

> I'm getting an IOE that comes from apache resolver code? Any idea if
> this is fixed in some later release. If not, what's the process of
> getting this resolved?

Might have been caused by this bug [2] which was apparently fixed in v1.2.
If not, your best bet is to contact Norm Walsh.

> java.io.IOException: Server returned HTTP response code: 504 for URL:
> ftp://basename/./xcatalog
>    at sun.net.www.protocol.http.HttpURLConnection.
> getInputStream(HttpURLConnection.java:1152)
>    at sun.net.www.protocol.ftp.FtpURLConnection.
> getInputStream(FtpURLConnection.java:356)
>    at java.net.URL.openStream(URL.java:1007)
>    at org.apache.xml.resolver.Catalog.parseCatalogFile(Catalog.java:875)
>    at
org.apache.xml.resolver.Catalog.parsePendingCatalogs(Catalog.java:779)
>    at org.apache.xml.resolver.Catalog.parseCatalog(Catalog.java:627)
>    at
org.apache.xml.resolver.Catalog.loadSystemCatalogs(Catalog.java:602)
>    at org.apache.xml.resolver.CatalogManager.
> getPrivateCatalog(CatalogManager.java:727)
>    at org.apache.xml.resolver.CatalogManager.
> getCatalog(CatalogManager.java:754)
>    at org.apache.xml.resolver.tools.CatalogResolver.
> initializeCatalogs(CatalogResolver.java:124)
>    at org.apache.xml.resolver.tools.CatalogResolver.
> <init>(CatalogResolver.java:119)
>    <my code>
>
>
> Thanks
> Samaresh

Thanks.

[1]
http://xml.apache.org/commons/changes.html#version_xml-commons-resolver-1.2
[2] http://issues.apache.org/bugzilla/show_bug.cgi?id=28719

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.