[ expat-Patches-546540 ] Patch for Bug #546534

noreply@sourceforge.net noreply@sourceforge.net
Tue Apr 23 13:57:06 2002


Patches item #546540, was opened at 2002-04-20 13:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=546540&group_id=10127

Category: None
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for Bug #546534

Initial Comment:
This patch contains another change to the modified
patch that was used to close the original bug # 476929.

It also has the XML_UNICODE patch #476931 merged in.
The modifications have been applied against the 
following file revisions for expat.h and xmlparse.c:
rev. 1.14 for expat.h
rev. 1.26 for xmlparse.c

I left my comment in the files.
Comments regarding the NSTriplet fix are 
annotated "/kw1",
and comments regarding the XML_UNICODE patch are 
annotated "/kw2".

In addition to the existing XML_UNICODE patch
#476931 I also patched the version macro to work
for XML_UNICODE.

I have to add, that this XML_UNICODE patch will not
work when XML_UNICODE is defined, but not 
XML_UNICODE_WCHAR_T, due to the way XML_T works
(for the strings constants).

To make the attached files usable, one has to do
two things:
1) change the Windows style line breaks to Unix
   (CRLF --> LF)
2) remove all my comments

After that, one can run a diff, to see what I changed.

Regards,

Karl





----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2002-04-23 16:56

Message:
Logged In: YES 
user_id=290026

Checked in a modified version of this patch, that should 
also work for XML_UNICODE defined without 
XML_UNICODE_WCHAR_T.
(expat.h rev. 1.16, xmlparse.c rev. 1.27).

Fixes bugs 476929 and 546534 (hopefully).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=546540&group_id=10127