Talk:Schemas/NIST-ITL
From Code Synthesis Wiki
Version(s) of XercesC++ for the sample to run under Cygwin?
I am trying to build it under Cygwin, and I'm not sure which version of XercesC++ needs to be installed. You mention that 3.0.x behaves differently than previous versions, but it's not clear which one I need to have to make the sample files work. Can you clarify?
Fuhrmanator 18:57, 1 April 2009 (EDT)
With the proposed fix to the schema, both Xerces-C++ 2.8.0 and 3.0.x should work.
Boris 16:04, 31 March 2009 (EDT)
Ok - Cygwin compilation (using Xerces-2.8.x) gave us two problems, the first of which we found a work-around. However, the latter is tougher.
- The generated code (DocumentIntelligenceCategoryCodeSimpleType.[ch]xx) has an enumeration that takes a value of SIGINT, which I think is a collision with the standard Unix-like signals. The error the compiler gives is something about an invalid constant defined in an enumeration. So, we just renamed that enum value in the generated code and that problem went away. Is there a better way to fix this in an XSD config file?
- The ld (linker) command finally crashes with an "internal error" asking us to report it to the developers.
For the time being, we've decided to run Linux under VMWare so we can make some progress with this. We'll skin the Cygwin cat later...
Fuhrmanator 19:08, 1 April 2009 (EDT)