From 34a9703c7a17a0d7d2cdeefdc8640e42b96208f6 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Wed, 19 Oct 2011 15:03:31 -0400 Subject: [PATCH 1/2] INT-2189 - Made expression attribute required Made expression attribute required for xpath-expression element --- .../xml/config/spring-integration-xml-2.1.xsd | 114 +++++++++--------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd index 39981b23eb..7c5d984184 100644 --- a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd +++ b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd @@ -262,7 +262,7 @@ Specify the default boolean value for whether to overwrite existing header values. This will only take effect for sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not provided, then the specified header values will NOT - overwrite any existing ones with the same header names. + overwrite any existing ones with the same header names. @@ -274,7 +274,7 @@ Specify whether null values, such as might be returned from an expression evaluation, should be skipped. The default value is true. Set this to false if a null value should trigger removal of - the corresponding header instead. + the corresponding header instead. @@ -355,27 +355,27 @@ - + - + - Reference to the XPathExpression instance to be - evaluated against the input Message's payload. Either - this or 'xpath-expression' must be provided, but not + Reference to the XPathExpression instance to be + evaluated against the input Message's payload. Either + this or 'xpath-expression' must be provided, but not both. @@ -384,7 +384,7 @@ - + @@ -398,21 +398,21 @@ + + ]]> - + @@ -436,7 +436,7 @@ - + @@ -445,23 +445,23 @@ + + ]]> - + - + @@ -574,19 +574,19 @@ - representing channel names. Typically such list - will contain a single channel name. However, based - on the result of an XPath Expression the XPath router - can also take on the characteristics of the - Recipient List Router if the XPath Expression - returns more then one value, thus resulting in - the List containing more then one channel - name. - - In that case Message will be sent to all channels + + Internally XPath expressions will be evaluated as + NODESET type and converted to a List + representing channel names. Typically such list + will contain a single channel name. However, based + on the result of an XPath Expression the XPath router + can also take on the characteristics of the + Recipient List Router if the XPath Expression + returns more then one value, thus resulting in + the List containing more then one channel + name. + + In that case Message will be sent to all channels in the list. ]]> @@ -595,7 +595,7 @@ - + @@ -637,7 +637,7 @@ - + @@ -670,7 +670,7 @@ - + @@ -716,7 +716,7 @@ - + @@ -743,7 +743,7 @@ - + From 9819eb3b07cee9300e9fb97585b9eef02d668265 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 20 Oct 2011 10:56:44 -0400 Subject: [PATCH 2/2] polishing --- .../xml/config/spring-integration-xml-2.1.xsd | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd index 7c5d984184..b15a786886 100644 --- a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd +++ b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd @@ -247,7 +247,7 @@ Defines a Header Enricher Message Transformer that evaluates XPath expressions against the - message payload and inserts the result of the evaluation into a messsage header. + message payload and inserts the result of the evaluation into a message header. @@ -357,13 +357,13 @@ @@ -398,12 +398,12 @@ - @@ -577,16 +576,16 @@ Internally XPath expressions will be evaluated as NODESET type and converted to a List - representing channel names. Typically such list + representing channel names. Typically such a list will contain a single channel name. However, based on the result of an XPath Expression the XPath router can also take on the characteristics of the Recipient List Router if the XPath Expression - returns more then one value, thus resulting in - the List containing more then one channel + returns more than one value, thus resulting in + the List containing more than one channel name. - In that case Message will be sent to all channels + In that case the Message will be sent to all channels in the list. ]]>