File Cleanup - ws to xmpp

This commit is contained in:
Gary Russell
2016-06-04 12:50:39 -04:00
parent dd1d2ecab4
commit 90e5457260
18 changed files with 54 additions and 42 deletions

View File

@@ -136,7 +136,7 @@ public class DefaultXmlPayloadConverterTests {
public void testConvertSourceToDocument() throws Exception {
Node element = testDocument.getElementsByTagName("test").item(0);
DOMSource domSource = new DOMSource(element);
Document doc = converter.convertToDocument(element);
Document doc = converter.convertToDocument(domSource);
NodeList childNodes = doc.getChildNodes();
assertEquals(1, childNodes.getLength());
assertEquals("test", childNodes.item(0).getNodeName());

View File

@@ -27,4 +27,4 @@ xpath-transformer-poller=<int:chain input-channel="input">\
<int-xml:xpath-transformer xpath-expression="/person/@name">\
<int:poller id="poller" fixed-rate="5000" max-messages-per-poll="10" />\
</int-xml:xpath-transformer>\
</int:chain>
</int:chain>

View File

@@ -4,4 +4,4 @@
<xsl:template match="order">
<bob>test</bob>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@@ -3,4 +3,4 @@
<xsl:template match="order">
hello world text
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@@ -6,14 +6,14 @@
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="order">
<bob>test</bob>
<sampleElementA>
<sampleElementA>
<xsl:value-of select="$testParam" />
</sampleElementA>
<sampleElementB>
<sampleElementB>
<xsl:value-of select="$testParam2" />
</sampleElementB>
<sampleElementC>
<sampleElementC>
<xsl:value-of select="$testParam3" />
</sampleElementC>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>