summaryrefslogtreecommitdiff
path: root/libxerces-c/README-DEV
diff options
context:
space:
mode:
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: