[xsd-users] Custom DOMLSParser
Boris Kolpackov
boris at codesynthesis.com
Thu Jul 7 10:26:32 EDT 2022
Carlos Wong <carloswong54 at gmail.com> writes:
> I am running into a new issue [...]
Please don't send a new question by replying to an existing message.
See posting guidelines, item #2 for details:
https://codesynthesis.com/support/posting-guidelines.xhtml
> where the embedded schema generated from xsdbin on a x86_64, does
> not work on a ARM processor.
The Xerces-C++ grammar serialization is pretty close to a memory
dump and is therefore both Xerces-C++ version- and target-specific.
In other words, you should only attempt to use a binary grammar
that was serialized with the xsdbin tool built for the same target
and with the same version of Xerces-C++.
The easiest way to achieve this is to serialize the grammar when
you build your application. Alternatively, you could pre-serialize
and distribute a bunch of serialized grammars and then select the
appropriate one during the build.
More information about the xsd-users
mailing list