[xsd-users] Help me: Access Violation on optional element during serialization

Boris Kolpackov boris at codesynthesis.com
Wed Oct 28 10:34:32 EDT 2009


Hi James,

James Mei <jxmei3 at gmail.com> writes:

> The above elements are optional. If the elements do not exist in the
> xml file or I "reset()" the pointer (delete it), XSD works perfectly.
> If they are presented in the xml file, the parser and data structure
> works correctly. I can display all the members of the those optional
> class. However, when I pass the *SCL to the serialization function,
> "access violation" on the following code in string.txx

Which compiler is that, BCB or VC++? Are you using modified container.hxx? 
If you are using BCB or have modified XSD, I am afraid I won't be able to 
help you with this.

Boris



More information about the xsd-users mailing list