You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Steve Weston <pu...@hotmail.com> on 2007/01/25 16:32:52 UTC

creating xerces.jar using deprecated build

Hi,

We have an application that is using the Xerces-J 1.4.4 jar file to do its 
parsing.  Most everything is fine, except that its not properly handling 
some encoded characters (not changing a &amp; string to & and causing some 
strange data problems along the way as an example).

I've been looking at the Xerces-J 2.9.0 version which I'd like to use, but I 
don't want to rework the entire application to utilize this so I was trying 
to create the single xerces.jar file from this versions source code so I can 
drop that into our application (reading the documentation this seems 
possible for backward compatibility).

I'm having a lot of trouble with this as it continually tells me that it 
can't find certain files, even though I can see those files in the 
directory.

I've downloaded the binaries, the source, and the tools.  I unpacked the zip 
files into separate directories and then combined them all together into a 
single xerces-2_9_0 directory.  I added that to my classpath.  I'm trying to 
use the "ant build deprecated jar" command as the documentation indicates, 
but this is where I start running into problems with files not found, etc... 
.

Does anyone have any experience doing this?  Any hints as to what I am 
missing?  I've been reading the through the install documentation for this 
and as far as I can tell I'm following the directions, but they are a little 
thin so I may be missing something.

Any help would be greatly appreciated.
steve

_________________________________________________________________
Turn searches into helpful donations. Make your search count. 
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: creating xerces.jar using deprecated build

Posted by Jacob Kjome <ho...@visi.com>.
Are you accessing Xerces classes directly or via JAXP?  What JDK are 
you using?  What errors do you get?

Jake

At 09:32 AM 1/25/2007, you wrote:
 >Hi,
 >
 >We have an application that is using the Xerces-J 1.4.4 jar file to do its
 >parsing.  Most everything is fine, except that its not properly handling
 >some encoded characters (not changing a &amp; string to & and causing some
 >strange data problems along the way as an example).
 >
 >I've been looking at the Xerces-J 2.9.0 version which I'd like to use, but I
 >don't want to rework the entire application to utilize this so I was trying
 >to create the single xerces.jar file from this versions source code so I can
 >drop that into our application (reading the documentation this seems
 >possible for backward compatibility).
 >
 >I'm having a lot of trouble with this as it continually tells me that it
 >can't find certain files, even though I can see those files in the
 >directory.
 >
 >I've downloaded the binaries, the source, and the tools.  I unpacked the zip
 >files into separate directories and then combined them all together into a
 >single xerces-2_9_0 directory.  I added that to my classpath.  I'm trying to
 >use the "ant build deprecated jar" command as the documentation indicates,
 >but this is where I start running into problems with files not found, etc...
 >.
 >
 >Does anyone have any experience doing this?  Any hints as to what I am
 >missing?  I've been reading the through the install documentation for this
 >and as far as I can tell I'm following the directions, but they are a little
 >thin so I may be missing something.
 >
 >Any help would be greatly appreciated.
 >steve
 >
 >_________________________________________________________________
 >Turn searches into helpful donations. Make your search count.
 >http://click4thecause.live.com/search/charity/default.aspx?source=hmem
 >tagline_donation&FORM=WLMTAG
 >
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
 >For additional commands, e-mail: j-users-help@xerces.apache.org
 >
 >
 > 


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org