You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/06/12 20:46:45 UTC

[jira] Commented: (CXF-1647) Non-String Placeholders Fail to Validate

    [ https://issues.apache.org/jira/browse/CXF-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604613#action_12604613 ] 

Daniel Kulp commented on CXF-1647:
----------------------------------


See my response to:
http://www.nabble.com/Property-Placeholder-configuration-for-jms%3Adestinations-to17504725.html#a17504725


The issue is a bit different than Mule's as we're using JAXB to build the beans, not spring.   In anycase, the workaround that is committed to trunk may work.  




> Non-String Placeholders Fail to Validate
> ----------------------------------------
>
>                 Key: CXF-1647
>                 URL: https://issues.apache.org/jira/browse/CXF-1647
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.1
>            Reporter: Eugene Goldfarb
>            Priority: Minor
>
> Using the schema-based spring bean configuration doesn't work with property placeholders, for example:
> 	<http:conduit name="*.http-conduit">
> 		<http:client ConnectionTimeout="${httpTimeout}"
> 			ReceiveTimeout="${httpTimeout}" MaxRetransmits="1"
> 			AutoRedirect="true" Connection="Keep-Alive" />
> 	</http:conduit>
> The timeout properties are declared as <xsd:integer> in the XSD, making the configuration fail.
> Error:
>  org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '${httpTimeout}' is not a valid value for 'integer'.
> The MULE project had this issue as well, they handled it by introducing a special replaceable types in their schema.
> See http://mule.mulesource.org/jira/browse/MULE-1887

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.