XSD2Code problem with namespace

Apr 23, 2013 at 7:40 AM
I am using XSD2Code to generate C# class from XSD file.

I got stuck with the following problem.

XML file looks something like
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Notification xmlns="http://message.domain.com">
  <Object xmlns="http://type.domain.com" ID="97440" />
XML gets succefsully deserialized when xmls for Object is empty. But when there is a value like in the sample above, I get an error "Object reference not set to an instance of an object".

What could cause this error?