[
https://issues.apache.org/jira/browse/CAMEL-6251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6251.
--------------------------------
Resolution: Invalid
Assignee: Claus Ibsen
> Not possible to use propertyplaceholders for camel dataformat pretty-print
> attribute
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-6251
> URL: https://issues.apache.org/jira/browse/CAMEL-6251
> Project: Camel
> Issue Type: Improvement
> Components: camel-jaxb
> Affects Versions: 2.10.2
> Reporter: David J. M. Karlsen
> Assignee: Claus Ibsen
>
> It's not possible to use propertyplaceholders for the prettyPrint attribute
> for the jaxb configuration when using spring DSL.
> {noformat}
> <marshal>
> <jaxb prettyPrint="${jaxb.prettyPrint}"
> contextPath="my.contextpath"
> partClass="my.Document"
> partNamespace="{my}Document" />
> </marshal>
> {noformat}
> It will print:
> Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1:
> '${jaxb.prettyPrint}' is not a valid value for 'boolean'.
--
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