[jboss-dev-forums] [Design of JBossXB] - Re: How to force strict validation?

rob.stryker@jboss.com do-not-reply at jboss.com
Tue Feb 26 16:12:46 EST 2008


I'm sorry, Alexey. I forgot the most important part:

<?xml version="1.0" encoding="UTF-8"?>

<!--  Should Fail to validate -->




That's the data file I'm reading which is clearly missing the REQUIRED attribute "name".

<xsd:attribute name="name" type="xsd:string" use="required" /> 

So this *should* fail, yes? It's not failing. =/

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132315#4132315

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132315



More information about the jboss-dev-forums mailing list