@Test
    @Ignore("(!cn=a) is marked as invalid, but should be valid according to RFC-1960")
    @OSGiVersionSpecs({
        @OSGiSpec(version="4.1", sections={"3.2.6"}),
        @OSGiSpec(version="4.2", sections={"3.2.7"})
    })
    public void testSpecialCharactersInAttributes() throws InvalidSyntaxException {
        // Test the six illegal characters
        // '=' is a special case: handled separately.
        for (char c : new char[] {'<', '>', '~', '(', ')'}) {
            for (int n : new int[] {1, 2, 3}) {
                for (String o : new String[] {"~=", "<=", ">="}) {
                    testSpecialCharacterInAttribute(c, n, o, false);
                }
            }
        }

        // Test some special characters
        // _ has charactercode 95, so it is inbetween 'A' and 'z'
        for (char c : new char[] {'_', '1', '!', '*',}) {
            for (int n : new int[] {1,2,3}) {
                for (String o : new String[] {"~=", "<=", ">="}) {
                    testSpecialCharacterInAttribute(c, n, o, true);
                }
            }
        }
    }