-->
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.  [ 3 posts ] 
Author Message
 Post subject: Validator Constraint Mapping XSD
PostPosted: Tue Nov 30, 2010 12:08 pm 
Newbie

Joined: Wed Sep 10, 2008 2:31 pm
Posts: 16
I have been having issues with my XML mapping viewer not informing me about what possibilities are available to be used in my constraint-mapping.

When I go to the URL it doesn't seem to exist, could anyone point me in the right direction. I've looked around (especially on the hibernate docs) and I haven't found a different setup:


Code:
<constraint-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd"
   xmlns="http://jboss.org/xml/ns/javax/validation/mapping">


On the flip-side of this my Spring XML files are working appropriately.


Top
 Profile  
 
 Post subject: Re: Validator Constraint Mapping XSD
PostPosted: Tue Nov 30, 2010 1:01 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Seems to me you are missing a slash after mapping. The url is http://jboss.org/xml/ns/javax/validatio ... ng-1.0.xsd


Top
 Profile  
 
 Post subject: Re: Validator Constraint Mapping XSD
PostPosted: Tue Nov 30, 2010 3:29 pm 
Newbie

Joined: Wed Sep 10, 2008 2:31 pm
Posts: 16
*cough* hrmm yeah. I'm going to go and sit in the corner now.

Although I will say that the doc also has the slash missing ;).

This is me now waiting in worry for you to come back and have some witty response that will keep me in the corner for longer.

Thanks!


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

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.