You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by Samaresh <Sa...@Sun.COM> on 2007/08/16 19:07:12 UTC

question about xml-commons resolver

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?


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?

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


Re: question about xml-commons resolver

Posted by Jacob Kjome <ho...@visi.com>.
The latest resolver release is 1.2 [1].  Download it here [2].

[1] http://xml.apache.org/commons/changes.html#version_xml-commons-resolver-1.2
[2] http://xml.apache.org/mirrors.cgi#binary


Jake

At 12:07 PM 8/16/2007, you wrote:
 >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?
 >
 >
 >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?
 >
 >java.io.IOException: Server returned HTTP response code: 504 for URL:
 >ftp://basename/./xcatalog
 >       at
 >sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConn
 >ection.java:1152)
 >       at
 >sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnect
 >ion.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(CatalogManage
 >r.java:727)
 >       at 
org.apache.xml.resolver.CatalogManager.getCatalog(CatalogManager.java:754)
 >       at
 >org.apache.xml.resolver.tools.CatalogResolver.initializeCatalogs(Catal
 >ogResolver.java:124)
 >       at
 >org.apache.xml.resolver.tools.CatalogResolver.<init>(CatalogResolver.java:119)
 >       <my code>
 >
 >
 >Thanks
 >Samaresh
 >
 >
 >
 > 


Re: question about xml-commons resolver

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Samaresh.Panda@Sun.COM 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: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org