Sounds like you don't have an Id mapped. What's your Id property called?

On Thu, Jul 30, 2009 at 6:57 PM, ComradeF <[email protected]> wrote:

>
> Using release 536 and log4net, I'm seeing this error. I'm using
> AutoMappings.
>
> (XmlDocument)(3,6): XML validation error: The element 'class' in
> namespace 'urn:nhibernate-mapping-2.2' has invalid child element
> 'property' in namespace 'urn:nhibernate-mapping-2.2'. List of possible
> elements expected: 'meta, subselect, cache, synchronize, comment,
> tuplizer, id, composite-id' in namespace 'urn:nhibernate-mapping-2.2'.
> NHibernateMappingException: (XmlDocument)(3,6): XmlValidation error:
> The element 'class' in namespace 'urn:nhibernate-mapping-2.2' has
> invalid child element 'property' in namespace 'urn:nhibernate-
> mapping-2.2'. List of possible elements expected: 'meta, subselect,
> cache, synchronize, comment, tuplizer, id, composite-id' in namespace
> 'urn:nhibernate-mapping-2.2'. --->
> System.Xml.Schema.XmlSchemaValidationExpectation: The element 'class'
> in namespace 'urn:nhibernate-mapping-2.2' has invalid child element
> 'property' in namespace 'urn:nhibernate-mapping-2.2'. List of possible
> elements expected: 'meta, subselect, cache, synchronize, comment,
> tuplizer, id, composite-id' in namespace 'urn:nhibernate-mapping-2.2'.
> --- End of inner exception stack trace ---
>
> What other information would help?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to