[xml] PATCH: Macintosh carbon library changes.

Title: PATCH: Macintosh carbon library changes.

I have posted this message before however the function was not fully internationalized for all locales I have made changes to my new function to reflect those changes.

I found that I needed libxml2 to work on the Macintosh in Carbon, not just in OS X. The product did not work correctly without making changes to the source code.  The problem was how file paths were treated. In a Mac OS X only application, the file paths were POSIX and so it worked correctly with libxml. Within a Carbon application the file paths used the Mac file system (A colon is used as the separator).  Libxml internally depends on a POSIX style path.

My solution was to change the path to a Mac style path just before the file path is used when calling file IO functionality.


Cameron C. Johnson

Software Developer

FileNet Corporation


ccjohnson FileNet com

Phone: (780) 433-3690 ext. 2225 (phone)

Fax: (780) 437-4381 (fax)

CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation.  Thank you.

Attachment: changes.txt
Description: changes.txt

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]