These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Namespace prefix 'hbm' is not defined
PostPosted: Tue Sep 02, 2008 7:02 pm 
Newbie

Joined: Tue Sep 02, 2008 6:56 pm
Posts: 2
Time to time we have problem

Could not compile the mapping document: Domain.Mapping.Resource.hbm.xml NHibernate.MappingException: Could not compile the mapping document: Domain.Mapping.Resource.hbm.xml ---> System.Xml.XPath.XPathException: Namespace prefix 'hbm' is not defined.

at MS.Internal.Xml.XPath.CompiledXpathExpr.UndefinedXsltContext.LookupNamespace(String prefix)
at MS.Internal.Xml.XPath.BaseAxisQuery.SetXsltContext(XsltContext context)
at MS.Internal.Xml.XPath.CompiledXpathExpr.SetContext(XmlNamespaceManager nsManager)
at System.Xml.XmlNode.SelectNodes(String xpath, XmlNamespaceManager nsmgr)
at NHibernate.Cfg.HbmBinder.GetMetas(XmlNode node)
at NHibernate.Cfg.HbmBinder.BindProperty(XmlNode node, Property property, Mappings mappings)
at NHibernate.Cfg.HbmBinder.CreateProperty(IValue value, String propertyName, Type parentClass, XmlNode subnode, Mappings mappings)
at NHibernate.Cfg.HbmBinder.PropertiesFromXML(XmlNode node, PersistentClass model, Mappings mappings)
at NHibernate.Cfg.HbmBinder.BindRootClass(XmlNode node, RootClass model, Mappings mappings)
at NHibernate.Cfg.HbmBinder.BindRoot(XmlDocument doc, Mappings mappings)
at NHibernate.Cfg.Configuration.AddValidatedDocument(XmlDocument doc, String name)

any suggestion about this problem ?

ASP.NET 2.0, Entity as separate DLL .
SysCache2 in use + MSSQL 2005


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.