cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Goldfarb (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1647) Non-String Placeholders Fail to Validate
Date Thu, 12 Jun 2008 18:38:45 GMT
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.


Mime
View raw message