From b7bd714e8bf71bc6f538b0b03964486efcca76dc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Jan 2022 20:06:49 +0300 Subject: Release version 3.2.3+4 - Make sure all source files are UTF-8-encoded. --- libxerces-c/README-DEV | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'libxerces-c/README-DEV') diff --git a/libxerces-c/README-DEV b/libxerces-c/README-DEV index 36386ed..b27a7ef 100644 --- a/libxerces-c/README-DEV +++ b/libxerces-c/README-DEV @@ -6,12 +6,12 @@ Symlink the required upstream files and provide our own implementations for auto-generated headers: $ ln -s ../upstream/LICENSE -$ ln -s ../../upstream/src/xercesc/{dom,framework,internal,parsers,sax,sax2,\ -validators,xinclude} xercesc/ +$ ln -s ../../upstream/src/xercesc/{dom,framework,internal,parsers,sax,sax2,xinclude} \ + xercesc/ $ ln -s ../../upstream/src/{stricmp,strnicmp}.{h,c} xercesc/ -$ mkdir xercesc/internal/ xercesc/util/ +$ mkdir xercesc/internal/ xercesc/util/ validators/ $ pushd xercesc/internal/ $ ln -s ../../../upstream/src/xercesc/internal/*.{cpp,hpp} ./ @@ -20,6 +20,11 @@ $ cd ../util/ $ ln -s ../../../upstream/src/xercesc/util/*.{cpp,hpp,c} ./ $ ln -s ../../../upstream/src/xercesc/util/{regx,FileManagers} ./ +$ cd ../validators/ +$ ln -s ../../../upstream/src/xercesc/validators/{common,datatype,DTD} ./ +$ mkdir schema +$ ln -s ../../../../upstream/src/xercesc/validators/schema/* ./ + Note that the main reasons for such a granular linking (we could just link upstream's internal/, util/, etc) are source code patching and reducing the number of preprocessor macros we need to deduce in xercesc/config.h (see the @@ -75,6 +80,16 @@ We also apply the following patches: $ git apply xercesc/inline-funcs-def-usage-order.patch +- Patch source files, so that they are properly UTF-8-encoded: + + $ cp --remove-destination ../upstream/src/xercesc/validators/schema/TraverseSchema.cpp \ + xercesc/validators/schema/ + + $ cp --remove-destination ../upstream/src/xercesc/util/XMLFloat.cpp \ + xercesc/util/ + + $ git apply xercesc/utf-8.patch + - Patch of the net accessor test, which by some reason exits with the zero status printing the diagnostics to stdout for some errors: -- cgit v1.1