From Code Synthesis Wiki
This page contains information on using the 3D XML schema with XSD.
The following options are recommended to compile the 3DXML schema:
The 3D XML schema triggers the XERCESC-1546 bug in Xerces-C++ 2.7.0 and earlier. If you are planning to have validation enabled when parsing 3D XML instance documents, then you will need to apply the xerces-c-2.7.0-1546.patch patch to fix this bug. Xerces-C++ 2.8.0 and later have this bug fixed.