[jboss-dev-forums] [Design the new POJO MicroContainer] - Possible problem with bean-deployer_2_0.xsd

david.lloyd@jboss.com do-not-reply at jboss.com
Thu Nov 6 11:51:25 EST 2008


IDEA does not like .xml files that use a namespace attached to the bean-deployer schema (since the extraction of the jboss-beans-common stuff into a separate file I suspect).  And the IDEA folks say that it's an XSD problem, as other validation tools come to the same conclusion.

The problem is that elements within top-level "bean" elements are all marked invalid.  The errors reported are as follows:

/home/david/src/java/microcontainer/trunk/kernel/src/main/resources/schema/bean-deployer_2_0.xsd
  |     Error:Error:line (139)rcase-RecurseLax.2: There is not a complete functional mapping between the particles.
  |     Error:Error:line (139)src-redefine.6.2.2: Group 'valueGroup' does not properly restrict the group it redefines; constraint violated:  'rcase-RecurseLax.2'.

Note that the error location is in the XSD file, not the jboss-beans.xml file that I'm actually validating.

Is this our problem or theirs?

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

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



More information about the jboss-dev-forums mailing list