When you give something like "Foobar.xml" as the main file name, it will be
parsed via the XMLURL class. If that fails, which it will because its not a
valid absolute URL, that indicates that its probably a file name. So we
create a LocalFileInputSource object which will then look at that name and
say "Oh, that's got to be relative" and it will complete the path.

So, the obvious thing to look at is the logic in ReaderMgr that creates
readers. It does all of that logic. And trace it down into the
URLInputSource and LocalFileInputSource objects that it creates, which in
turn calls the platform specific stuff for file path completion.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



"David Nickerson" <[EMAIL PROTECTED]> on 04/02/2000 05:22:32 PM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:
Subject:  Re: IRIX changes ...



I have combined my changes with Matthew Baker's to give a reasonably simple
method of building the Xerces-C library using the native transcoder under
SGI IRIX 6.5 with MIPSpro 7.30 compilers.

Instructions and changed files can be found at
http://www.esc.auckland.ac.nz/People/Students/Nickerso/Xerces-C/index.html

The main point to note is that unless you have the -d flag on the
runConfigure command, relative paths do not appear to work. i.e. unless you
use a debug (or even an optimised debug) library, you always need to
specify
the absolute URI - file:/path/to/sample/sample.xml - rather than the
relative path!!

This appears to be the case whether you use the native or the ICU
transcoders. Any ideas ???


David.




Reply via email to