Stanislav Ivanov created ISPN-4069:
--------------------------------------
Summary: maxKeysInMemory in infinispan config schema probably wrong
Key: ISPN-4069
URL:
https://issues.jboss.org/browse/ISPN-4069
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 6.0.0.Final
Environment: jdk 1.7_45
Infinispan 6.0.0.FInal
Reporter: Stanislav Ivanov
Assignee: Dan Berindei
Probably there is a bug on 1684 line of infinispan-config-6.0.xsd:
{{<xs:attribute name="maxKeysInMemory" type="xs:int"
default="-1">}}
When I use this attribute in configuration xml file, I get this:
{code:title=Exception}
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[9,13]
Message: Unexpected attribute 'maxKeysInMemory' encountered
{code}
Actually, {{maxKeysInMemory}} seems very similar to {{maxEntries}}, which was mentioned in
user guide and which is missing in the schema.
If I change {{maxKeysInMemory}} to {{maxEntries}}, everything works fine.
Were you planning to change the schema?
Probably you forgot to update the code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira