You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Jeffrey Rodriguez <je...@hotmail.com> on 2000/09/26 21:54:52 UTC

Re: xerces 1.2.0 build... more

The version of stylebook-1.0-b2.jar under xml-xerces\java\tools that
works with unix is revision 1.7 (08/07) under the xml-xerces\java\tools
tree.
This version work fine for me under Linux and Solaris.

I will get back to this bug when I have more time but anybody else
feel free to take a stub at this.

Thanks,

        Jeffrey Rodriguez
        IBM Silicon Valley
        XML Development


>From: Barry Draper <ba...@informix.com>
>Reply-To: xerces-j-dev@xml.apache.org
>To: xerces-j-dev@xml.apache.org
>Subject: Re: xerces 1.2.0 build
>Date: Tue, 26 Sep 2000 11:46:03 -0700
>
>Jeffrey-
>Thanks much. Can you please send notification saying which snapshot build
>contains the fix? Also, just to clarify, when you say xml-stylebook jar, 
>what
>JAR file exactly do you mean, i.e., is it tools/stylebook-1.0-bX.jar ? Or
>is there
>a JAR called xml-stylebook.jar? I have not seen the latter.
>
>Thanks.
>Barry
>Are these the builds At 06:28 PM 9/26/00 +0000, you wrote:
> >Barry,
> >I am going to put the latest version of the xml-stylebook jar.
> >
> >The stylebook jar in Xerces today is an old version of the jar and it
> >has the unzip bug trap in Unix systems that you reported.
> >
> >The re-build version of the latest snapshot should fix your problem
> >with the caveat that it is a 1.2.x dependent version, as a matter
> >of fact you will not be able to build xml-stylebook with jdk 1.1.x
> >
> >This may have the bad effect that make broke some of our 1.1.x automated
> >builds but that is life and our problem ( Our own internal problem).
> >
> >Thanks,
> >                   Jeffrey Rodriguez
> >                   IBM Silicon Valley
> >                   XML Development
> >
> >
> >
> >
> >>From: Barry Draper <ba...@informix.com>
> >>Reply-To: xerces-j-dev@xml.apache.org
> >>To: xerces-j-dev@xml.apache.org
> >>Subject: Re: xerces 1.2.0 build
> >>Date: Tue, 26 Sep 2000 10:54:28 -0700
> >>
> >>Jeffrey & Eric-
> >>I reported this several times, most recently last week using
> >>Sun JDK 1.2.2 with 1.1.3 Xerces-J. It is not just a problem in 1.1.x JDK
> >>based
> >>on my experience.
> >>You both told me this bug is fixed in 1.2.0 Xerces-Java.
> >>Yet, when I tried using the StyleBook from 1.2.0 Xerces-Java (in
> >>tools/stylebook-1.0-b2.jar)
> >>I got the same error again. Inspection of tools/stylebook-1.0.b2.jar and
> >>class StyleBook
> >>seems to show that it is the same version across 1.1.2, 1.1.3 and 1.2.0
> >>Xerces-Java.
> >>Is it possible that the versions of Xerces-Java you tested contain a
> >>different, fixed
> >>stylebook-1.0-b2.jar, and somehow that one didn't make it into the 
>released
> >>Xerces-Java?
> >>As far as I can tell, the bug is not definitely
> >>fixed. This bug now spans the last 3 releases of Xerces-Java. Can we
> >>please address this? I could help in the effort if necessary, although I 
>am
> >>not familiar with the StyleBook class and it would take some time to 
>ramp
> >>up.
> >>Included below is the mail I sent previously describing this bug.
> >>
> >>Barry Draper
> >>Informix Software, Inc.
> >>Oakland, CA
> >>Email: barry@informix.com
> >>
> >>Mailing-List: contact xerces-j-dev-help@xml.apache.org; run by ezmlm
> >>Precedence: bulk
> >>Reply-To: xerces-j-dev@xml.apache.org
> >>list-help: <ma...@xml.apache.org>
> >>list-unsubscribe: <ma...@xml.apache.org>
> >>list-post: <ma...@xml.apache.org>
> >>Delivered-To: mailing list xerces-j-dev@xml.apache.org
> >>Received: (qmail 74289 invoked from network); 21 Sep 2000 00:14:27 -0000
> >>Message-Id: <4....@pop0.oak.informix.com>
> >>X-Sender: barry@pop0.oak.informix.com
> >>X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
> >>Date: Wed, 20 Sep 2000 17:11:49 -0700
> >>To: xerces-j-dev@xml.apache.org, xerces-j-dev@xml.apache.org
> >>From: Barry Draper <ba...@informix.com>
> >>Subject: Re: Re: xml-xerces/java make docs
> >>In-Reply-To: <4....@pop0.oak.informix.com>
> >>References: <4....@pop0.oak.informix.com>
> >>  <04...@cupertino.ibm.com>
> >>  <4....@pop0.oak.informix.com>
> >>Mime-Version: 1.0
> >>X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> >>Content-Type: text/plain; charset="us-ascii"
> >>X-UIDL: e79b19476c1f8399b269bb33d2d97e50
> >>
> >>Ok, one more time. For the barrydocs target (my modification of docs
> >>target),
> >>  I saw that I had mistakenly changed docs/docs-book.xml to
> >>barrydocs/docs-book.xml.
> >>I just want the target directory to be barrydocs, and for docs to 
>contain
> >>the xml files
> >>I changed in the xerces-j/Makefile the reference to
> >>barrydocs/docs-book.xml back to docs/docs-book.xml so the target 
>barrydocs
> >>looks like this:
> >>
> >>< barrydocs:: ./src/classfiles_updated
> >><       @echo Building Stylebook docs in docs directory
> >><       ${MKDIR} barrydocs/html
> >><       $(STYLEBOOK) "targetDirectory=barrydocs/html" docs/docs-book.xml
> >>tools/style-apachexml.jar
> >>
> >>and ran Gmake barrydocs. This did produce the exact same error as Fleur
> >>Dragan
> >>reported:
> >>
> >>Gmake -f Makefile.docs barrydocs
> >>Building Stylebook docs in docs directory
> >>mkdir -p  barrydocs/html
> >>java -classpath
> >>"./tools/xalan.jar:./tools/xerces.jar:./src:./samples:./tools-1_2_0/styleboo
> >>k-1.0-b2.jar:.:/opt/depot/jdk-1.2.2/lib:/vobs/xml/xerces-j/bin/xerces.jar:/v
> >>obs/xml/xerces-j/bin/xercesSamples.jar:/vobs/xml/xalan-j/build/xalan.jar:/vo
> >>bs/xml/xalan-j/build/samples/xalansamples.jar"
> >>org.apache.stylebook.StyleBook "targetDirectory=barrydocs/html"
> >>docs/docs-book.xml tools/style-apachexml.jar
> >>[StyleBook] Overriding targetDirectory="barrydocs/html" (Old=".")
> >>[StyleBook] Project URL: "sbk:/sources/docs-book.xml"
> >>[BasicEngine] Initializing
> >>[Loader] Parsing Project file
> >>[XalanProcessor] Applying XSL sheet
> >>"sbk:/style/stylesheets/book2project.xsl"
> >>[Loader] Caught java.util.zip.ZipException
> >>[StyleBook] Caught org.apache.stylebook.LoadingException
> >>org.apache.stylebook.LoadingException: error in opening zip file
> >>         at org.apache.stylebook.Loader.load(Loader.java, Compiled Code)
> >>         at org.apache.stylebook.StyleBook.getProject(StyleBook.java,
> >>Compiled Code)
> >>         at org.apache.stylebook.StyleBook.main(StyleBook.java, Compiled
> >>Code)
> >>[StyleBook] Error creating project
> >>Gmake: *** [barrydocs] Error 3
> >>
> >>I am sorry for the confusion. I have gone back and forth with this 
>trying
> >>to debug it
> >>and hadn't looked at it for some time.
> >>So, I restate my original conclusion that the bug which Fleur reported
> >>still exists
> >>in 1.2.0 Xerces-Java and it appears to be an error opening a ZIP file. 
>The
> >>question is,
> >>which ZIP file? The only ZIP file I find is part of Xalan-Java. It is
> >>xalan-j/xdocs/xml-site-style.tar.gz.
> >>
> >>Barry
> >>
> >>
> >>
> >>At 04:09 PM 9/26/00 +0000, you wrote:
> >> >
> >> >This is a known problem in some Unix systems running jdk 1.1.x.
> >> >There are 2 sets of documents: javadoc and xml-stylebook generated.
> >> >The problem is with the xml-stylebook, it requires jdk 1.2.x or 
>better.
> >> >Xerces itself will run in 1.1.x but to build it you will need as I 
>said
> >> >jdk 1.2.x just for the xml-stylebook generated documentation.
> >> >
> >> >Hope this helps,
> >> >
> >> >             Jeffrey Rodriguez
> >> >             IBM Silicon Valley
> >> >             XML Development
> >> >
> >> >
> >> >>From: "Xerces User" <xe...@slib.fr>
> >> >>Reply-To: xerces-j-dev@xml.apache.org
> >> >>To: <xe...@xml.apache.org>
> >> >>Subject: xerces 1.2.0 build
> >> >>Date: Tue, 26 Sep 2000 16:51:41 +0200
> >> >>
> >> >>I
> >> >>
> >> >>I'm trying to rebuild the xerces 1.2.0 from source
> >> >>but build failed in make docs.
> >> >>
> >> >>Did someone have a patch or info available ?
> >> >>
> >> >>Thanks
> >> >>
> >> >>
> >> >>---------------------------------------------------------------------
> >> >>To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> >> >>For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >> >>
> >> >
> >> 
> >_________________________________________________________________________
> >> >Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
> >> >
> >> >Share information about yourself, create your own public profile at
> >> >http://profiles.msn.com.
> >> >
> >> >
> >> >---------------------------------------------------------------------
> >> >To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> >> >For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >> >
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> >>For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >>
> >
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> >For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
> >
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.