tsheikh
Developer
Posts: 12
Joined: Thu Jul 28, 2016 12:19 pm

SIML Adapters

Wed Aug 03, 2016 6:20 pm

Hi,

I am new to SIML and I am having issue with SIML Adapter tags.

When I type

XML Code

<x:App></x:App>
for example, and try to save, studio suggests that I am using undeclared prefix x and doesn't save my siml file.

Please help me identify what is wrong with the following piece of code:

SIML Code

<Model>
      <Pattern>OPEN *</Pattern>
      <Response>
        <x:App><Match /></x:App>
      </Response>
    </Model>


Thanks in advance.

tsheikh
Developer
Posts: 12
Joined: Thu Jul 28, 2016 12:19 pm

Re: SIML Adapters

Wed Aug 03, 2016 7:22 pm

Ok, just got it fixed.

It required adding x namespace in Siml root tag i.e.

SIML Code

<siml xmlns:x="http://syn.co.in/2014/siml#external"></siml>

JeffersonStack
Pro
Posts: 44
Joined: Fri Apr 05, 2013 1:20 am

Re: SIML Adapters

Wed Aug 03, 2016 7:53 pm

Common mistake mate :D happens to us all.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests