This content has been marked as final.
Show 3 replies
-
1. Re: inconcistency between security-config_5_0.xsd and xml te
anil.saldhana Aug 7, 2006 1:27 PM (in response to aloubyansky)Alex. This schema was designed long ago. Once you ensure that the tests fail, I will update the schema to a more correct state.
-
2. Re: inconcistency between security-config_5_0.xsd and xml te
aloubyansky Aug 8, 2006 3:23 AM (in response to aloubyansky)The test doesn't fail because of entity resolution. If it's fixed like
alex@ASTUDIO /cygdrive/e/cvsroot/jboss-head/testsuite/src/main/org/jboss/test/xml $ cvs diff DynamicLoginConfigUnitTestCase.java Enter passphrase for key '/home/alex/.ssh/identity': Index: DynamicLoginConfigUnitTestCase.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/xml/DynamicLoginConfigUnitTestCase.java,v retrieving revision 1.7 diff -r1.7 DynamicLoginConfigUnitTestCase.java 129c129,132 < return null; --- > int slash = systemId.lastIndexOf('/'); > String shortId = slash == -1 ? systemId : systemId.substring(slash + 1); > systemId = url.toExternalForm() + shortId; > return new InputSource(systemId);
then the test will fail.
It's not committed yet. I need to checkout the codebase from the SVN. -
3. Re: inconcistency between security-config_5_0.xsd and xml te
aloubyansky Aug 8, 2006 3:31 AM (in response to aloubyansky)And also this feature is missing:
unmarshaller.setFeature(Unmarshaller.SCHEMA_VALIDATION, true);