forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject apparent resolver troubles
Date Fri, 12 Sep 2003 03:57:33 GMT
Juan Jose Pablos wrote:
Subject: Re: cvs commit: xml-forrest/src/resources/schema catalog.xcat
>
> I think that this change fix that error
> 
> please can anyone cvs update -r FORREST_05_RC and test it?

This is not the source of the error that was described in the
other thread. The entity resolver has a special bootstrap resolver
that uses a local in-built copy of the catalog DTD. So it should
never need to go wandering on the net to get it. To prove this again,
i just disconnected from the network and the build works fine for me
(without this recent change below).

When i built that resolver.jar and committed it to cvs ages ago,
i built it with JDK-1.4 ... so could that be the problem, should
it be built with JDK-1.3 ?

Another possibility is that there is an old copy of resolver.jar
on the systems of the people who are having trouble. The old
resolver certainly did need to go on the net to get the catalog DTD.
This is what i have on my system ...
build.sh clean
find . -name 'resolver*.jar' -exec ls -l {} \;
...75064 Jul 20 18:31 ./lib/core/resolver-20030708.jar
...75064 Jul  8 17:50 ./tools/ant/lib/resolver.jar
That second one is copied there by the build from the lib/core/
Does the .jar on your system have the same file size as me (75064).
--David


> > cheche      2003/09/11 07:40:20
> > 
> >   Modified:    src/resources/schema catalog.xcat
> >   Log:
> >   Avoid forrest to validate to oasis site. It fails for users with proxy.
> >   
> >   Revision  Changes    Path
> >   1.23      +1 -2      xml-forrest/src/resources/schema/catalog.xcat
> >   
> >   Index: catalog.xcat
> >   ===================================================================
> >   RCS file: /home/cvs/xml-forrest/src/resources/schema/catalog.xcat,v
> >   retrieving revision 1.22
> >   retrieving revision 1.23
> >   diff -u -r1.22 -r1.23
> >   --- catalog.xcat	8 Sep 2003 06:18:11 -0000	1.22
> >   +++ catalog.xcat	11 Sep 2003 14:40:20 -0000	1.23
> >   @@ -2,8 +2,7 @@
> >    <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
> >    "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
> >    <!-- OASIS XML Catalog for Forrest -->
> >   -<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> >   -         prefer="public">
> >   +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> >    
> >    <!-- Document Type Definitions (current) -->
> >    <public publicId="-//APACHE//DTD Documentation V1.2//EN"
  


Mime
View raw message