Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to use Spring property placeholder for cache-deserialized-values map config #8487

dsukhoroslov opened this issue Jun 30, 2016 · 2 comments


Copy link

@dsukhoroslov dsukhoroslov commented Jun 30, 2016

Currently the system throws exception if I try to use property placeholder for this attribute.

the attribute specified as:

<xs:attribute name="cache-deserialized-values" use="optional" type="cache-deserialized"/>

    <xs:simpleType name="cache-deserialized">
        <xs:restriction base="non-space-string">
            <xs:enumeration value="NEVER"/>
            <xs:enumeration value="ALWAYS"/>
            <xs:enumeration value="INDEX-ONLY"/>

it'd be better to specify the type as

    <xs:simpleType name="cache-deserialized-type">
        <xs:union memberTypes="cache-deserialized non-space-string"/>
Copy link
Contributor Author

@dsukhoroslov dsukhoroslov commented Feb 2, 2017

with the new parameterizedValueType introduced in hazelcast-string-3.8.xsd the attribute definition should be:

<xs:attribute name="cache-deserialized-values" use="optional" type="parameterized-cache-deserialized"/>

<xs:simpleType name="parameterized-cache-deserialized">
    <xs:union memberTypes="cache-deserialized parameterizedValueType"/>

any chance to add it in 3.8?

Copy link

@emrahkocaman emrahkocaman commented Aug 22, 2017

Thanks for reporting @dsukhoroslov . It didn't make it to 3.8 unfortunately, but will be available with 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

5 participants
You can’t perform that action at this time.