SAXParseException when starting blueprint: cvc-complex-type.3.2.2: Attribute 'update-strategy' is not allowed to appear in element 'cm:property-placeholder'.
Issue
When starting a blueprint that uses properties
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<cm:property-placeholder id="props" persistent-id="test" update-strategy="reload" />
...
The following exception appears when starting the blueprint
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'update-strategy' is not allowed to appear in element 'cm:property-placeholder'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[?:?]
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) ~[?:?]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[?:?]
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[?:?]
Environment
- Fuse 7.10.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.