summaryrefslogtreecommitdiff
path: root/libxerces-c/README-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-01-12 20:06:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-01-12 22:16:01 +0300
commitb7bd714e8bf71bc6f538b0b03964486efcca76dc (patch)
treeccca063f1bc10615c92f7553e2950cbccf99df12 /libxerces-c/README-DEV
parentf8e003a4bcbebbf6592efd327a7d0e0f7a4aa184 (diff)
Release version 3.2.3+4v3.2.3+4
- Make sure all source files are UTF-8-encoded.
Diffstat (limited to 'libxerces-c/README-DEV')
-rw-r--r--libxerces-c/README-DEV21
1 files changed, 18 insertions, 3 deletions
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: