<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TextAdapter - WhiteSpace Attribute Separator in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493879#M2163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks RJ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll take a look at the Javascript pre-processing option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 09:12:45 GMT</pubDate>
    <dc:creator>DavidMartin</dc:creator>
    <dc:date>2014-04-16T09:12:45Z</dc:date>
    <item>
      <title>TextAdapter - WhiteSpace Attribute Separator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493877#M2161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to specify that the Attribute Separator in the TextAdapter should be "any amount of spaces"? I cannot use the predefined character class for whitespace, as it includes new lines, which represent message separators. Is there a way to inject RegEx sequences here??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493877#M2161</guid>
      <dc:creator>DavidMartin</dc:creator>
      <dc:date>2014-04-15T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: TextAdapter - WhiteSpace Attribute Separator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493878#M2162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello David -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but the text adapter does not support events which have a variable amount of whitespace (or other characters) between attribute values. You can specify a single character or a multi-character sequence using HTML encoding (&amp;amp;#32 for an ASCII space for example), but the attribute separator cannot be set to a RegEx pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you knew that attributes were delimited by exactly three ASCII spaces you could specify &amp;amp;#32&amp;amp;#32&amp;amp;#32 as the attribute separator. Syntax should actually be unicode format: \u003B (semi-colon) \u0020 (ASCII space) ... see illustration below. Also, multi-character delimiters do not seem to be working in 10.2.2 ... a bug has been entered to address this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33172[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might be able to design a GeoEvent Service, using the support for Java String functions available in the 10.2.2 release, to reduce the variable delimiters between event attributes to a single, standard delimiter ... but I think a better approach would be to explore a JavaScript solution to pre-process your incoming events, replace the variable delimitation with a single delimiter, and then write the event data to a TCP socket or WebSocket for a GeoEvent Service to ingest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 21:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493878#M2162</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-04-15T21:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: TextAdapter - WhiteSpace Attribute Separator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493879#M2163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks RJ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll take a look at the Javascript pre-processing option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493879#M2163</guid>
      <dc:creator>DavidMartin</dc:creator>
      <dc:date>2014-04-16T09:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: TextAdapter - WhiteSpace Attribute Separator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493880#M2164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note there is now an extended version of the text adaptor that will cope with white space separators (and more) on Github:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/adapters/regexText-adapter" title="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/adapters/regexText-adapter"&gt;solutions-geoevent-java/solutions-geoevent/adapters/regexText-adapter at master · Esri/solutions-geoevent-java · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 16:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/textadapter-whitespace-attribute-separator/m-p/493880#M2164</guid>
      <dc:creator>DavidMartin</dc:creator>
      <dc:date>2014-10-02T16:51:20Z</dc:date>
    </item>
  </channel>
</rss>

