Hi,

I am having some problems with getting the parser to work with disk 
files on MacOS8.6. The following code works fine up to the point of 
creating the FSRef  for the parent directory:

        DOMParser* parser = new DOMParser;
        const char * fName = "todo.xml\0";
        parser->parse(fName, false); // This is where the code fails

At this point an illegal instruction exception occurs deep in 
MacOSPlatformUtils.cpp  in the call XMLParsePathToFSRef_Classic(const 
XMLCh* const pathName, FSRef& ref)

        err = FSpMakeFSRef(&spec, &ref); // This is where the code fails

The spec has been created correctly and points at the correct directory.

Any suggestions appreciated, including examples of working code that 
I can use to test whether my version of the library has been built 
correctly.

Cheers
Stephen
-- 
__________________________________________________________________________
Dr. S J Marshall, Educational Technologist,
University Teaching Development Centre,
Victoria University of Wellington, PO Box 600, Wellington, New Zealand
Room: 10 Wai-Te-Ata 105; direct dial:+64-4-463 5205; fax:+64-4-463 5284
Home Page: http://www.vuw.ac.nz/~marshall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to