There is a bug in libxsd/xsd/cxx/tree/containers.hxx, line 362. The operator== overload for optional<> recurses infinitely. To fix, change "a == b" to "!a == !b" (or the logical equivalent). -- Ray Lischner, Proteus Technologies