[jboss-jira] [JBoss JIRA] Commented: (JBMETA-161) XmlValidationUnitTestCase.testValidation failed
Jeff Zhang (JIRA)
jira-events at lists.jboss.org
Thu Jan 8 00:44:04 EST 2009
[ https://jira.jboss.org/jira/browse/JBMETA-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12445635#action_12445635 ]
Jeff Zhang commented on JBMETA-161:
-----------------------------------
11:20:11,487 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/client/JBossClient5_test4915.xml[1,15]: cvc-elt.1: Cannot find the declaration of element 'jboss-client'.
11:20:13,892 DEBUG [JBossEntityResolver] Cannot resolve [publicID=null,systemID=http://www.jboss.org/j2ee/schema/jboss-app_5_0.xsd]
11:20:14,635 DEBUG [JBossEntityResolver] Cannot resolve [publicID=null,systemID=http://www.jboss.org/j2ee/schema/jboss-app_5_0.xsd]
11:20:17,497 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/JBoss5xEverything_testBeanOnlyInJBoss.xml[8,22]: cvc-complex-type.3.1: Value '5.0' of attribute 'version' of element 'jboss' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.
11:20:20,645 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/JBoss5xMergeActivationConfig.xml[8,22]: cvc-complex-type.3.1: Value '5.0' of attribute 'version' of element 'jboss' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.
11:20:20,756 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/EjbJarJBossMerge_generic_jboss.xml[8,22]: cvc-complex-type.3.1: Value '5.0' of attribute 'version' of element 'jboss' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.
11:20:20,816 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/JBoss5xEverything_testEverything.xml[8,22]: cvc-complex-type.3.1: Value '5.0' of attribute 'version' of element 'jboss' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '3.0'.
11:20:20,953 ERROR [XmlValidationUnitTestCase] /home/jzhang/work/svn/jbossas/projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/ejb/JBoss42_testServiceRefQnameWithNS.xml[26,71]: Attribute "xmlns:session1" must be declared for element type "service-qname".
> XmlValidationUnitTestCase.testValidation failed
> -----------------------------------------------
>
> Key: JBMETA-161
> URL: https://jira.jboss.org/jira/browse/JBMETA-161
> Project: JBoss Metadata
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Jeff Zhang
> Assignee: Alexey Loubyansky
> Fix For: 1.0.0.GA
>
>
> junit.framework.AssertionFailedError: Zero invalid files among total of 158 expected:<0> but was:<6>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:277)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:195)
> at org.jboss.test.metadata.xml.XmlValidationUnitTestCase.testValidation(XmlValidationUnitTestCase.java:120)
> ....
> Both failed on Hudson and local
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list