[
https://jira.jboss.org/browse/ISPN-705?page=com.atlassian.jira.plugin.sys...
]
Vladimir Blagojevic commented on ISPN-705:
------------------------------------------
I coded this part and I thought it was an accident waiting to happen. However, I could not
use expression "urn:infinispan:config:" + Version.getMajorVersion() because
compiler forces us to use constant expressions [1] here.
If you agree we can add another public static field in Version.java:
public static final String MAJOR_VERSION = "4.2";
Maybe we have similar use cases somewhere else as well!
[1]
http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.28
NamespaceFilter.ISPN_NS does not match published schema
-------------------------------------------------------
Key: ISPN-705
URL:
https://jira.jboss.org/browse/ISPN-705
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 4.2.0.ALPHA3
Reporter: Paul Ferraro
Assignee: Galder ZamarreƱo
Fix For: 4.2.0.ALPHA4
Attachments: patch.txt
NamespaceFilter.ISPN_NS constant defines the namespace expected by JAXB parsing.
The current value, "urn:infinispan:config:4.1" does not match the namespace
defined in the schema itself published at:
http://infinispan.org/schemas/infinispan-config-4.2.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira