When using timport in vortex with noid in the schema, a field with the name "id" is still required to have a type of "counter". Is there a way to remove this restriction?
I'm sorry I didn't give you enough information. This occurs with XML input. The following script will get this error.
<!-- 015 /dev/scott/schematest:31: Field respecified with different attributes: "id" -->
<!-- 015 /dev/scott/schematest:31: Schema line 4: "field" failed -->
Notice in the schema I tried to make id a varchar. If you change the type to counter then the script works.
<script language=vortex>
<a name=main public>
<capture>
<results>
<result>
<id>4a8aa2571c</id>
<value>Test value 2009-08-18 08:45:11</value>
</result>
<result>
<id>4a8aa25723</id>
<value>Test value 2009-08-18 08:45:11</value>
</result>
<result>
<id>4a8aa2572a</id>
<value>Test value 2009-08-18 08:45:11</value>
</result>
</results>
</capture>
<$xml = $ret>
<capture>
trimspace
xml nohtml noid
field id varchar results/result/id ''
field value varchar results/result/value ''
</capture>
<$schema = $ret>
<timport $schema $xml></timport>
Count: $loop<br>
</a>